@linkedapi/linkedin-cli 1.2.20 → 1.2.22

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.
@@ -805,6 +805,72 @@
805
805
  "search.js"
806
806
  ]
807
807
  },
808
+ "feed:retrieve": {
809
+ "aliases": [],
810
+ "args": {},
811
+ "description": "Retrieve posts from your personalized LinkedIn home feed",
812
+ "examples": [
813
+ "<%= config.bin %> feed retrieve",
814
+ "<%= config.bin %> feed retrieve --limit 50 --json"
815
+ ],
816
+ "flags": {
817
+ "json": {
818
+ "description": "Output as JSON",
819
+ "name": "json",
820
+ "allowNo": false,
821
+ "type": "boolean"
822
+ },
823
+ "fields": {
824
+ "description": "Comma-separated list of fields to include in output",
825
+ "name": "fields",
826
+ "hasDynamicHelp": false,
827
+ "multiple": false,
828
+ "type": "option"
829
+ },
830
+ "quiet": {
831
+ "char": "q",
832
+ "description": "Suppress progress output on stderr",
833
+ "name": "quiet",
834
+ "allowNo": false,
835
+ "type": "boolean"
836
+ },
837
+ "no-color": {
838
+ "description": "Disable colored output",
839
+ "name": "no-color",
840
+ "allowNo": false,
841
+ "type": "boolean"
842
+ },
843
+ "account": {
844
+ "description": "Account name to use (when multiple accounts are configured)",
845
+ "name": "account",
846
+ "hasDynamicHelp": false,
847
+ "multiple": false,
848
+ "type": "option"
849
+ },
850
+ "limit": {
851
+ "description": "Max posts to retrieve",
852
+ "name": "limit",
853
+ "hasDynamicHelp": false,
854
+ "multiple": false,
855
+ "type": "option"
856
+ }
857
+ },
858
+ "hasDynamicHelp": false,
859
+ "hiddenAliases": [],
860
+ "id": "feed:retrieve",
861
+ "pluginAlias": "@linkedapi/linkedin-cli",
862
+ "pluginName": "@linkedapi/linkedin-cli",
863
+ "pluginType": "core",
864
+ "strict": true,
865
+ "enableJsonFlag": false,
866
+ "isESM": false,
867
+ "relativePath": [
868
+ "dist",
869
+ "commands",
870
+ "feed",
871
+ "retrieve.js"
872
+ ]
873
+ },
808
874
  "connection:accept": {
809
875
  "aliases": [],
810
876
  "args": {
@@ -1479,79 +1545,14 @@
1479
1545
  "withdraw.js"
1480
1546
  ]
1481
1547
  },
1482
- "feed:retrieve": {
1483
- "aliases": [],
1484
- "args": {},
1485
- "description": "Retrieve posts from your personalized LinkedIn home feed",
1486
- "examples": [
1487
- "<%= config.bin %> feed retrieve",
1488
- "<%= config.bin %> feed retrieve --limit 50 --json"
1489
- ],
1490
- "flags": {
1491
- "json": {
1492
- "description": "Output as JSON",
1493
- "name": "json",
1494
- "allowNo": false,
1495
- "type": "boolean"
1496
- },
1497
- "fields": {
1498
- "description": "Comma-separated list of fields to include in output",
1499
- "name": "fields",
1500
- "hasDynamicHelp": false,
1501
- "multiple": false,
1502
- "type": "option"
1503
- },
1504
- "quiet": {
1505
- "char": "q",
1506
- "description": "Suppress progress output on stderr",
1507
- "name": "quiet",
1508
- "allowNo": false,
1509
- "type": "boolean"
1510
- },
1511
- "no-color": {
1512
- "description": "Disable colored output",
1513
- "name": "no-color",
1514
- "allowNo": false,
1515
- "type": "boolean"
1516
- },
1517
- "account": {
1518
- "description": "Account name to use (when multiple accounts are configured)",
1519
- "name": "account",
1520
- "hasDynamicHelp": false,
1521
- "multiple": false,
1522
- "type": "option"
1523
- },
1524
- "limit": {
1525
- "description": "Max posts to retrieve",
1526
- "name": "limit",
1527
- "hasDynamicHelp": false,
1528
- "multiple": false,
1529
- "type": "option"
1530
- }
1531
- },
1532
- "hasDynamicHelp": false,
1533
- "hiddenAliases": [],
1534
- "id": "feed:retrieve",
1535
- "pluginAlias": "@linkedapi/linkedin-cli",
1536
- "pluginName": "@linkedapi/linkedin-cli",
1537
- "pluginType": "core",
1538
- "strict": true,
1539
- "enableJsonFlag": false,
1540
- "isESM": false,
1541
- "relativePath": [
1542
- "dist",
1543
- "commands",
1544
- "feed",
1545
- "retrieve.js"
1546
- ]
1547
- },
1548
1548
  "inbox:get": {
1549
1549
  "aliases": [],
1550
1550
  "args": {},
1551
- "description": "Get messages from the monitored inbox across all conversations",
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,19 +2255,13 @@
2247
2255
  "send.js"
2248
2256
  ]
2249
2257
  },
2250
- "person:fetch": {
2258
+ "network:events": {
2251
2259
  "aliases": [],
2252
- "args": {
2253
- "url": {
2254
- "description": "LinkedIn profile URL",
2255
- "name": "url",
2256
- "required": true
2257
- }
2258
- },
2259
- "description": "Fetch a LinkedIn person profile",
2260
+ "args": {},
2261
+ "description": "Get connection events from the monitored network",
2260
2262
  "examples": [
2261
- "<%= config.bin %> person fetch https://www.linkedin.com/in/john-doe",
2262
- "<%= config.bin %> person fetch https://www.linkedin.com/in/john-doe --experience --education --json"
2263
+ "<%= config.bin %> network events",
2264
+ "<%= config.bin %> network events --since 2024-01-15T10:30:00Z --type connectionAccepted"
2263
2265
  ],
2264
2266
  "flags": {
2265
2267
  "json": {
@@ -2295,94 +2297,29 @@
2295
2297
  "multiple": false,
2296
2298
  "type": "option"
2297
2299
  },
2298
- "experience": {
2299
- "description": "Include work experience",
2300
- "name": "experience",
2301
- "allowNo": false,
2302
- "type": "boolean"
2303
- },
2304
- "education": {
2305
- "description": "Include education history",
2306
- "name": "education",
2307
- "allowNo": false,
2308
- "type": "boolean"
2309
- },
2310
- "skills": {
2311
- "description": "Include skills",
2312
- "name": "skills",
2313
- "allowNo": false,
2314
- "type": "boolean"
2315
- },
2316
- "languages": {
2317
- "description": "Include languages",
2318
- "name": "languages",
2319
- "allowNo": false,
2320
- "type": "boolean"
2321
- },
2322
- "posts": {
2323
- "description": "Include posts",
2324
- "name": "posts",
2325
- "allowNo": false,
2326
- "type": "boolean"
2327
- },
2328
- "comments": {
2329
- "description": "Include comments",
2330
- "name": "comments",
2331
- "allowNo": false,
2332
- "type": "boolean"
2333
- },
2334
- "reactions": {
2335
- "description": "Include reactions",
2336
- "name": "reactions",
2337
- "allowNo": false,
2338
- "type": "boolean"
2339
- },
2340
- "posts-limit": {
2341
- "description": "Max posts to retrieve",
2342
- "name": "posts-limit",
2343
- "hasDynamicHelp": false,
2344
- "multiple": false,
2345
- "type": "option"
2346
- },
2347
- "posts-since": {
2348
- "description": "Retrieve posts since ISO timestamp",
2349
- "name": "posts-since",
2350
- "hasDynamicHelp": false,
2351
- "multiple": false,
2352
- "type": "option"
2353
- },
2354
- "comments-limit": {
2355
- "description": "Max comments to retrieve",
2356
- "name": "comments-limit",
2357
- "hasDynamicHelp": false,
2358
- "multiple": false,
2359
- "type": "option"
2360
- },
2361
- "comments-since": {
2362
- "description": "Retrieve comments since ISO timestamp",
2363
- "name": "comments-since",
2364
- "hasDynamicHelp": false,
2365
- "multiple": false,
2366
- "type": "option"
2367
- },
2368
- "reactions-limit": {
2369
- "description": "Max reactions to retrieve",
2370
- "name": "reactions-limit",
2300
+ "since": {
2301
+ "description": "Retrieve events after ISO timestamp",
2302
+ "name": "since",
2371
2303
  "hasDynamicHelp": false,
2372
2304
  "multiple": false,
2373
2305
  "type": "option"
2374
2306
  },
2375
- "reactions-since": {
2376
- "description": "Retrieve reactions since ISO timestamp",
2377
- "name": "reactions-since",
2307
+ "type": {
2308
+ "description": "Filter by event type",
2309
+ "name": "type",
2378
2310
  "hasDynamicHelp": false,
2379
2311
  "multiple": false,
2312
+ "options": [
2313
+ "connectionRequestReceived",
2314
+ "connectionAccepted",
2315
+ "connectionAdded"
2316
+ ],
2380
2317
  "type": "option"
2381
2318
  }
2382
2319
  },
2383
2320
  "hasDynamicHelp": false,
2384
2321
  "hiddenAliases": [],
2385
- "id": "person:fetch",
2322
+ "id": "network:events",
2386
2323
  "pluginAlias": "@linkedapi/linkedin-cli",
2387
2324
  "pluginName": "@linkedapi/linkedin-cli",
2388
2325
  "pluginType": "core",
@@ -2392,18 +2329,16 @@
2392
2329
  "relativePath": [
2393
2330
  "dist",
2394
2331
  "commands",
2395
- "person",
2396
- "fetch.js"
2332
+ "network",
2333
+ "events.js"
2397
2334
  ]
2398
2335
  },
2399
- "person:search": {
2336
+ "network:sync": {
2400
2337
  "aliases": [],
2401
2338
  "args": {},
2402
- "description": "Search for people on LinkedIn",
2339
+ "description": "Enable background network monitoring so connection events can be read with \"network events\"",
2403
2340
  "examples": [
2404
- "<%= config.bin %> person search --term \"software engineer\" --locations \"San Francisco\"",
2405
- "<%= config.bin %> person search --current-companies Google,Meta --json",
2406
- "<%= config.bin %> person search --term \"founder\" --connection-degrees 2nd,3rd+ --json"
2341
+ "<%= config.bin %> network sync"
2407
2342
  ],
2408
2343
  "flags": {
2409
2344
  "json": {
@@ -2438,88 +2373,97 @@
2438
2373
  "hasDynamicHelp": false,
2439
2374
  "multiple": false,
2440
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
+ },
2394
+ "person:endorse": {
2395
+ "aliases": [],
2396
+ "args": {
2397
+ "url": {
2398
+ "description": "LinkedIn profile URL of your 1st-degree connection",
2399
+ "name": "url",
2400
+ "required": true
2401
+ }
2402
+ },
2403
+ "description": "Endorse skills of a 1st-degree connection, using names in the profile owner's language. Already-endorsed skills count as success. Each success counts toward the stEndorsements limit.",
2404
+ "examples": [
2405
+ "<%= config.bin %> person endorse https://www.linkedin.com/in/john-doe --skill \"Project Management\"",
2406
+ "<%= config.bin %> person endorse https://www.linkedin.com/in/john-doe --pattern manage --pattern \"^scrum$\"",
2407
+ "<%= config.bin %> person endorse https://www.linkedin.com/in/john-doe --all"
2408
+ ],
2409
+ "flags": {
2410
+ "json": {
2411
+ "description": "Output as JSON",
2412
+ "name": "json",
2413
+ "allowNo": false,
2414
+ "type": "boolean"
2441
2415
  },
2442
- "term": {
2443
- "description": "Search keyword or phrase",
2444
- "name": "term",
2445
- "hasDynamicHelp": false,
2446
- "multiple": false,
2447
- "type": "option"
2448
- },
2449
- "limit": {
2450
- "description": "Max results to return",
2451
- "name": "limit",
2452
- "hasDynamicHelp": false,
2453
- "multiple": false,
2454
- "type": "option"
2455
- },
2456
- "first-name": {
2457
- "description": "Filter by first name",
2458
- "name": "first-name",
2459
- "hasDynamicHelp": false,
2460
- "multiple": false,
2461
- "type": "option"
2462
- },
2463
- "last-name": {
2464
- "description": "Filter by last name",
2465
- "name": "last-name",
2466
- "hasDynamicHelp": false,
2467
- "multiple": false,
2468
- "type": "option"
2469
- },
2470
- "position": {
2471
- "description": "Filter by job position",
2472
- "name": "position",
2416
+ "fields": {
2417
+ "description": "Comma-separated list of fields to include in output",
2418
+ "name": "fields",
2473
2419
  "hasDynamicHelp": false,
2474
2420
  "multiple": false,
2475
2421
  "type": "option"
2476
2422
  },
2477
- "locations": {
2478
- "description": "Filter by locations (comma-separated)",
2479
- "name": "locations",
2480
- "hasDynamicHelp": false,
2481
- "multiple": false,
2482
- "type": "option"
2423
+ "quiet": {
2424
+ "char": "q",
2425
+ "description": "Suppress progress output on stderr",
2426
+ "name": "quiet",
2427
+ "allowNo": false,
2428
+ "type": "boolean"
2483
2429
  },
2484
- "industries": {
2485
- "description": "Filter by industries (comma-separated)",
2486
- "name": "industries",
2487
- "hasDynamicHelp": false,
2488
- "multiple": false,
2489
- "type": "option"
2430
+ "no-color": {
2431
+ "description": "Disable colored output",
2432
+ "name": "no-color",
2433
+ "allowNo": false,
2434
+ "type": "boolean"
2490
2435
  },
2491
- "current-companies": {
2492
- "description": "Filter by current companies (comma-separated)",
2493
- "name": "current-companies",
2436
+ "account": {
2437
+ "description": "Account name to use (when multiple accounts are configured)",
2438
+ "name": "account",
2494
2439
  "hasDynamicHelp": false,
2495
2440
  "multiple": false,
2496
2441
  "type": "option"
2497
2442
  },
2498
- "previous-companies": {
2499
- "description": "Filter by previous companies (comma-separated)",
2500
- "name": "previous-companies",
2443
+ "skill": {
2444
+ "description": "Exact skill name (case and extra spaces are ignored)",
2445
+ "name": "skill",
2501
2446
  "hasDynamicHelp": false,
2502
2447
  "multiple": false,
2503
2448
  "type": "option"
2504
2449
  },
2505
- "schools": {
2506
- "description": "Filter by schools (comma-separated)",
2507
- "name": "schools",
2450
+ "pattern": {
2451
+ "description": "RE2 pattern, case-insensitive, matching anywhere; use ^…$ for a whole name (repeatable, 1-20 patterns of 1-200 characters)",
2452
+ "name": "pattern",
2508
2453
  "hasDynamicHelp": false,
2509
- "multiple": false,
2454
+ "multiple": true,
2510
2455
  "type": "option"
2511
2456
  },
2512
- "connection-degrees": {
2513
- "description": "Filter by your connection degree (comma-separated: 1st,2nd,3rd+)",
2514
- "name": "connection-degrees",
2515
- "hasDynamicHelp": false,
2516
- "multiple": false,
2517
- "type": "option"
2457
+ "all": {
2458
+ "description": "Endorse all skills",
2459
+ "name": "all",
2460
+ "allowNo": false,
2461
+ "type": "boolean"
2518
2462
  }
2519
2463
  },
2520
2464
  "hasDynamicHelp": false,
2521
2465
  "hiddenAliases": [],
2522
- "id": "person:search",
2466
+ "id": "person:endorse",
2523
2467
  "pluginAlias": "@linkedapi/linkedin-cli",
2524
2468
  "pluginName": "@linkedapi/linkedin-cli",
2525
2469
  "pluginType": "core",
@@ -2530,16 +2474,22 @@
2530
2474
  "dist",
2531
2475
  "commands",
2532
2476
  "person",
2533
- "search.js"
2477
+ "endorse.js"
2534
2478
  ]
2535
2479
  },
2536
- "network:events": {
2480
+ "person:fetch": {
2537
2481
  "aliases": [],
2538
- "args": {},
2539
- "description": "Get connection events from the monitored network",
2482
+ "args": {
2483
+ "url": {
2484
+ "description": "LinkedIn profile URL",
2485
+ "name": "url",
2486
+ "required": true
2487
+ }
2488
+ },
2489
+ "description": "Fetch a LinkedIn person profile",
2540
2490
  "examples": [
2541
- "<%= config.bin %> network events",
2542
- "<%= config.bin %> network events --since 2024-01-15T10:30:00Z --type connectionAccepted"
2491
+ "<%= config.bin %> person fetch https://www.linkedin.com/in/john-doe",
2492
+ "<%= config.bin %> person fetch https://www.linkedin.com/in/john-doe --experience --education --json"
2543
2493
  ],
2544
2494
  "flags": {
2545
2495
  "json": {
@@ -2575,29 +2525,94 @@
2575
2525
  "multiple": false,
2576
2526
  "type": "option"
2577
2527
  },
2578
- "since": {
2579
- "description": "Retrieve events after ISO timestamp",
2580
- "name": "since",
2528
+ "experience": {
2529
+ "description": "Include work experience",
2530
+ "name": "experience",
2531
+ "allowNo": false,
2532
+ "type": "boolean"
2533
+ },
2534
+ "education": {
2535
+ "description": "Include education history",
2536
+ "name": "education",
2537
+ "allowNo": false,
2538
+ "type": "boolean"
2539
+ },
2540
+ "skills": {
2541
+ "description": "Include skills",
2542
+ "name": "skills",
2543
+ "allowNo": false,
2544
+ "type": "boolean"
2545
+ },
2546
+ "languages": {
2547
+ "description": "Include languages",
2548
+ "name": "languages",
2549
+ "allowNo": false,
2550
+ "type": "boolean"
2551
+ },
2552
+ "posts": {
2553
+ "description": "Include posts",
2554
+ "name": "posts",
2555
+ "allowNo": false,
2556
+ "type": "boolean"
2557
+ },
2558
+ "comments": {
2559
+ "description": "Include comments",
2560
+ "name": "comments",
2561
+ "allowNo": false,
2562
+ "type": "boolean"
2563
+ },
2564
+ "reactions": {
2565
+ "description": "Include reactions",
2566
+ "name": "reactions",
2567
+ "allowNo": false,
2568
+ "type": "boolean"
2569
+ },
2570
+ "posts-limit": {
2571
+ "description": "Max posts to retrieve",
2572
+ "name": "posts-limit",
2581
2573
  "hasDynamicHelp": false,
2582
2574
  "multiple": false,
2583
2575
  "type": "option"
2584
2576
  },
2585
- "type": {
2586
- "description": "Filter by event type",
2587
- "name": "type",
2577
+ "posts-since": {
2578
+ "description": "Retrieve posts since ISO timestamp",
2579
+ "name": "posts-since",
2580
+ "hasDynamicHelp": false,
2581
+ "multiple": false,
2582
+ "type": "option"
2583
+ },
2584
+ "comments-limit": {
2585
+ "description": "Max comments to retrieve",
2586
+ "name": "comments-limit",
2587
+ "hasDynamicHelp": false,
2588
+ "multiple": false,
2589
+ "type": "option"
2590
+ },
2591
+ "comments-since": {
2592
+ "description": "Retrieve comments since ISO timestamp",
2593
+ "name": "comments-since",
2594
+ "hasDynamicHelp": false,
2595
+ "multiple": false,
2596
+ "type": "option"
2597
+ },
2598
+ "reactions-limit": {
2599
+ "description": "Max reactions to retrieve",
2600
+ "name": "reactions-limit",
2601
+ "hasDynamicHelp": false,
2602
+ "multiple": false,
2603
+ "type": "option"
2604
+ },
2605
+ "reactions-since": {
2606
+ "description": "Retrieve reactions since ISO timestamp",
2607
+ "name": "reactions-since",
2588
2608
  "hasDynamicHelp": false,
2589
2609
  "multiple": false,
2590
- "options": [
2591
- "connectionRequestReceived",
2592
- "connectionAccepted",
2593
- "connectionAdded"
2594
- ],
2595
2610
  "type": "option"
2596
2611
  }
2597
2612
  },
2598
2613
  "hasDynamicHelp": false,
2599
2614
  "hiddenAliases": [],
2600
- "id": "network:events",
2615
+ "id": "person:fetch",
2601
2616
  "pluginAlias": "@linkedapi/linkedin-cli",
2602
2617
  "pluginName": "@linkedapi/linkedin-cli",
2603
2618
  "pluginType": "core",
@@ -2607,16 +2622,18 @@
2607
2622
  "relativePath": [
2608
2623
  "dist",
2609
2624
  "commands",
2610
- "network",
2611
- "events.js"
2625
+ "person",
2626
+ "fetch.js"
2612
2627
  ]
2613
2628
  },
2614
- "network:sync": {
2629
+ "person:search": {
2615
2630
  "aliases": [],
2616
2631
  "args": {},
2617
- "description": "Enable background network monitoring so connection events can be read with \"network events\"",
2632
+ "description": "Search for people on LinkedIn",
2618
2633
  "examples": [
2619
- "<%= config.bin %> network sync"
2634
+ "<%= config.bin %> person search --term \"software engineer\" --locations \"San Francisco\"",
2635
+ "<%= config.bin %> person search --current-companies Google,Meta --json",
2636
+ "<%= config.bin %> person search --term \"founder\" --connection-degrees 2nd,3rd+ --json"
2620
2637
  ],
2621
2638
  "flags": {
2622
2639
  "json": {
@@ -2651,11 +2668,88 @@
2651
2668
  "hasDynamicHelp": false,
2652
2669
  "multiple": false,
2653
2670
  "type": "option"
2671
+ },
2672
+ "term": {
2673
+ "description": "Search keyword or phrase",
2674
+ "name": "term",
2675
+ "hasDynamicHelp": false,
2676
+ "multiple": false,
2677
+ "type": "option"
2678
+ },
2679
+ "limit": {
2680
+ "description": "Max results to return",
2681
+ "name": "limit",
2682
+ "hasDynamicHelp": false,
2683
+ "multiple": false,
2684
+ "type": "option"
2685
+ },
2686
+ "first-name": {
2687
+ "description": "Filter by first name",
2688
+ "name": "first-name",
2689
+ "hasDynamicHelp": false,
2690
+ "multiple": false,
2691
+ "type": "option"
2692
+ },
2693
+ "last-name": {
2694
+ "description": "Filter by last name",
2695
+ "name": "last-name",
2696
+ "hasDynamicHelp": false,
2697
+ "multiple": false,
2698
+ "type": "option"
2699
+ },
2700
+ "position": {
2701
+ "description": "Filter by job position",
2702
+ "name": "position",
2703
+ "hasDynamicHelp": false,
2704
+ "multiple": false,
2705
+ "type": "option"
2706
+ },
2707
+ "locations": {
2708
+ "description": "Filter by locations (comma-separated)",
2709
+ "name": "locations",
2710
+ "hasDynamicHelp": false,
2711
+ "multiple": false,
2712
+ "type": "option"
2713
+ },
2714
+ "industries": {
2715
+ "description": "Filter by industries (comma-separated)",
2716
+ "name": "industries",
2717
+ "hasDynamicHelp": false,
2718
+ "multiple": false,
2719
+ "type": "option"
2720
+ },
2721
+ "current-companies": {
2722
+ "description": "Filter by current companies (comma-separated)",
2723
+ "name": "current-companies",
2724
+ "hasDynamicHelp": false,
2725
+ "multiple": false,
2726
+ "type": "option"
2727
+ },
2728
+ "previous-companies": {
2729
+ "description": "Filter by previous companies (comma-separated)",
2730
+ "name": "previous-companies",
2731
+ "hasDynamicHelp": false,
2732
+ "multiple": false,
2733
+ "type": "option"
2734
+ },
2735
+ "schools": {
2736
+ "description": "Filter by schools (comma-separated)",
2737
+ "name": "schools",
2738
+ "hasDynamicHelp": false,
2739
+ "multiple": false,
2740
+ "type": "option"
2741
+ },
2742
+ "connection-degrees": {
2743
+ "description": "Filter by your connection degree (comma-separated: 1st,2nd,3rd+)",
2744
+ "name": "connection-degrees",
2745
+ "hasDynamicHelp": false,
2746
+ "multiple": false,
2747
+ "type": "option"
2654
2748
  }
2655
2749
  },
2656
2750
  "hasDynamicHelp": false,
2657
2751
  "hiddenAliases": [],
2658
- "id": "network:sync",
2752
+ "id": "person:search",
2659
2753
  "pluginAlias": "@linkedapi/linkedin-cli",
2660
2754
  "pluginName": "@linkedapi/linkedin-cli",
2661
2755
  "pluginType": "core",
@@ -2665,8 +2759,8 @@
2665
2759
  "relativePath": [
2666
2760
  "dist",
2667
2761
  "commands",
2668
- "network",
2669
- "sync.js"
2762
+ "person",
2763
+ "search.js"
2670
2764
  ]
2671
2765
  },
2672
2766
  "post:comment": {
@@ -3267,13 +3361,12 @@
3267
3361
  "search.js"
3268
3362
  ]
3269
3363
  },
3270
- "workflow:run": {
3364
+ "stats:performance": {
3271
3365
  "aliases": [],
3272
3366
  "args": {},
3273
- "description": "Execute a custom workflow definition.\n\nA workflow is a JSON object describing one or more LinkedIn actions to run sequentially.\nSee https://linkedapi.io/docs/building-workflows/ for the workflow format.\nAvailable actions: https://linkedapi.io/docs/actions-overview/",
3367
+ "description": "Retrieve your LinkedIn performance analytics",
3274
3368
  "examples": [
3275
- "<%= config.bin %> workflow run --file workflow.json",
3276
- "cat workflow.json | <%= config.bin %> workflow run"
3369
+ "<%= config.bin %> stats performance --json"
3277
3370
  ],
3278
3371
  "flags": {
3279
3372
  "json": {
@@ -3308,11 +3401,61 @@
3308
3401
  "hasDynamicHelp": false,
3309
3402
  "multiple": false,
3310
3403
  "type": "option"
3404
+ }
3405
+ },
3406
+ "hasDynamicHelp": false,
3407
+ "hiddenAliases": [],
3408
+ "id": "stats:performance",
3409
+ "pluginAlias": "@linkedapi/linkedin-cli",
3410
+ "pluginName": "@linkedapi/linkedin-cli",
3411
+ "pluginType": "core",
3412
+ "strict": true,
3413
+ "enableJsonFlag": false,
3414
+ "isESM": false,
3415
+ "relativePath": [
3416
+ "dist",
3417
+ "commands",
3418
+ "stats",
3419
+ "performance.js"
3420
+ ]
3421
+ },
3422
+ "stats:ssi": {
3423
+ "aliases": [],
3424
+ "args": {},
3425
+ "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
3426
+ "examples": [
3427
+ "<%= config.bin %> stats ssi --json"
3428
+ ],
3429
+ "flags": {
3430
+ "json": {
3431
+ "description": "Output as JSON",
3432
+ "name": "json",
3433
+ "allowNo": false,
3434
+ "type": "boolean"
3311
3435
  },
3312
- "file": {
3313
- "char": "f",
3314
- "description": "Path to workflow JSON file",
3315
- "name": "file",
3436
+ "fields": {
3437
+ "description": "Comma-separated list of fields to include in output",
3438
+ "name": "fields",
3439
+ "hasDynamicHelp": false,
3440
+ "multiple": false,
3441
+ "type": "option"
3442
+ },
3443
+ "quiet": {
3444
+ "char": "q",
3445
+ "description": "Suppress progress output on stderr",
3446
+ "name": "quiet",
3447
+ "allowNo": false,
3448
+ "type": "boolean"
3449
+ },
3450
+ "no-color": {
3451
+ "description": "Disable colored output",
3452
+ "name": "no-color",
3453
+ "allowNo": false,
3454
+ "type": "boolean"
3455
+ },
3456
+ "account": {
3457
+ "description": "Account name to use (when multiple accounts are configured)",
3458
+ "name": "account",
3316
3459
  "hasDynamicHelp": false,
3317
3460
  "multiple": false,
3318
3461
  "type": "option"
@@ -3320,7 +3463,7 @@
3320
3463
  },
3321
3464
  "hasDynamicHelp": false,
3322
3465
  "hiddenAliases": [],
3323
- "id": "workflow:run",
3466
+ "id": "stats:ssi",
3324
3467
  "pluginAlias": "@linkedapi/linkedin-cli",
3325
3468
  "pluginName": "@linkedapi/linkedin-cli",
3326
3469
  "pluginType": "core",
@@ -3330,23 +3473,16 @@
3330
3473
  "relativePath": [
3331
3474
  "dist",
3332
3475
  "commands",
3333
- "workflow",
3334
- "run.js"
3476
+ "stats",
3477
+ "ssi.js"
3335
3478
  ]
3336
3479
  },
3337
- "workflow:status": {
3480
+ "stats:usage": {
3338
3481
  "aliases": [],
3339
- "args": {
3340
- "id": {
3341
- "description": "Workflow ID",
3342
- "name": "id",
3343
- "required": true
3344
- }
3345
- },
3346
- "description": "Check status of a running workflow or wait for completion.\n\nSee https://linkedapi.io/docs/executing-workflows/ for details on workflow execution and polling.",
3482
+ "args": {},
3483
+ "description": "Retrieve Linked API usage statistics",
3347
3484
  "examples": [
3348
- "<%= config.bin %> workflow status abc123",
3349
- "<%= config.bin %> workflow status abc123 --wait --json"
3485
+ "<%= config.bin %> stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json"
3350
3486
  ],
3351
3487
  "flags": {
3352
3488
  "json": {
@@ -3382,16 +3518,100 @@
3382
3518
  "multiple": false,
3383
3519
  "type": "option"
3384
3520
  },
3385
- "wait": {
3386
- "description": "Wait for workflow to complete",
3387
- "name": "wait",
3521
+ "start": {
3522
+ "description": "Start date (ISO timestamp)",
3523
+ "name": "start",
3524
+ "required": true,
3525
+ "hasDynamicHelp": false,
3526
+ "multiple": false,
3527
+ "type": "option"
3528
+ },
3529
+ "end": {
3530
+ "description": "End date (ISO timestamp)",
3531
+ "name": "end",
3532
+ "required": true,
3533
+ "hasDynamicHelp": false,
3534
+ "multiple": false,
3535
+ "type": "option"
3536
+ }
3537
+ },
3538
+ "hasDynamicHelp": false,
3539
+ "hiddenAliases": [],
3540
+ "id": "stats:usage",
3541
+ "pluginAlias": "@linkedapi/linkedin-cli",
3542
+ "pluginName": "@linkedapi/linkedin-cli",
3543
+ "pluginType": "core",
3544
+ "strict": true,
3545
+ "enableJsonFlag": false,
3546
+ "isESM": false,
3547
+ "relativePath": [
3548
+ "dist",
3549
+ "commands",
3550
+ "stats",
3551
+ "usage.js"
3552
+ ]
3553
+ },
3554
+ "stats:viewers": {
3555
+ "aliases": [],
3556
+ "args": {},
3557
+ "description": "Retrieve the people who recently viewed your profile",
3558
+ "examples": [
3559
+ "<%= config.bin %> stats viewers",
3560
+ "<%= config.bin %> stats viewers --limit 50 --json",
3561
+ "<%= config.bin %> stats viewers --since 2026-08-01T00:00:00Z"
3562
+ ],
3563
+ "flags": {
3564
+ "json": {
3565
+ "description": "Output as JSON",
3566
+ "name": "json",
3388
3567
  "allowNo": false,
3389
3568
  "type": "boolean"
3569
+ },
3570
+ "fields": {
3571
+ "description": "Comma-separated list of fields to include in output",
3572
+ "name": "fields",
3573
+ "hasDynamicHelp": false,
3574
+ "multiple": false,
3575
+ "type": "option"
3576
+ },
3577
+ "quiet": {
3578
+ "char": "q",
3579
+ "description": "Suppress progress output on stderr",
3580
+ "name": "quiet",
3581
+ "allowNo": false,
3582
+ "type": "boolean"
3583
+ },
3584
+ "no-color": {
3585
+ "description": "Disable colored output",
3586
+ "name": "no-color",
3587
+ "allowNo": false,
3588
+ "type": "boolean"
3589
+ },
3590
+ "account": {
3591
+ "description": "Account name to use (when multiple accounts are configured)",
3592
+ "name": "account",
3593
+ "hasDynamicHelp": false,
3594
+ "multiple": false,
3595
+ "type": "option"
3596
+ },
3597
+ "limit": {
3598
+ "description": "Max viewers to retrieve",
3599
+ "name": "limit",
3600
+ "hasDynamicHelp": false,
3601
+ "multiple": false,
3602
+ "type": "option"
3603
+ },
3604
+ "since": {
3605
+ "description": "Only viewers seen at or after this ISO 8601 timestamp",
3606
+ "name": "since",
3607
+ "hasDynamicHelp": false,
3608
+ "multiple": false,
3609
+ "type": "option"
3390
3610
  }
3391
3611
  },
3392
3612
  "hasDynamicHelp": false,
3393
3613
  "hiddenAliases": [],
3394
- "id": "workflow:status",
3614
+ "id": "stats:viewers",
3395
3615
  "pluginAlias": "@linkedapi/linkedin-cli",
3396
3616
  "pluginName": "@linkedapi/linkedin-cli",
3397
3617
  "pluginType": "core",
@@ -3401,16 +3621,17 @@
3401
3621
  "relativePath": [
3402
3622
  "dist",
3403
3623
  "commands",
3404
- "workflow",
3405
- "status.js"
3624
+ "stats",
3625
+ "viewers.js"
3406
3626
  ]
3407
3627
  },
3408
- "stats:performance": {
3628
+ "workflow:run": {
3409
3629
  "aliases": [],
3410
3630
  "args": {},
3411
- "description": "Retrieve your LinkedIn performance analytics",
3631
+ "description": "Execute a custom workflow definition.\n\nA workflow is a JSON object describing one or more LinkedIn actions to run sequentially.\nSee https://linkedapi.io/docs/building-workflows/ for the workflow format.\nAvailable actions: https://linkedapi.io/docs/actions-overview/",
3412
3632
  "examples": [
3413
- "<%= config.bin %> stats performance --json"
3633
+ "<%= config.bin %> workflow run --file workflow.json",
3634
+ "cat workflow.json | <%= config.bin %> workflow run"
3414
3635
  ],
3415
3636
  "flags": {
3416
3637
  "json": {
@@ -3445,11 +3666,19 @@
3445
3666
  "hasDynamicHelp": false,
3446
3667
  "multiple": false,
3447
3668
  "type": "option"
3669
+ },
3670
+ "file": {
3671
+ "char": "f",
3672
+ "description": "Path to workflow JSON file",
3673
+ "name": "file",
3674
+ "hasDynamicHelp": false,
3675
+ "multiple": false,
3676
+ "type": "option"
3448
3677
  }
3449
3678
  },
3450
3679
  "hasDynamicHelp": false,
3451
3680
  "hiddenAliases": [],
3452
- "id": "stats:performance",
3681
+ "id": "workflow:run",
3453
3682
  "pluginAlias": "@linkedapi/linkedin-cli",
3454
3683
  "pluginName": "@linkedapi/linkedin-cli",
3455
3684
  "pluginType": "core",
@@ -3459,16 +3688,23 @@
3459
3688
  "relativePath": [
3460
3689
  "dist",
3461
3690
  "commands",
3462
- "stats",
3463
- "performance.js"
3691
+ "workflow",
3692
+ "run.js"
3464
3693
  ]
3465
3694
  },
3466
- "stats:ssi": {
3695
+ "workflow:status": {
3467
3696
  "aliases": [],
3468
- "args": {},
3469
- "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
3697
+ "args": {
3698
+ "id": {
3699
+ "description": "Workflow ID",
3700
+ "name": "id",
3701
+ "required": true
3702
+ }
3703
+ },
3704
+ "description": "Check status of a running workflow or wait for completion.\n\nSee https://linkedapi.io/docs/executing-workflows/ for details on workflow execution and polling.",
3470
3705
  "examples": [
3471
- "<%= config.bin %> stats ssi --json"
3706
+ "<%= config.bin %> workflow status abc123",
3707
+ "<%= config.bin %> workflow status abc123 --wait --json"
3472
3708
  ],
3473
3709
  "flags": {
3474
3710
  "json": {
@@ -3503,11 +3739,17 @@
3503
3739
  "hasDynamicHelp": false,
3504
3740
  "multiple": false,
3505
3741
  "type": "option"
3742
+ },
3743
+ "wait": {
3744
+ "description": "Wait for workflow to complete",
3745
+ "name": "wait",
3746
+ "allowNo": false,
3747
+ "type": "boolean"
3506
3748
  }
3507
3749
  },
3508
3750
  "hasDynamicHelp": false,
3509
3751
  "hiddenAliases": [],
3510
- "id": "stats:ssi",
3752
+ "id": "workflow:status",
3511
3753
  "pluginAlias": "@linkedapi/linkedin-cli",
3512
3754
  "pluginName": "@linkedapi/linkedin-cli",
3513
3755
  "pluginType": "core",
@@ -3517,16 +3759,22 @@
3517
3759
  "relativePath": [
3518
3760
  "dist",
3519
3761
  "commands",
3520
- "stats",
3521
- "ssi.js"
3762
+ "workflow",
3763
+ "status.js"
3522
3764
  ]
3523
3765
  },
3524
- "stats:usage": {
3766
+ "admin:accounts:cancel-session": {
3525
3767
  "aliases": [],
3526
- "args": {},
3527
- "description": "Retrieve Linked API usage statistics",
3768
+ "args": {
3769
+ "sessionId": {
3770
+ "description": "Session UUID",
3771
+ "name": "sessionId",
3772
+ "required": true
3773
+ }
3774
+ },
3775
+ "description": "Cancel a pending connection session",
3528
3776
  "examples": [
3529
- "<%= config.bin %> stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json"
3777
+ "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
3530
3778
  ],
3531
3779
  "flags": {
3532
3780
  "json": {
@@ -3554,34 +3802,11 @@
3554
3802
  "name": "no-color",
3555
3803
  "allowNo": false,
3556
3804
  "type": "boolean"
3557
- },
3558
- "account": {
3559
- "description": "Account name to use (when multiple accounts are configured)",
3560
- "name": "account",
3561
- "hasDynamicHelp": false,
3562
- "multiple": false,
3563
- "type": "option"
3564
- },
3565
- "start": {
3566
- "description": "Start date (ISO timestamp)",
3567
- "name": "start",
3568
- "required": true,
3569
- "hasDynamicHelp": false,
3570
- "multiple": false,
3571
- "type": "option"
3572
- },
3573
- "end": {
3574
- "description": "End date (ISO timestamp)",
3575
- "name": "end",
3576
- "required": true,
3577
- "hasDynamicHelp": false,
3578
- "multiple": false,
3579
- "type": "option"
3580
3805
  }
3581
3806
  },
3582
3807
  "hasDynamicHelp": false,
3583
3808
  "hiddenAliases": [],
3584
- "id": "stats:usage",
3809
+ "id": "admin:accounts:cancel-session",
3585
3810
  "pluginAlias": "@linkedapi/linkedin-cli",
3586
3811
  "pluginName": "@linkedapi/linkedin-cli",
3587
3812
  "pluginType": "core",
@@ -3591,18 +3816,17 @@
3591
3816
  "relativePath": [
3592
3817
  "dist",
3593
3818
  "commands",
3594
- "stats",
3595
- "usage.js"
3819
+ "admin",
3820
+ "accounts",
3821
+ "cancel-session.js"
3596
3822
  ]
3597
3823
  },
3598
- "stats:viewers": {
3824
+ "admin:accounts:connect": {
3599
3825
  "aliases": [],
3600
3826
  "args": {},
3601
- "description": "Retrieve the people who recently viewed your profile",
3827
+ "description": "Create a connection session to connect a new LinkedIn account",
3602
3828
  "examples": [
3603
- "<%= config.bin %> stats viewers",
3604
- "<%= config.bin %> stats viewers --limit 50 --json",
3605
- "<%= config.bin %> stats viewers --since 2026-08-01T00:00:00Z"
3829
+ "<%= config.bin %> admin accounts connect"
3606
3830
  ],
3607
3831
  "flags": {
3608
3832
  "json": {
@@ -3630,32 +3854,11 @@
3630
3854
  "name": "no-color",
3631
3855
  "allowNo": false,
3632
3856
  "type": "boolean"
3633
- },
3634
- "account": {
3635
- "description": "Account name to use (when multiple accounts are configured)",
3636
- "name": "account",
3637
- "hasDynamicHelp": false,
3638
- "multiple": false,
3639
- "type": "option"
3640
- },
3641
- "limit": {
3642
- "description": "Max viewers to retrieve",
3643
- "name": "limit",
3644
- "hasDynamicHelp": false,
3645
- "multiple": false,
3646
- "type": "option"
3647
- },
3648
- "since": {
3649
- "description": "Only viewers seen at or after this ISO 8601 timestamp",
3650
- "name": "since",
3651
- "hasDynamicHelp": false,
3652
- "multiple": false,
3653
- "type": "option"
3654
3857
  }
3655
3858
  },
3656
3859
  "hasDynamicHelp": false,
3657
3860
  "hiddenAliases": [],
3658
- "id": "stats:viewers",
3861
+ "id": "admin:accounts:connect",
3659
3862
  "pluginAlias": "@linkedapi/linkedin-cli",
3660
3863
  "pluginName": "@linkedapi/linkedin-cli",
3661
3864
  "pluginType": "core",
@@ -3665,16 +3868,23 @@
3665
3868
  "relativePath": [
3666
3869
  "dist",
3667
3870
  "commands",
3668
- "stats",
3669
- "viewers.js"
3871
+ "admin",
3872
+ "accounts",
3873
+ "connect.js"
3670
3874
  ]
3671
3875
  },
3672
- "admin:limits:defaults": {
3876
+ "admin:accounts:disconnect": {
3673
3877
  "aliases": [],
3674
- "args": {},
3675
- "description": "View system default limits",
3878
+ "args": {
3879
+ "accountId": {
3880
+ "description": "Account UUID",
3881
+ "name": "accountId",
3882
+ "required": true
3883
+ }
3884
+ },
3885
+ "description": "Disconnect a LinkedIn account (irreversible)",
3676
3886
  "examples": [
3677
- "<%= config.bin %> admin limits defaults"
3887
+ "<%= config.bin %> admin accounts disconnect f9b4346a-..."
3678
3888
  ],
3679
3889
  "flags": {
3680
3890
  "json": {
@@ -3706,7 +3916,7 @@
3706
3916
  },
3707
3917
  "hasDynamicHelp": false,
3708
3918
  "hiddenAliases": [],
3709
- "id": "admin:limits:defaults",
3919
+ "id": "admin:accounts:disconnect",
3710
3920
  "pluginAlias": "@linkedapi/linkedin-cli",
3711
3921
  "pluginName": "@linkedapi/linkedin-cli",
3712
3922
  "pluginType": "core",
@@ -3717,22 +3927,16 @@
3717
3927
  "dist",
3718
3928
  "commands",
3719
3929
  "admin",
3720
- "limits",
3721
- "defaults.js"
3930
+ "accounts",
3931
+ "disconnect.js"
3722
3932
  ]
3723
3933
  },
3724
- "admin:limits:delete": {
3934
+ "admin:accounts:list": {
3725
3935
  "aliases": [],
3726
- "args": {
3727
- "accountId": {
3728
- "description": "Account UUID",
3729
- "name": "accountId",
3730
- "required": true
3731
- }
3732
- },
3733
- "description": "Delete specific limits (falls back to defaults)",
3936
+ "args": {},
3937
+ "description": "List all connected accounts and pending sessions",
3734
3938
  "examples": [
3735
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
3939
+ "<%= config.bin %> admin accounts list"
3736
3940
  ],
3737
3941
  "flags": {
3738
3942
  "json": {
@@ -3760,32 +3964,11 @@
3760
3964
  "name": "no-color",
3761
3965
  "allowNo": false,
3762
3966
  "type": "boolean"
3763
- },
3764
- "category": {
3765
- "description": "Limit category",
3766
- "name": "category",
3767
- "required": true,
3768
- "hasDynamicHelp": false,
3769
- "multiple": false,
3770
- "type": "option"
3771
- },
3772
- "period": {
3773
- "description": "Limit period",
3774
- "name": "period",
3775
- "required": true,
3776
- "hasDynamicHelp": false,
3777
- "multiple": false,
3778
- "options": [
3779
- "daily",
3780
- "weekly",
3781
- "monthly"
3782
- ],
3783
- "type": "option"
3784
3967
  }
3785
3968
  },
3786
3969
  "hasDynamicHelp": false,
3787
3970
  "hiddenAliases": [],
3788
- "id": "admin:limits:delete",
3971
+ "id": "admin:accounts:list",
3789
3972
  "pluginAlias": "@linkedapi/linkedin-cli",
3790
3973
  "pluginName": "@linkedapi/linkedin-cli",
3791
3974
  "pluginType": "core",
@@ -3796,11 +3979,11 @@
3796
3979
  "dist",
3797
3980
  "commands",
3798
3981
  "admin",
3799
- "limits",
3800
- "delete.js"
3982
+ "accounts",
3983
+ "list.js"
3801
3984
  ]
3802
3985
  },
3803
- "admin:limits:get": {
3986
+ "admin:accounts:reconnect": {
3804
3987
  "aliases": [],
3805
3988
  "args": {
3806
3989
  "accountId": {
@@ -3809,9 +3992,9 @@
3809
3992
  "required": true
3810
3993
  }
3811
3994
  },
3812
- "description": "View current limits for an account",
3995
+ "description": "Create a reconnection session for an account",
3813
3996
  "examples": [
3814
- "<%= config.bin %> admin limits get f9b4346a-..."
3997
+ "<%= config.bin %> admin accounts reconnect f9b4346a-..."
3815
3998
  ],
3816
3999
  "flags": {
3817
4000
  "json": {
@@ -3843,7 +4026,7 @@
3843
4026
  },
3844
4027
  "hasDynamicHelp": false,
3845
4028
  "hiddenAliases": [],
3846
- "id": "admin:limits:get",
4029
+ "id": "admin:accounts:reconnect",
3847
4030
  "pluginAlias": "@linkedapi/linkedin-cli",
3848
4031
  "pluginName": "@linkedapi/linkedin-cli",
3849
4032
  "pluginType": "core",
@@ -3854,11 +4037,11 @@
3854
4037
  "dist",
3855
4038
  "commands",
3856
4039
  "admin",
3857
- "limits",
3858
- "get.js"
4040
+ "accounts",
4041
+ "reconnect.js"
3859
4042
  ]
3860
4043
  },
3861
- "admin:limits:reset": {
4044
+ "admin:accounts:regenerate-token": {
3862
4045
  "aliases": [],
3863
4046
  "args": {
3864
4047
  "accountId": {
@@ -3867,9 +4050,9 @@
3867
4050
  "required": true
3868
4051
  }
3869
4052
  },
3870
- "description": "Reset all limits to defaults",
4053
+ "description": "Regenerate identification token for an account",
3871
4054
  "examples": [
3872
- "<%= config.bin %> admin limits reset f9b4346a-..."
4055
+ "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
3873
4056
  ],
3874
4057
  "flags": {
3875
4058
  "json": {
@@ -3901,7 +4084,7 @@
3901
4084
  },
3902
4085
  "hasDynamicHelp": false,
3903
4086
  "hiddenAliases": [],
3904
- "id": "admin:limits:reset",
4087
+ "id": "admin:accounts:regenerate-token",
3905
4088
  "pluginAlias": "@linkedapi/linkedin-cli",
3906
4089
  "pluginName": "@linkedapi/linkedin-cli",
3907
4090
  "pluginType": "core",
@@ -3912,11 +4095,11 @@
3912
4095
  "dist",
3913
4096
  "commands",
3914
4097
  "admin",
3915
- "limits",
3916
- "reset.js"
4098
+ "accounts",
4099
+ "regenerate-token.js"
3917
4100
  ]
3918
4101
  },
3919
- "admin:limits:set": {
4102
+ "admin:accounts:reparse": {
3920
4103
  "aliases": [],
3921
4104
  "args": {
3922
4105
  "accountId": {
@@ -3925,9 +4108,9 @@
3925
4108
  "required": true
3926
4109
  }
3927
4110
  },
3928
- "description": "Set limits for an account",
4111
+ "description": "Refresh stored profile info for an account",
3929
4112
  "examples": [
3930
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
4113
+ "<%= config.bin %> admin accounts reparse f9b4346a-..."
3931
4114
  ],
3932
4115
  "flags": {
3933
4116
  "json": {
@@ -3948,47 +4131,18 @@
3948
4131
  "description": "Suppress progress output on stderr",
3949
4132
  "name": "quiet",
3950
4133
  "allowNo": false,
3951
- "type": "boolean"
3952
- },
3953
- "no-color": {
3954
- "description": "Disable colored output",
3955
- "name": "no-color",
3956
- "allowNo": false,
3957
- "type": "boolean"
3958
- },
3959
- "category": {
3960
- "description": "Limit category",
3961
- "name": "category",
3962
- "required": true,
3963
- "hasDynamicHelp": false,
3964
- "multiple": false,
3965
- "type": "option"
3966
- },
3967
- "period": {
3968
- "description": "Limit period",
3969
- "name": "period",
3970
- "required": true,
3971
- "hasDynamicHelp": false,
3972
- "multiple": false,
3973
- "options": [
3974
- "daily",
3975
- "weekly",
3976
- "monthly"
3977
- ],
3978
- "type": "option"
3979
- },
3980
- "max": {
3981
- "description": "Maximum allowed actions (>= 0)",
3982
- "name": "max",
3983
- "required": true,
3984
- "hasDynamicHelp": false,
3985
- "multiple": false,
3986
- "type": "option"
4134
+ "type": "boolean"
4135
+ },
4136
+ "no-color": {
4137
+ "description": "Disable colored output",
4138
+ "name": "no-color",
4139
+ "allowNo": false,
4140
+ "type": "boolean"
3987
4141
  }
3988
4142
  },
3989
4143
  "hasDynamicHelp": false,
3990
4144
  "hiddenAliases": [],
3991
- "id": "admin:limits:set",
4145
+ "id": "admin:accounts:reparse",
3992
4146
  "pluginAlias": "@linkedapi/linkedin-cli",
3993
4147
  "pluginName": "@linkedapi/linkedin-cli",
3994
4148
  "pluginType": "core",
@@ -3999,22 +4153,22 @@
3999
4153
  "dist",
4000
4154
  "commands",
4001
4155
  "admin",
4002
- "limits",
4003
- "set.js"
4156
+ "accounts",
4157
+ "reparse.js"
4004
4158
  ]
4005
4159
  },
4006
- "admin:limits:usage": {
4160
+ "admin:accounts:session": {
4007
4161
  "aliases": [],
4008
4162
  "args": {
4009
- "accountId": {
4010
- "description": "Account UUID",
4011
- "name": "accountId",
4163
+ "sessionId": {
4164
+ "description": "Session UUID",
4165
+ "name": "sessionId",
4012
4166
  "required": true
4013
4167
  }
4014
4168
  },
4015
- "description": "View current usage against limits",
4169
+ "description": "Check connection session status",
4016
4170
  "examples": [
4017
- "<%= config.bin %> admin limits usage f9b4346a-..."
4171
+ "<%= config.bin %> admin accounts session 990eef7a-..."
4018
4172
  ],
4019
4173
  "flags": {
4020
4174
  "json": {
@@ -4046,7 +4200,7 @@
4046
4200
  },
4047
4201
  "hasDynamicHelp": false,
4048
4202
  "hiddenAliases": [],
4049
- "id": "admin:limits:usage",
4203
+ "id": "admin:accounts:session",
4050
4204
  "pluginAlias": "@linkedapi/linkedin-cli",
4051
4205
  "pluginName": "@linkedapi/linkedin-cli",
4052
4206
  "pluginType": "core",
@@ -4057,8 +4211,8 @@
4057
4211
  "dist",
4058
4212
  "commands",
4059
4213
  "admin",
4060
- "limits",
4061
- "usage.js"
4214
+ "accounts",
4215
+ "session.js"
4062
4216
  ]
4063
4217
  },
4064
4218
  "admin:subscription:seats": {
@@ -4249,70 +4403,12 @@
4249
4403
  "status.js"
4250
4404
  ]
4251
4405
  },
4252
- "admin:accounts:cancel-session": {
4253
- "aliases": [],
4254
- "args": {
4255
- "sessionId": {
4256
- "description": "Session UUID",
4257
- "name": "sessionId",
4258
- "required": true
4259
- }
4260
- },
4261
- "description": "Cancel a pending connection session",
4262
- "examples": [
4263
- "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
4264
- ],
4265
- "flags": {
4266
- "json": {
4267
- "description": "Output as JSON",
4268
- "name": "json",
4269
- "allowNo": false,
4270
- "type": "boolean"
4271
- },
4272
- "fields": {
4273
- "description": "Comma-separated list of fields to include in output",
4274
- "name": "fields",
4275
- "hasDynamicHelp": false,
4276
- "multiple": false,
4277
- "type": "option"
4278
- },
4279
- "quiet": {
4280
- "char": "q",
4281
- "description": "Suppress progress output on stderr",
4282
- "name": "quiet",
4283
- "allowNo": false,
4284
- "type": "boolean"
4285
- },
4286
- "no-color": {
4287
- "description": "Disable colored output",
4288
- "name": "no-color",
4289
- "allowNo": false,
4290
- "type": "boolean"
4291
- }
4292
- },
4293
- "hasDynamicHelp": false,
4294
- "hiddenAliases": [],
4295
- "id": "admin:accounts:cancel-session",
4296
- "pluginAlias": "@linkedapi/linkedin-cli",
4297
- "pluginName": "@linkedapi/linkedin-cli",
4298
- "pluginType": "core",
4299
- "strict": true,
4300
- "enableJsonFlag": false,
4301
- "isESM": false,
4302
- "relativePath": [
4303
- "dist",
4304
- "commands",
4305
- "admin",
4306
- "accounts",
4307
- "cancel-session.js"
4308
- ]
4309
- },
4310
- "admin:accounts:connect": {
4406
+ "admin:limits:defaults": {
4311
4407
  "aliases": [],
4312
4408
  "args": {},
4313
- "description": "Create a connection session to connect a new LinkedIn account",
4409
+ "description": "View system default limits",
4314
4410
  "examples": [
4315
- "<%= config.bin %> admin accounts connect"
4411
+ "<%= config.bin %> admin limits defaults"
4316
4412
  ],
4317
4413
  "flags": {
4318
4414
  "json": {
@@ -4344,7 +4440,7 @@
4344
4440
  },
4345
4441
  "hasDynamicHelp": false,
4346
4442
  "hiddenAliases": [],
4347
- "id": "admin:accounts:connect",
4443
+ "id": "admin:limits:defaults",
4348
4444
  "pluginAlias": "@linkedapi/linkedin-cli",
4349
4445
  "pluginName": "@linkedapi/linkedin-cli",
4350
4446
  "pluginType": "core",
@@ -4355,11 +4451,11 @@
4355
4451
  "dist",
4356
4452
  "commands",
4357
4453
  "admin",
4358
- "accounts",
4359
- "connect.js"
4454
+ "limits",
4455
+ "defaults.js"
4360
4456
  ]
4361
4457
  },
4362
- "admin:accounts:disconnect": {
4458
+ "admin:limits:delete": {
4363
4459
  "aliases": [],
4364
4460
  "args": {
4365
4461
  "accountId": {
@@ -4368,9 +4464,9 @@
4368
4464
  "required": true
4369
4465
  }
4370
4466
  },
4371
- "description": "Disconnect a LinkedIn account (irreversible)",
4467
+ "description": "Delete a specific limit. The removed category/period has no limit until set again. Use linkedin admin limits reset <accountId> to restore all default limits for the account.",
4372
4468
  "examples": [
4373
- "<%= config.bin %> admin accounts disconnect f9b4346a-..."
4469
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
4374
4470
  ],
4375
4471
  "flags": {
4376
4472
  "json": {
@@ -4398,63 +4494,32 @@
4398
4494
  "name": "no-color",
4399
4495
  "allowNo": false,
4400
4496
  "type": "boolean"
4401
- }
4402
- },
4403
- "hasDynamicHelp": false,
4404
- "hiddenAliases": [],
4405
- "id": "admin:accounts:disconnect",
4406
- "pluginAlias": "@linkedapi/linkedin-cli",
4407
- "pluginName": "@linkedapi/linkedin-cli",
4408
- "pluginType": "core",
4409
- "strict": true,
4410
- "enableJsonFlag": false,
4411
- "isESM": false,
4412
- "relativePath": [
4413
- "dist",
4414
- "commands",
4415
- "admin",
4416
- "accounts",
4417
- "disconnect.js"
4418
- ]
4419
- },
4420
- "admin:accounts:list": {
4421
- "aliases": [],
4422
- "args": {},
4423
- "description": "List all connected accounts and pending sessions",
4424
- "examples": [
4425
- "<%= config.bin %> admin accounts list"
4426
- ],
4427
- "flags": {
4428
- "json": {
4429
- "description": "Output as JSON",
4430
- "name": "json",
4431
- "allowNo": false,
4432
- "type": "boolean"
4433
4497
  },
4434
- "fields": {
4435
- "description": "Comma-separated list of fields to include in output",
4436
- "name": "fields",
4498
+ "category": {
4499
+ "description": "Limit category (e.g. stMessages, stEndorsements)",
4500
+ "name": "category",
4501
+ "required": true,
4437
4502
  "hasDynamicHelp": false,
4438
4503
  "multiple": false,
4439
4504
  "type": "option"
4440
4505
  },
4441
- "quiet": {
4442
- "char": "q",
4443
- "description": "Suppress progress output on stderr",
4444
- "name": "quiet",
4445
- "allowNo": false,
4446
- "type": "boolean"
4447
- },
4448
- "no-color": {
4449
- "description": "Disable colored output",
4450
- "name": "no-color",
4451
- "allowNo": false,
4452
- "type": "boolean"
4506
+ "period": {
4507
+ "description": "Limit period",
4508
+ "name": "period",
4509
+ "required": true,
4510
+ "hasDynamicHelp": false,
4511
+ "multiple": false,
4512
+ "options": [
4513
+ "daily",
4514
+ "weekly",
4515
+ "monthly"
4516
+ ],
4517
+ "type": "option"
4453
4518
  }
4454
4519
  },
4455
4520
  "hasDynamicHelp": false,
4456
4521
  "hiddenAliases": [],
4457
- "id": "admin:accounts:list",
4522
+ "id": "admin:limits:delete",
4458
4523
  "pluginAlias": "@linkedapi/linkedin-cli",
4459
4524
  "pluginName": "@linkedapi/linkedin-cli",
4460
4525
  "pluginType": "core",
@@ -4465,11 +4530,11 @@
4465
4530
  "dist",
4466
4531
  "commands",
4467
4532
  "admin",
4468
- "accounts",
4469
- "list.js"
4533
+ "limits",
4534
+ "delete.js"
4470
4535
  ]
4471
4536
  },
4472
- "admin:accounts:reconnect": {
4537
+ "admin:limits:get": {
4473
4538
  "aliases": [],
4474
4539
  "args": {
4475
4540
  "accountId": {
@@ -4478,9 +4543,9 @@
4478
4543
  "required": true
4479
4544
  }
4480
4545
  },
4481
- "description": "Create a reconnection session for an account",
4546
+ "description": "View current limits for an account",
4482
4547
  "examples": [
4483
- "<%= config.bin %> admin accounts reconnect f9b4346a-..."
4548
+ "<%= config.bin %> admin limits get f9b4346a-..."
4484
4549
  ],
4485
4550
  "flags": {
4486
4551
  "json": {
@@ -4512,7 +4577,7 @@
4512
4577
  },
4513
4578
  "hasDynamicHelp": false,
4514
4579
  "hiddenAliases": [],
4515
- "id": "admin:accounts:reconnect",
4580
+ "id": "admin:limits:get",
4516
4581
  "pluginAlias": "@linkedapi/linkedin-cli",
4517
4582
  "pluginName": "@linkedapi/linkedin-cli",
4518
4583
  "pluginType": "core",
@@ -4523,11 +4588,11 @@
4523
4588
  "dist",
4524
4589
  "commands",
4525
4590
  "admin",
4526
- "accounts",
4527
- "reconnect.js"
4591
+ "limits",
4592
+ "get.js"
4528
4593
  ]
4529
4594
  },
4530
- "admin:accounts:regenerate-token": {
4595
+ "admin:limits:reset": {
4531
4596
  "aliases": [],
4532
4597
  "args": {
4533
4598
  "accountId": {
@@ -4536,9 +4601,9 @@
4536
4601
  "required": true
4537
4602
  }
4538
4603
  },
4539
- "description": "Regenerate identification token for an account",
4604
+ "description": "Reset all limits to defaults",
4540
4605
  "examples": [
4541
- "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
4606
+ "<%= config.bin %> admin limits reset f9b4346a-..."
4542
4607
  ],
4543
4608
  "flags": {
4544
4609
  "json": {
@@ -4570,7 +4635,7 @@
4570
4635
  },
4571
4636
  "hasDynamicHelp": false,
4572
4637
  "hiddenAliases": [],
4573
- "id": "admin:accounts:regenerate-token",
4638
+ "id": "admin:limits:reset",
4574
4639
  "pluginAlias": "@linkedapi/linkedin-cli",
4575
4640
  "pluginName": "@linkedapi/linkedin-cli",
4576
4641
  "pluginType": "core",
@@ -4581,11 +4646,11 @@
4581
4646
  "dist",
4582
4647
  "commands",
4583
4648
  "admin",
4584
- "accounts",
4585
- "regenerate-token.js"
4649
+ "limits",
4650
+ "reset.js"
4586
4651
  ]
4587
4652
  },
4588
- "admin:accounts:reparse": {
4653
+ "admin:limits:set": {
4589
4654
  "aliases": [],
4590
4655
  "args": {
4591
4656
  "accountId": {
@@ -4594,9 +4659,9 @@
4594
4659
  "required": true
4595
4660
  }
4596
4661
  },
4597
- "description": "Refresh stored profile info for an account",
4662
+ "description": "Set limits for an account",
4598
4663
  "examples": [
4599
- "<%= config.bin %> admin accounts reparse f9b4346a-..."
4664
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
4600
4665
  ],
4601
4666
  "flags": {
4602
4667
  "json": {
@@ -4624,11 +4689,40 @@
4624
4689
  "name": "no-color",
4625
4690
  "allowNo": false,
4626
4691
  "type": "boolean"
4692
+ },
4693
+ "category": {
4694
+ "description": "Limit category (e.g. stMessages, stEndorsements)",
4695
+ "name": "category",
4696
+ "required": true,
4697
+ "hasDynamicHelp": false,
4698
+ "multiple": false,
4699
+ "type": "option"
4700
+ },
4701
+ "period": {
4702
+ "description": "Limit period",
4703
+ "name": "period",
4704
+ "required": true,
4705
+ "hasDynamicHelp": false,
4706
+ "multiple": false,
4707
+ "options": [
4708
+ "daily",
4709
+ "weekly",
4710
+ "monthly"
4711
+ ],
4712
+ "type": "option"
4713
+ },
4714
+ "max": {
4715
+ "description": "Maximum allowed actions (>= 0)",
4716
+ "name": "max",
4717
+ "required": true,
4718
+ "hasDynamicHelp": false,
4719
+ "multiple": false,
4720
+ "type": "option"
4627
4721
  }
4628
4722
  },
4629
4723
  "hasDynamicHelp": false,
4630
4724
  "hiddenAliases": [],
4631
- "id": "admin:accounts:reparse",
4725
+ "id": "admin:limits:set",
4632
4726
  "pluginAlias": "@linkedapi/linkedin-cli",
4633
4727
  "pluginName": "@linkedapi/linkedin-cli",
4634
4728
  "pluginType": "core",
@@ -4639,22 +4733,22 @@
4639
4733
  "dist",
4640
4734
  "commands",
4641
4735
  "admin",
4642
- "accounts",
4643
- "reparse.js"
4736
+ "limits",
4737
+ "set.js"
4644
4738
  ]
4645
4739
  },
4646
- "admin:accounts:session": {
4740
+ "admin:limits:usage": {
4647
4741
  "aliases": [],
4648
4742
  "args": {
4649
- "sessionId": {
4650
- "description": "Session UUID",
4651
- "name": "sessionId",
4743
+ "accountId": {
4744
+ "description": "Account UUID",
4745
+ "name": "accountId",
4652
4746
  "required": true
4653
4747
  }
4654
4748
  },
4655
- "description": "Check connection session status",
4749
+ "description": "View current usage against limits",
4656
4750
  "examples": [
4657
- "<%= config.bin %> admin accounts session 990eef7a-..."
4751
+ "<%= config.bin %> admin limits usage f9b4346a-..."
4658
4752
  ],
4659
4753
  "flags": {
4660
4754
  "json": {
@@ -4686,7 +4780,7 @@
4686
4780
  },
4687
4781
  "hasDynamicHelp": false,
4688
4782
  "hiddenAliases": [],
4689
- "id": "admin:accounts:session",
4783
+ "id": "admin:limits:usage",
4690
4784
  "pluginAlias": "@linkedapi/linkedin-cli",
4691
4785
  "pluginName": "@linkedapi/linkedin-cli",
4692
4786
  "pluginType": "core",
@@ -4697,8 +4791,8 @@
4697
4791
  "dist",
4698
4792
  "commands",
4699
4793
  "admin",
4700
- "accounts",
4701
- "session.js"
4794
+ "limits",
4795
+ "usage.js"
4702
4796
  ]
4703
4797
  },
4704
4798
  "admin:webhook:delete-header": {
@@ -5950,7 +6044,7 @@
5950
6044
  "required": true
5951
6045
  }
5952
6046
  },
5953
- "description": "Get Sales Navigator conversation messages",
6047
+ "description": "Get Sales Navigator conversation messages, loading their history on first call. Prefer 'linkedin inbox get --person <url> --type nv' to read messages",
5954
6048
  "examples": [
5955
6049
  "<%= config.bin %> navigator message get https://www.linkedin.com/in/john-doe"
5956
6050
  ],
@@ -6381,5 +6475,5 @@
6381
6475
  ]
6382
6476
  }
6383
6477
  },
6384
- "version": "1.2.20"
6478
+ "version": "1.2.22"
6385
6479
  }