@linkedapi/linkedin-cli 1.0.7 → 1.0.9

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.
Files changed (95) hide show
  1. package/dist/admin-base-command.d.ts +14 -0
  2. package/dist/admin-base-command.d.ts.map +1 -0
  3. package/dist/admin-base-command.js +73 -0
  4. package/dist/admin-base-command.js.map +1 -0
  5. package/dist/commands/admin/accounts/cancel-session.d.ts +16 -0
  6. package/dist/commands/admin/accounts/cancel-session.d.ts.map +1 -0
  7. package/dist/commands/admin/accounts/cancel-session.js +37 -0
  8. package/dist/commands/admin/accounts/cancel-session.js.map +1 -0
  9. package/dist/commands/admin/accounts/connect.d.ts +13 -0
  10. package/dist/commands/admin/accounts/connect.d.ts.map +1 -0
  11. package/dist/commands/admin/accounts/connect.js +28 -0
  12. package/dist/commands/admin/accounts/connect.js.map +1 -0
  13. package/dist/commands/admin/accounts/disconnect.d.ts +16 -0
  14. package/dist/commands/admin/accounts/disconnect.d.ts.map +1 -0
  15. package/dist/commands/admin/accounts/disconnect.js +35 -0
  16. package/dist/commands/admin/accounts/disconnect.js.map +1 -0
  17. package/dist/commands/admin/accounts/list.d.ts +13 -0
  18. package/dist/commands/admin/accounts/list.d.ts.map +1 -0
  19. package/dist/commands/admin/accounts/list.js +28 -0
  20. package/dist/commands/admin/accounts/list.js.map +1 -0
  21. package/dist/commands/admin/accounts/regenerate-token.d.ts +16 -0
  22. package/dist/commands/admin/accounts/regenerate-token.d.ts.map +1 -0
  23. package/dist/commands/admin/accounts/regenerate-token.js +37 -0
  24. package/dist/commands/admin/accounts/regenerate-token.js.map +1 -0
  25. package/dist/commands/admin/accounts/session.d.ts +16 -0
  26. package/dist/commands/admin/accounts/session.d.ts.map +1 -0
  27. package/dist/commands/admin/accounts/session.js +37 -0
  28. package/dist/commands/admin/accounts/session.js.map +1 -0
  29. package/dist/commands/admin/limits/defaults.d.ts +13 -0
  30. package/dist/commands/admin/limits/defaults.d.ts.map +1 -0
  31. package/dist/commands/admin/limits/defaults.js +28 -0
  32. package/dist/commands/admin/limits/defaults.js.map +1 -0
  33. package/dist/commands/admin/limits/delete.d.ts +18 -0
  34. package/dist/commands/admin/limits/delete.d.ts.map +1 -0
  35. package/dist/commands/admin/limits/delete.js +54 -0
  36. package/dist/commands/admin/limits/delete.js.map +1 -0
  37. package/dist/commands/admin/limits/get.d.ts +16 -0
  38. package/dist/commands/admin/limits/get.d.ts.map +1 -0
  39. package/dist/commands/admin/limits/get.js +35 -0
  40. package/dist/commands/admin/limits/get.js.map +1 -0
  41. package/dist/commands/admin/limits/reset.d.ts +16 -0
  42. package/dist/commands/admin/limits/reset.d.ts.map +1 -0
  43. package/dist/commands/admin/limits/reset.js +35 -0
  44. package/dist/commands/admin/limits/reset.js.map +1 -0
  45. package/dist/commands/admin/limits/set.d.ts +19 -0
  46. package/dist/commands/admin/limits/set.d.ts.map +1 -0
  47. package/dist/commands/admin/limits/set.js +60 -0
  48. package/dist/commands/admin/limits/set.js.map +1 -0
  49. package/dist/commands/admin/limits/usage.d.ts +16 -0
  50. package/dist/commands/admin/limits/usage.d.ts.map +1 -0
  51. package/dist/commands/admin/limits/usage.js +35 -0
  52. package/dist/commands/admin/limits/usage.js.map +1 -0
  53. package/dist/commands/admin/subscription/billing-link.d.ts +13 -0
  54. package/dist/commands/admin/subscription/billing-link.d.ts.map +1 -0
  55. package/dist/commands/admin/subscription/billing-link.js +28 -0
  56. package/dist/commands/admin/subscription/billing-link.js.map +1 -0
  57. package/dist/commands/admin/subscription/cancel.d.ts +13 -0
  58. package/dist/commands/admin/subscription/cancel.d.ts.map +1 -0
  59. package/dist/commands/admin/subscription/cancel.js +28 -0
  60. package/dist/commands/admin/subscription/cancel.js.map +1 -0
  61. package/dist/commands/admin/subscription/pricing.d.ts +13 -0
  62. package/dist/commands/admin/subscription/pricing.d.ts.map +1 -0
  63. package/dist/commands/admin/subscription/pricing.js +28 -0
  64. package/dist/commands/admin/subscription/pricing.js.map +1 -0
  65. package/dist/commands/admin/subscription/seats.d.ts +13 -0
  66. package/dist/commands/admin/subscription/seats.d.ts.map +1 -0
  67. package/dist/commands/admin/subscription/seats.js +28 -0
  68. package/dist/commands/admin/subscription/seats.js.map +1 -0
  69. package/dist/commands/admin/subscription/set-seats.d.ts +16 -0
  70. package/dist/commands/admin/subscription/set-seats.d.ts.map +1 -0
  71. package/dist/commands/admin/subscription/set-seats.js +51 -0
  72. package/dist/commands/admin/subscription/set-seats.js.map +1 -0
  73. package/dist/commands/admin/subscription/status.d.ts +13 -0
  74. package/dist/commands/admin/subscription/status.d.ts.map +1 -0
  75. package/dist/commands/admin/subscription/status.js +28 -0
  76. package/dist/commands/admin/subscription/status.js.map +1 -0
  77. package/dist/commands/workflow/status.js +2 -2
  78. package/dist/commands/workflow/status.js.map +1 -1
  79. package/dist/core/auth/auth-manager.d.ts +1 -0
  80. package/dist/core/auth/auth-manager.d.ts.map +1 -1
  81. package/dist/core/auth/auth-manager.js +8 -0
  82. package/dist/core/auth/auth-manager.js.map +1 -1
  83. package/dist/core/client/build-admin-client.d.ts +3 -0
  84. package/dist/core/client/build-admin-client.d.ts.map +1 -0
  85. package/dist/core/client/build-admin-client.js +11 -0
  86. package/dist/core/client/build-admin-client.js.map +1 -0
  87. package/dist/core/errors/error-handler.d.ts.map +1 -1
  88. package/dist/core/errors/error-handler.js +16 -0
  89. package/dist/core/errors/error-handler.js.map +1 -1
  90. package/dist/core/output/admin-formatter.d.ts +11 -0
  91. package/dist/core/output/admin-formatter.d.ts.map +1 -0
  92. package/dist/core/output/admin-formatter.js +116 -0
  93. package/dist/core/output/admin-formatter.js.map +1 -0
  94. package/oclif.manifest.json +1579 -507
  95. package/package.json +14 -2
@@ -209,19 +209,13 @@
209
209
  "update.js"
210
210
  ]
211
211
  },
212
- "company:fetch": {
212
+ "connection:list": {
213
213
  "aliases": [],
214
- "args": {
215
- "url": {
216
- "description": "LinkedIn company URL",
217
- "name": "url",
218
- "required": true
219
- }
220
- },
221
- "description": "Fetch a LinkedIn company profile",
214
+ "args": {},
215
+ "description": "List your LinkedIn connections",
222
216
  "examples": [
223
- "<%= config.bin %> company fetch https://www.linkedin.com/company/microsoft",
224
- "<%= config.bin %> company fetch https://www.linkedin.com/company/google --employees --dms --json"
217
+ "<%= config.bin %> connection list --limit 50",
218
+ "<%= config.bin %> connection list --current-companies Google --json"
225
219
  ],
226
220
  "flags": {
227
221
  "json": {
@@ -257,90 +251,72 @@
257
251
  "multiple": false,
258
252
  "type": "option"
259
253
  },
260
- "employees": {
261
- "description": "Include employee data",
262
- "name": "employees",
263
- "allowNo": false,
264
- "type": "boolean"
265
- },
266
- "dms": {
267
- "description": "Include decision makers",
268
- "name": "dms",
269
- "allowNo": false,
270
- "type": "boolean"
271
- },
272
- "posts": {
273
- "description": "Include company posts",
274
- "name": "posts",
275
- "allowNo": false,
276
- "type": "boolean"
277
- },
278
- "employees-limit": {
279
- "description": "Max employees to retrieve",
280
- "name": "employees-limit",
254
+ "limit": {
255
+ "description": "Max connections to return",
256
+ "name": "limit",
281
257
  "hasDynamicHelp": false,
282
258
  "multiple": false,
283
259
  "type": "option"
284
260
  },
285
- "employees-first-name": {
286
- "description": "Filter employees by first name",
287
- "name": "employees-first-name",
261
+ "since": {
262
+ "description": "Retrieve connections made since ISO timestamp",
263
+ "name": "since",
288
264
  "hasDynamicHelp": false,
289
265
  "multiple": false,
290
266
  "type": "option"
291
267
  },
292
- "employees-last-name": {
293
- "description": "Filter employees by last name",
294
- "name": "employees-last-name",
268
+ "first-name": {
269
+ "description": "Filter by first name",
270
+ "name": "first-name",
295
271
  "hasDynamicHelp": false,
296
272
  "multiple": false,
297
273
  "type": "option"
298
274
  },
299
- "employees-position": {
300
- "description": "Filter employees by position",
301
- "name": "employees-position",
275
+ "last-name": {
276
+ "description": "Filter by last name",
277
+ "name": "last-name",
302
278
  "hasDynamicHelp": false,
303
279
  "multiple": false,
304
280
  "type": "option"
305
281
  },
306
- "employees-locations": {
307
- "description": "Filter employees by locations (comma-separated)",
308
- "name": "employees-locations",
282
+ "position": {
283
+ "description": "Filter by job position",
284
+ "name": "position",
309
285
  "hasDynamicHelp": false,
310
286
  "multiple": false,
311
287
  "type": "option"
312
288
  },
313
- "employees-industries": {
314
- "description": "Filter employees by industries (comma-separated)",
315
- "name": "employees-industries",
289
+ "locations": {
290
+ "description": "Filter by locations (comma-separated)",
291
+ "name": "locations",
316
292
  "hasDynamicHelp": false,
317
293
  "multiple": false,
318
294
  "type": "option"
319
295
  },
320
- "employees-schools": {
321
- "description": "Filter employees by schools (comma-separated)",
322
- "name": "employees-schools",
296
+ "industries": {
297
+ "description": "Filter by industries (comma-separated)",
298
+ "name": "industries",
323
299
  "hasDynamicHelp": false,
324
300
  "multiple": false,
325
301
  "type": "option"
326
302
  },
327
- "dms-limit": {
328
- "description": "Max decision makers to retrieve",
329
- "name": "dms-limit",
303
+ "current-companies": {
304
+ "description": "Filter by current companies (comma-separated)",
305
+ "name": "current-companies",
330
306
  "hasDynamicHelp": false,
331
307
  "multiple": false,
332
308
  "type": "option"
333
309
  },
334
- "posts-limit": {
335
- "description": "Max posts to retrieve",
336
- "name": "posts-limit",
310
+ "previous-companies": {
311
+ "description": "Filter by previous companies (comma-separated)",
312
+ "name": "previous-companies",
337
313
  "hasDynamicHelp": false,
338
314
  "multiple": false,
339
315
  "type": "option"
340
316
  },
341
- "posts-since": {
342
- "description": "Retrieve posts since ISO timestamp",
343
- "name": "posts-since",
317
+ "schools": {
318
+ "description": "Filter by schools (comma-separated)",
319
+ "name": "schools",
344
320
  "hasDynamicHelp": false,
345
321
  "multiple": false,
346
322
  "type": "option"
@@ -348,7 +324,7 @@
348
324
  },
349
325
  "hasDynamicHelp": false,
350
326
  "hiddenAliases": [],
351
- "id": "company:fetch",
327
+ "id": "connection:list",
352
328
  "pluginAlias": "@linkedapi/linkedin-cli",
353
329
  "pluginName": "@linkedapi/linkedin-cli",
354
330
  "pluginType": "core",
@@ -358,17 +334,16 @@
358
334
  "relativePath": [
359
335
  "dist",
360
336
  "commands",
361
- "company",
362
- "fetch.js"
337
+ "connection",
338
+ "list.js"
363
339
  ]
364
340
  },
365
- "company:search": {
341
+ "connection:pending": {
366
342
  "aliases": [],
367
343
  "args": {},
368
- "description": "Search for companies on LinkedIn",
344
+ "description": "List pending connection requests",
369
345
  "examples": [
370
- "<%= config.bin %> company search --term \"fintech\" --sizes \"11-50,51-200\"",
371
- "<%= config.bin %> company search --industries \"Software Development\" --json"
346
+ "<%= config.bin %> connection pending --json"
372
347
  ],
373
348
  "flags": {
374
349
  "json": {
@@ -403,46 +378,11 @@
403
378
  "hasDynamicHelp": false,
404
379
  "multiple": false,
405
380
  "type": "option"
406
- },
407
- "term": {
408
- "description": "Search keyword or phrase",
409
- "name": "term",
410
- "hasDynamicHelp": false,
411
- "multiple": false,
412
- "type": "option"
413
- },
414
- "limit": {
415
- "description": "Max results to return",
416
- "name": "limit",
417
- "hasDynamicHelp": false,
418
- "multiple": false,
419
- "type": "option"
420
- },
421
- "sizes": {
422
- "description": "Filter by company sizes (comma-separated, e.g. \"1-10,11-50,51-200\")",
423
- "name": "sizes",
424
- "hasDynamicHelp": false,
425
- "multiple": false,
426
- "type": "option"
427
- },
428
- "locations": {
429
- "description": "Filter by locations (comma-separated)",
430
- "name": "locations",
431
- "hasDynamicHelp": false,
432
- "multiple": false,
433
- "type": "option"
434
- },
435
- "industries": {
436
- "description": "Filter by industries (comma-separated)",
437
- "name": "industries",
438
- "hasDynamicHelp": false,
439
- "multiple": false,
440
- "type": "option"
441
381
  }
442
382
  },
443
383
  "hasDynamicHelp": false,
444
384
  "hiddenAliases": [],
445
- "id": "company:search",
385
+ "id": "connection:pending",
446
386
  "pluginAlias": "@linkedapi/linkedin-cli",
447
387
  "pluginName": "@linkedapi/linkedin-cli",
448
388
  "pluginType": "core",
@@ -452,23 +392,22 @@
452
392
  "relativePath": [
453
393
  "dist",
454
394
  "commands",
455
- "company",
456
- "search.js"
395
+ "connection",
396
+ "pending.js"
457
397
  ]
458
398
  },
459
- "message:get": {
399
+ "connection:remove": {
460
400
  "aliases": [],
461
401
  "args": {
462
- "person-url": {
402
+ "url": {
463
403
  "description": "LinkedIn profile URL",
464
- "name": "person-url",
404
+ "name": "url",
465
405
  "required": true
466
406
  }
467
407
  },
468
- "description": "Get conversation messages with a LinkedIn person",
408
+ "description": "Remove a LinkedIn connection",
469
409
  "examples": [
470
- "<%= config.bin %> message get https://www.linkedin.com/in/john-doe",
471
- "<%= config.bin %> message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z"
410
+ "<%= config.bin %> connection remove https://www.linkedin.com/in/john-doe"
472
411
  ],
473
412
  "flags": {
474
413
  "json": {
@@ -503,18 +442,11 @@
503
442
  "hasDynamicHelp": false,
504
443
  "multiple": false,
505
444
  "type": "option"
506
- },
507
- "since": {
508
- "description": "Retrieve messages since ISO timestamp",
509
- "name": "since",
510
- "hasDynamicHelp": false,
511
- "multiple": false,
512
- "type": "option"
513
445
  }
514
446
  },
515
447
  "hasDynamicHelp": false,
516
448
  "hiddenAliases": [],
517
- "id": "message:get",
449
+ "id": "connection:remove",
518
450
  "pluginAlias": "@linkedapi/linkedin-cli",
519
451
  "pluginName": "@linkedapi/linkedin-cli",
520
452
  "pluginType": "core",
@@ -524,27 +456,23 @@
524
456
  "relativePath": [
525
457
  "dist",
526
458
  "commands",
527
- "message",
528
- "get.js"
459
+ "connection",
460
+ "remove.js"
529
461
  ]
530
462
  },
531
- "message:send": {
463
+ "connection:send": {
532
464
  "aliases": [],
533
465
  "args": {
534
- "person-url": {
535
- "description": "LinkedIn profile URL of the recipient",
536
- "name": "person-url",
537
- "required": true
538
- },
539
- "text": {
540
- "description": "Message text (up to 1900 characters)",
541
- "name": "text",
466
+ "url": {
467
+ "description": "LinkedIn profile URL",
468
+ "name": "url",
542
469
  "required": true
543
470
  }
544
471
  },
545
- "description": "Send a message to a LinkedIn person",
472
+ "description": "Send a connection request to a LinkedIn person",
546
473
  "examples": [
547
- "<%= config.bin %> message send https://www.linkedin.com/in/john-doe \"Hello John!\""
474
+ "<%= config.bin %> connection send https://www.linkedin.com/in/john-doe",
475
+ "<%= config.bin %> connection send https://www.linkedin.com/in/john-doe --note \"Love to connect!\""
548
476
  ],
549
477
  "flags": {
550
478
  "json": {
@@ -579,11 +507,25 @@
579
507
  "hasDynamicHelp": false,
580
508
  "multiple": false,
581
509
  "type": "option"
510
+ },
511
+ "note": {
512
+ "description": "Personalized note to include with the request",
513
+ "name": "note",
514
+ "hasDynamicHelp": false,
515
+ "multiple": false,
516
+ "type": "option"
517
+ },
518
+ "email": {
519
+ "description": "Email address (required by some profiles)",
520
+ "name": "email",
521
+ "hasDynamicHelp": false,
522
+ "multiple": false,
523
+ "type": "option"
582
524
  }
583
525
  },
584
526
  "hasDynamicHelp": false,
585
527
  "hiddenAliases": [],
586
- "id": "message:send",
528
+ "id": "connection:send",
587
529
  "pluginAlias": "@linkedapi/linkedin-cli",
588
530
  "pluginName": "@linkedapi/linkedin-cli",
589
531
  "pluginType": "core",
@@ -593,17 +535,22 @@
593
535
  "relativePath": [
594
536
  "dist",
595
537
  "commands",
596
- "message",
538
+ "connection",
597
539
  "send.js"
598
540
  ]
599
541
  },
600
- "connection:list": {
542
+ "connection:status": {
601
543
  "aliases": [],
602
- "args": {},
603
- "description": "List your LinkedIn connections",
544
+ "args": {
545
+ "url": {
546
+ "description": "LinkedIn profile URL",
547
+ "name": "url",
548
+ "required": true
549
+ }
550
+ },
551
+ "description": "Check connection status with a LinkedIn person",
604
552
  "examples": [
605
- "<%= config.bin %> connection list --limit 50",
606
- "<%= config.bin %> connection list --current-companies Google --json"
553
+ "<%= config.bin %> connection status https://www.linkedin.com/in/john-doe"
607
554
  ],
608
555
  "flags": {
609
556
  "json": {
@@ -638,81 +585,11 @@
638
585
  "hasDynamicHelp": false,
639
586
  "multiple": false,
640
587
  "type": "option"
641
- },
642
- "limit": {
643
- "description": "Max connections to return",
644
- "name": "limit",
645
- "hasDynamicHelp": false,
646
- "multiple": false,
647
- "type": "option"
648
- },
649
- "since": {
650
- "description": "Retrieve connections made since ISO timestamp",
651
- "name": "since",
652
- "hasDynamicHelp": false,
653
- "multiple": false,
654
- "type": "option"
655
- },
656
- "first-name": {
657
- "description": "Filter by first name",
658
- "name": "first-name",
659
- "hasDynamicHelp": false,
660
- "multiple": false,
661
- "type": "option"
662
- },
663
- "last-name": {
664
- "description": "Filter by last name",
665
- "name": "last-name",
666
- "hasDynamicHelp": false,
667
- "multiple": false,
668
- "type": "option"
669
- },
670
- "position": {
671
- "description": "Filter by job position",
672
- "name": "position",
673
- "hasDynamicHelp": false,
674
- "multiple": false,
675
- "type": "option"
676
- },
677
- "locations": {
678
- "description": "Filter by locations (comma-separated)",
679
- "name": "locations",
680
- "hasDynamicHelp": false,
681
- "multiple": false,
682
- "type": "option"
683
- },
684
- "industries": {
685
- "description": "Filter by industries (comma-separated)",
686
- "name": "industries",
687
- "hasDynamicHelp": false,
688
- "multiple": false,
689
- "type": "option"
690
- },
691
- "current-companies": {
692
- "description": "Filter by current companies (comma-separated)",
693
- "name": "current-companies",
694
- "hasDynamicHelp": false,
695
- "multiple": false,
696
- "type": "option"
697
- },
698
- "previous-companies": {
699
- "description": "Filter by previous companies (comma-separated)",
700
- "name": "previous-companies",
701
- "hasDynamicHelp": false,
702
- "multiple": false,
703
- "type": "option"
704
- },
705
- "schools": {
706
- "description": "Filter by schools (comma-separated)",
707
- "name": "schools",
708
- "hasDynamicHelp": false,
709
- "multiple": false,
710
- "type": "option"
711
588
  }
712
589
  },
713
590
  "hasDynamicHelp": false,
714
591
  "hiddenAliases": [],
715
- "id": "connection:list",
592
+ "id": "connection:status",
716
593
  "pluginAlias": "@linkedapi/linkedin-cli",
717
594
  "pluginName": "@linkedapi/linkedin-cli",
718
595
  "pluginType": "core",
@@ -723,15 +600,21 @@
723
600
  "dist",
724
601
  "commands",
725
602
  "connection",
726
- "list.js"
603
+ "status.js"
727
604
  ]
728
605
  },
729
- "connection:pending": {
606
+ "connection:withdraw": {
730
607
  "aliases": [],
731
- "args": {},
732
- "description": "List pending connection requests",
608
+ "args": {
609
+ "url": {
610
+ "description": "LinkedIn profile URL",
611
+ "name": "url",
612
+ "required": true
613
+ }
614
+ },
615
+ "description": "Withdraw a pending connection request",
733
616
  "examples": [
734
- "<%= config.bin %> connection pending --json"
617
+ "<%= config.bin %> connection withdraw https://www.linkedin.com/in/john-doe"
735
618
  ],
736
619
  "flags": {
737
620
  "json": {
@@ -766,11 +649,17 @@
766
649
  "hasDynamicHelp": false,
767
650
  "multiple": false,
768
651
  "type": "option"
652
+ },
653
+ "unfollow": {
654
+ "description": "Also unfollow the person (default: true)",
655
+ "name": "unfollow",
656
+ "allowNo": true,
657
+ "type": "boolean"
769
658
  }
770
659
  },
771
660
  "hasDynamicHelp": false,
772
661
  "hiddenAliases": [],
773
- "id": "connection:pending",
662
+ "id": "connection:withdraw",
774
663
  "pluginAlias": "@linkedapi/linkedin-cli",
775
664
  "pluginName": "@linkedapi/linkedin-cli",
776
665
  "pluginType": "core",
@@ -781,21 +670,22 @@
781
670
  "dist",
782
671
  "commands",
783
672
  "connection",
784
- "pending.js"
673
+ "withdraw.js"
785
674
  ]
786
675
  },
787
- "connection:remove": {
676
+ "message:get": {
788
677
  "aliases": [],
789
678
  "args": {
790
- "url": {
679
+ "person-url": {
791
680
  "description": "LinkedIn profile URL",
792
- "name": "url",
681
+ "name": "person-url",
793
682
  "required": true
794
683
  }
795
684
  },
796
- "description": "Remove a LinkedIn connection",
685
+ "description": "Get conversation messages with a LinkedIn person",
797
686
  "examples": [
798
- "<%= config.bin %> connection remove https://www.linkedin.com/in/john-doe"
687
+ "<%= config.bin %> message get https://www.linkedin.com/in/john-doe",
688
+ "<%= config.bin %> message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z"
799
689
  ],
800
690
  "flags": {
801
691
  "json": {
@@ -830,11 +720,18 @@
830
720
  "hasDynamicHelp": false,
831
721
  "multiple": false,
832
722
  "type": "option"
723
+ },
724
+ "since": {
725
+ "description": "Retrieve messages since ISO timestamp",
726
+ "name": "since",
727
+ "hasDynamicHelp": false,
728
+ "multiple": false,
729
+ "type": "option"
833
730
  }
834
731
  },
835
732
  "hasDynamicHelp": false,
836
733
  "hiddenAliases": [],
837
- "id": "connection:remove",
734
+ "id": "message:get",
838
735
  "pluginAlias": "@linkedapi/linkedin-cli",
839
736
  "pluginName": "@linkedapi/linkedin-cli",
840
737
  "pluginType": "core",
@@ -844,23 +741,27 @@
844
741
  "relativePath": [
845
742
  "dist",
846
743
  "commands",
847
- "connection",
848
- "remove.js"
744
+ "message",
745
+ "get.js"
849
746
  ]
850
747
  },
851
- "connection:send": {
748
+ "message:send": {
852
749
  "aliases": [],
853
750
  "args": {
854
- "url": {
855
- "description": "LinkedIn profile URL",
856
- "name": "url",
751
+ "person-url": {
752
+ "description": "LinkedIn profile URL of the recipient",
753
+ "name": "person-url",
754
+ "required": true
755
+ },
756
+ "text": {
757
+ "description": "Message text (up to 1900 characters)",
758
+ "name": "text",
857
759
  "required": true
858
760
  }
859
761
  },
860
- "description": "Send a connection request to a LinkedIn person",
762
+ "description": "Send a message to a LinkedIn person",
861
763
  "examples": [
862
- "<%= config.bin %> connection send https://www.linkedin.com/in/john-doe",
863
- "<%= config.bin %> connection send https://www.linkedin.com/in/john-doe --note \"Love to connect!\""
764
+ "<%= config.bin %> message send https://www.linkedin.com/in/john-doe \"Hello John!\""
864
765
  ],
865
766
  "flags": {
866
767
  "json": {
@@ -895,25 +796,11 @@
895
796
  "hasDynamicHelp": false,
896
797
  "multiple": false,
897
798
  "type": "option"
898
- },
899
- "note": {
900
- "description": "Personalized note to include with the request",
901
- "name": "note",
902
- "hasDynamicHelp": false,
903
- "multiple": false,
904
- "type": "option"
905
- },
906
- "email": {
907
- "description": "Email address (required by some profiles)",
908
- "name": "email",
909
- "hasDynamicHelp": false,
910
- "multiple": false,
911
- "type": "option"
912
799
  }
913
800
  },
914
801
  "hasDynamicHelp": false,
915
802
  "hiddenAliases": [],
916
- "id": "connection:send",
803
+ "id": "message:send",
917
804
  "pluginAlias": "@linkedapi/linkedin-cli",
918
805
  "pluginName": "@linkedapi/linkedin-cli",
919
806
  "pluginType": "core",
@@ -923,22 +810,23 @@
923
810
  "relativePath": [
924
811
  "dist",
925
812
  "commands",
926
- "connection",
813
+ "message",
927
814
  "send.js"
928
815
  ]
929
816
  },
930
- "connection:status": {
817
+ "company:fetch": {
931
818
  "aliases": [],
932
819
  "args": {
933
820
  "url": {
934
- "description": "LinkedIn profile URL",
821
+ "description": "LinkedIn company URL",
935
822
  "name": "url",
936
823
  "required": true
937
824
  }
938
825
  },
939
- "description": "Check connection status with a LinkedIn person",
826
+ "description": "Fetch a LinkedIn company profile",
940
827
  "examples": [
941
- "<%= config.bin %> connection status https://www.linkedin.com/in/john-doe"
828
+ "<%= config.bin %> company fetch https://www.linkedin.com/company/microsoft",
829
+ "<%= config.bin %> company fetch https://www.linkedin.com/company/google --employees --dms --json"
942
830
  ],
943
831
  "flags": {
944
832
  "json": {
@@ -973,11 +861,99 @@
973
861
  "hasDynamicHelp": false,
974
862
  "multiple": false,
975
863
  "type": "option"
864
+ },
865
+ "employees": {
866
+ "description": "Include employee data",
867
+ "name": "employees",
868
+ "allowNo": false,
869
+ "type": "boolean"
870
+ },
871
+ "dms": {
872
+ "description": "Include decision makers",
873
+ "name": "dms",
874
+ "allowNo": false,
875
+ "type": "boolean"
876
+ },
877
+ "posts": {
878
+ "description": "Include company posts",
879
+ "name": "posts",
880
+ "allowNo": false,
881
+ "type": "boolean"
882
+ },
883
+ "employees-limit": {
884
+ "description": "Max employees to retrieve",
885
+ "name": "employees-limit",
886
+ "hasDynamicHelp": false,
887
+ "multiple": false,
888
+ "type": "option"
889
+ },
890
+ "employees-first-name": {
891
+ "description": "Filter employees by first name",
892
+ "name": "employees-first-name",
893
+ "hasDynamicHelp": false,
894
+ "multiple": false,
895
+ "type": "option"
896
+ },
897
+ "employees-last-name": {
898
+ "description": "Filter employees by last name",
899
+ "name": "employees-last-name",
900
+ "hasDynamicHelp": false,
901
+ "multiple": false,
902
+ "type": "option"
903
+ },
904
+ "employees-position": {
905
+ "description": "Filter employees by position",
906
+ "name": "employees-position",
907
+ "hasDynamicHelp": false,
908
+ "multiple": false,
909
+ "type": "option"
910
+ },
911
+ "employees-locations": {
912
+ "description": "Filter employees by locations (comma-separated)",
913
+ "name": "employees-locations",
914
+ "hasDynamicHelp": false,
915
+ "multiple": false,
916
+ "type": "option"
917
+ },
918
+ "employees-industries": {
919
+ "description": "Filter employees by industries (comma-separated)",
920
+ "name": "employees-industries",
921
+ "hasDynamicHelp": false,
922
+ "multiple": false,
923
+ "type": "option"
924
+ },
925
+ "employees-schools": {
926
+ "description": "Filter employees by schools (comma-separated)",
927
+ "name": "employees-schools",
928
+ "hasDynamicHelp": false,
929
+ "multiple": false,
930
+ "type": "option"
931
+ },
932
+ "dms-limit": {
933
+ "description": "Max decision makers to retrieve",
934
+ "name": "dms-limit",
935
+ "hasDynamicHelp": false,
936
+ "multiple": false,
937
+ "type": "option"
938
+ },
939
+ "posts-limit": {
940
+ "description": "Max posts to retrieve",
941
+ "name": "posts-limit",
942
+ "hasDynamicHelp": false,
943
+ "multiple": false,
944
+ "type": "option"
945
+ },
946
+ "posts-since": {
947
+ "description": "Retrieve posts since ISO timestamp",
948
+ "name": "posts-since",
949
+ "hasDynamicHelp": false,
950
+ "multiple": false,
951
+ "type": "option"
976
952
  }
977
953
  },
978
954
  "hasDynamicHelp": false,
979
955
  "hiddenAliases": [],
980
- "id": "connection:status",
956
+ "id": "company:fetch",
981
957
  "pluginAlias": "@linkedapi/linkedin-cli",
982
958
  "pluginName": "@linkedapi/linkedin-cli",
983
959
  "pluginType": "core",
@@ -987,22 +963,17 @@
987
963
  "relativePath": [
988
964
  "dist",
989
965
  "commands",
990
- "connection",
991
- "status.js"
966
+ "company",
967
+ "fetch.js"
992
968
  ]
993
969
  },
994
- "connection:withdraw": {
970
+ "company:search": {
995
971
  "aliases": [],
996
- "args": {
997
- "url": {
998
- "description": "LinkedIn profile URL",
999
- "name": "url",
1000
- "required": true
1001
- }
1002
- },
1003
- "description": "Withdraw a pending connection request",
972
+ "args": {},
973
+ "description": "Search for companies on LinkedIn",
1004
974
  "examples": [
1005
- "<%= config.bin %> connection withdraw https://www.linkedin.com/in/john-doe"
975
+ "<%= config.bin %> company search --term \"fintech\" --sizes \"11-50,51-200\"",
976
+ "<%= config.bin %> company search --industries \"Software Development\" --json"
1006
977
  ],
1007
978
  "flags": {
1008
979
  "json": {
@@ -1038,27 +1009,56 @@
1038
1009
  "multiple": false,
1039
1010
  "type": "option"
1040
1011
  },
1041
- "unfollow": {
1042
- "description": "Also unfollow the person (default: true)",
1043
- "name": "unfollow",
1044
- "allowNo": true,
1045
- "type": "boolean"
1046
- }
1047
- },
1048
- "hasDynamicHelp": false,
1049
- "hiddenAliases": [],
1050
- "id": "connection:withdraw",
1051
- "pluginAlias": "@linkedapi/linkedin-cli",
1052
- "pluginName": "@linkedapi/linkedin-cli",
1053
- "pluginType": "core",
1012
+ "term": {
1013
+ "description": "Search keyword or phrase",
1014
+ "name": "term",
1015
+ "hasDynamicHelp": false,
1016
+ "multiple": false,
1017
+ "type": "option"
1018
+ },
1019
+ "limit": {
1020
+ "description": "Max results to return",
1021
+ "name": "limit",
1022
+ "hasDynamicHelp": false,
1023
+ "multiple": false,
1024
+ "type": "option"
1025
+ },
1026
+ "sizes": {
1027
+ "description": "Filter by company sizes (comma-separated, e.g. \"1-10,11-50,51-200\")",
1028
+ "name": "sizes",
1029
+ "hasDynamicHelp": false,
1030
+ "multiple": false,
1031
+ "type": "option"
1032
+ },
1033
+ "locations": {
1034
+ "description": "Filter by locations (comma-separated)",
1035
+ "name": "locations",
1036
+ "hasDynamicHelp": false,
1037
+ "multiple": false,
1038
+ "type": "option"
1039
+ },
1040
+ "industries": {
1041
+ "description": "Filter by industries (comma-separated)",
1042
+ "name": "industries",
1043
+ "hasDynamicHelp": false,
1044
+ "multiple": false,
1045
+ "type": "option"
1046
+ }
1047
+ },
1048
+ "hasDynamicHelp": false,
1049
+ "hiddenAliases": [],
1050
+ "id": "company:search",
1051
+ "pluginAlias": "@linkedapi/linkedin-cli",
1052
+ "pluginName": "@linkedapi/linkedin-cli",
1053
+ "pluginType": "core",
1054
1054
  "strict": true,
1055
1055
  "enableJsonFlag": false,
1056
1056
  "isESM": false,
1057
1057
  "relativePath": [
1058
1058
  "dist",
1059
1059
  "commands",
1060
- "connection",
1061
- "withdraw.js"
1060
+ "company",
1061
+ "search.js"
1062
1062
  ]
1063
1063
  },
1064
1064
  "person:fetch": {
@@ -1391,17 +1391,1201 @@
1391
1391
  "multiple": false,
1392
1392
  "type": "option"
1393
1393
  },
1394
- "company-url": {
1395
- "description": "Comment on behalf of a company page",
1396
- "name": "company-url",
1397
- "hasDynamicHelp": false,
1398
- "multiple": false,
1399
- "type": "option"
1394
+ "company-url": {
1395
+ "description": "Comment on behalf of a company page",
1396
+ "name": "company-url",
1397
+ "hasDynamicHelp": false,
1398
+ "multiple": false,
1399
+ "type": "option"
1400
+ }
1401
+ },
1402
+ "hasDynamicHelp": false,
1403
+ "hiddenAliases": [],
1404
+ "id": "post:comment",
1405
+ "pluginAlias": "@linkedapi/linkedin-cli",
1406
+ "pluginName": "@linkedapi/linkedin-cli",
1407
+ "pluginType": "core",
1408
+ "strict": true,
1409
+ "enableJsonFlag": false,
1410
+ "isESM": false,
1411
+ "relativePath": [
1412
+ "dist",
1413
+ "commands",
1414
+ "post",
1415
+ "comment.js"
1416
+ ]
1417
+ },
1418
+ "post:create": {
1419
+ "aliases": [],
1420
+ "args": {
1421
+ "text": {
1422
+ "description": "Post text (up to 3000 characters)",
1423
+ "name": "text",
1424
+ "required": true
1425
+ }
1426
+ },
1427
+ "description": "Create a LinkedIn post",
1428
+ "examples": [
1429
+ "<%= config.bin %> post create \"Excited to share our latest update!\"",
1430
+ "<%= config.bin %> post create \"Check this out\" --attachments \"https://example.com/img.jpg:image\""
1431
+ ],
1432
+ "flags": {
1433
+ "json": {
1434
+ "description": "Output as JSON",
1435
+ "name": "json",
1436
+ "allowNo": false,
1437
+ "type": "boolean"
1438
+ },
1439
+ "fields": {
1440
+ "description": "Comma-separated list of fields to include in output",
1441
+ "name": "fields",
1442
+ "hasDynamicHelp": false,
1443
+ "multiple": false,
1444
+ "type": "option"
1445
+ },
1446
+ "quiet": {
1447
+ "char": "q",
1448
+ "description": "Suppress progress output on stderr",
1449
+ "name": "quiet",
1450
+ "allowNo": false,
1451
+ "type": "boolean"
1452
+ },
1453
+ "no-color": {
1454
+ "description": "Disable colored output",
1455
+ "name": "no-color",
1456
+ "allowNo": false,
1457
+ "type": "boolean"
1458
+ },
1459
+ "account": {
1460
+ "description": "Account name to use (when multiple accounts are configured)",
1461
+ "name": "account",
1462
+ "hasDynamicHelp": false,
1463
+ "multiple": false,
1464
+ "type": "option"
1465
+ },
1466
+ "company-url": {
1467
+ "description": "Post on behalf of a company page",
1468
+ "name": "company-url",
1469
+ "hasDynamicHelp": false,
1470
+ "multiple": false,
1471
+ "type": "option"
1472
+ },
1473
+ "attachments": {
1474
+ "description": "Attachments as url:type[:name] (comma-separated, type: image|video|document)",
1475
+ "name": "attachments",
1476
+ "hasDynamicHelp": false,
1477
+ "multiple": true,
1478
+ "type": "option"
1479
+ }
1480
+ },
1481
+ "hasDynamicHelp": false,
1482
+ "hiddenAliases": [],
1483
+ "id": "post:create",
1484
+ "pluginAlias": "@linkedapi/linkedin-cli",
1485
+ "pluginName": "@linkedapi/linkedin-cli",
1486
+ "pluginType": "core",
1487
+ "strict": true,
1488
+ "enableJsonFlag": false,
1489
+ "isESM": false,
1490
+ "relativePath": [
1491
+ "dist",
1492
+ "commands",
1493
+ "post",
1494
+ "create.js"
1495
+ ]
1496
+ },
1497
+ "post:fetch": {
1498
+ "aliases": [],
1499
+ "args": {
1500
+ "url": {
1501
+ "description": "LinkedIn post URL",
1502
+ "name": "url",
1503
+ "required": true
1504
+ }
1505
+ },
1506
+ "description": "Fetch a LinkedIn post",
1507
+ "examples": [
1508
+ "<%= config.bin %> post fetch https://www.linkedin.com/posts/john-doe_activity-123",
1509
+ "<%= config.bin %> post fetch https://www.linkedin.com/posts/john-doe_activity-123 --comments --reactions --json"
1510
+ ],
1511
+ "flags": {
1512
+ "json": {
1513
+ "description": "Output as JSON",
1514
+ "name": "json",
1515
+ "allowNo": false,
1516
+ "type": "boolean"
1517
+ },
1518
+ "fields": {
1519
+ "description": "Comma-separated list of fields to include in output",
1520
+ "name": "fields",
1521
+ "hasDynamicHelp": false,
1522
+ "multiple": false,
1523
+ "type": "option"
1524
+ },
1525
+ "quiet": {
1526
+ "char": "q",
1527
+ "description": "Suppress progress output on stderr",
1528
+ "name": "quiet",
1529
+ "allowNo": false,
1530
+ "type": "boolean"
1531
+ },
1532
+ "no-color": {
1533
+ "description": "Disable colored output",
1534
+ "name": "no-color",
1535
+ "allowNo": false,
1536
+ "type": "boolean"
1537
+ },
1538
+ "account": {
1539
+ "description": "Account name to use (when multiple accounts are configured)",
1540
+ "name": "account",
1541
+ "hasDynamicHelp": false,
1542
+ "multiple": false,
1543
+ "type": "option"
1544
+ },
1545
+ "comments": {
1546
+ "description": "Include comments",
1547
+ "name": "comments",
1548
+ "allowNo": false,
1549
+ "type": "boolean"
1550
+ },
1551
+ "reactions": {
1552
+ "description": "Include reactions",
1553
+ "name": "reactions",
1554
+ "allowNo": false,
1555
+ "type": "boolean"
1556
+ },
1557
+ "comments-limit": {
1558
+ "description": "Max comments to retrieve",
1559
+ "name": "comments-limit",
1560
+ "hasDynamicHelp": false,
1561
+ "multiple": false,
1562
+ "type": "option"
1563
+ },
1564
+ "comments-sort": {
1565
+ "description": "Comment sort order",
1566
+ "name": "comments-sort",
1567
+ "hasDynamicHelp": false,
1568
+ "multiple": false,
1569
+ "options": [
1570
+ "mostRelevant",
1571
+ "mostRecent"
1572
+ ],
1573
+ "type": "option"
1574
+ },
1575
+ "comments-replies": {
1576
+ "description": "Include comment replies",
1577
+ "name": "comments-replies",
1578
+ "allowNo": false,
1579
+ "type": "boolean"
1580
+ },
1581
+ "reactions-limit": {
1582
+ "description": "Max reactions to retrieve",
1583
+ "name": "reactions-limit",
1584
+ "hasDynamicHelp": false,
1585
+ "multiple": false,
1586
+ "type": "option"
1587
+ }
1588
+ },
1589
+ "hasDynamicHelp": false,
1590
+ "hiddenAliases": [],
1591
+ "id": "post:fetch",
1592
+ "pluginAlias": "@linkedapi/linkedin-cli",
1593
+ "pluginName": "@linkedapi/linkedin-cli",
1594
+ "pluginType": "core",
1595
+ "strict": true,
1596
+ "enableJsonFlag": false,
1597
+ "isESM": false,
1598
+ "relativePath": [
1599
+ "dist",
1600
+ "commands",
1601
+ "post",
1602
+ "fetch.js"
1603
+ ]
1604
+ },
1605
+ "post:react": {
1606
+ "aliases": [],
1607
+ "args": {
1608
+ "url": {
1609
+ "description": "LinkedIn post URL",
1610
+ "name": "url",
1611
+ "required": true
1612
+ }
1613
+ },
1614
+ "description": "React to a LinkedIn post",
1615
+ "examples": [
1616
+ "<%= config.bin %> post react https://www.linkedin.com/posts/john-doe_activity-123 --type like"
1617
+ ],
1618
+ "flags": {
1619
+ "json": {
1620
+ "description": "Output as JSON",
1621
+ "name": "json",
1622
+ "allowNo": false,
1623
+ "type": "boolean"
1624
+ },
1625
+ "fields": {
1626
+ "description": "Comma-separated list of fields to include in output",
1627
+ "name": "fields",
1628
+ "hasDynamicHelp": false,
1629
+ "multiple": false,
1630
+ "type": "option"
1631
+ },
1632
+ "quiet": {
1633
+ "char": "q",
1634
+ "description": "Suppress progress output on stderr",
1635
+ "name": "quiet",
1636
+ "allowNo": false,
1637
+ "type": "boolean"
1638
+ },
1639
+ "no-color": {
1640
+ "description": "Disable colored output",
1641
+ "name": "no-color",
1642
+ "allowNo": false,
1643
+ "type": "boolean"
1644
+ },
1645
+ "account": {
1646
+ "description": "Account name to use (when multiple accounts are configured)",
1647
+ "name": "account",
1648
+ "hasDynamicHelp": false,
1649
+ "multiple": false,
1650
+ "type": "option"
1651
+ },
1652
+ "type": {
1653
+ "description": "Reaction type",
1654
+ "name": "type",
1655
+ "required": true,
1656
+ "hasDynamicHelp": false,
1657
+ "multiple": false,
1658
+ "options": [
1659
+ "like",
1660
+ "love",
1661
+ "support",
1662
+ "celebrate",
1663
+ "insightful",
1664
+ "funny"
1665
+ ],
1666
+ "type": "option"
1667
+ },
1668
+ "company-url": {
1669
+ "description": "React on behalf of a company page",
1670
+ "name": "company-url",
1671
+ "hasDynamicHelp": false,
1672
+ "multiple": false,
1673
+ "type": "option"
1674
+ }
1675
+ },
1676
+ "hasDynamicHelp": false,
1677
+ "hiddenAliases": [],
1678
+ "id": "post:react",
1679
+ "pluginAlias": "@linkedapi/linkedin-cli",
1680
+ "pluginName": "@linkedapi/linkedin-cli",
1681
+ "pluginType": "core",
1682
+ "strict": true,
1683
+ "enableJsonFlag": false,
1684
+ "isESM": false,
1685
+ "relativePath": [
1686
+ "dist",
1687
+ "commands",
1688
+ "post",
1689
+ "react.js"
1690
+ ]
1691
+ },
1692
+ "stats:performance": {
1693
+ "aliases": [],
1694
+ "args": {},
1695
+ "description": "Retrieve your LinkedIn performance analytics",
1696
+ "examples": [
1697
+ "<%= config.bin %> stats performance --json"
1698
+ ],
1699
+ "flags": {
1700
+ "json": {
1701
+ "description": "Output as JSON",
1702
+ "name": "json",
1703
+ "allowNo": false,
1704
+ "type": "boolean"
1705
+ },
1706
+ "fields": {
1707
+ "description": "Comma-separated list of fields to include in output",
1708
+ "name": "fields",
1709
+ "hasDynamicHelp": false,
1710
+ "multiple": false,
1711
+ "type": "option"
1712
+ },
1713
+ "quiet": {
1714
+ "char": "q",
1715
+ "description": "Suppress progress output on stderr",
1716
+ "name": "quiet",
1717
+ "allowNo": false,
1718
+ "type": "boolean"
1719
+ },
1720
+ "no-color": {
1721
+ "description": "Disable colored output",
1722
+ "name": "no-color",
1723
+ "allowNo": false,
1724
+ "type": "boolean"
1725
+ },
1726
+ "account": {
1727
+ "description": "Account name to use (when multiple accounts are configured)",
1728
+ "name": "account",
1729
+ "hasDynamicHelp": false,
1730
+ "multiple": false,
1731
+ "type": "option"
1732
+ }
1733
+ },
1734
+ "hasDynamicHelp": false,
1735
+ "hiddenAliases": [],
1736
+ "id": "stats:performance",
1737
+ "pluginAlias": "@linkedapi/linkedin-cli",
1738
+ "pluginName": "@linkedapi/linkedin-cli",
1739
+ "pluginType": "core",
1740
+ "strict": true,
1741
+ "enableJsonFlag": false,
1742
+ "isESM": false,
1743
+ "relativePath": [
1744
+ "dist",
1745
+ "commands",
1746
+ "stats",
1747
+ "performance.js"
1748
+ ]
1749
+ },
1750
+ "stats:ssi": {
1751
+ "aliases": [],
1752
+ "args": {},
1753
+ "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
1754
+ "examples": [
1755
+ "<%= config.bin %> stats ssi --json"
1756
+ ],
1757
+ "flags": {
1758
+ "json": {
1759
+ "description": "Output as JSON",
1760
+ "name": "json",
1761
+ "allowNo": false,
1762
+ "type": "boolean"
1763
+ },
1764
+ "fields": {
1765
+ "description": "Comma-separated list of fields to include in output",
1766
+ "name": "fields",
1767
+ "hasDynamicHelp": false,
1768
+ "multiple": false,
1769
+ "type": "option"
1770
+ },
1771
+ "quiet": {
1772
+ "char": "q",
1773
+ "description": "Suppress progress output on stderr",
1774
+ "name": "quiet",
1775
+ "allowNo": false,
1776
+ "type": "boolean"
1777
+ },
1778
+ "no-color": {
1779
+ "description": "Disable colored output",
1780
+ "name": "no-color",
1781
+ "allowNo": false,
1782
+ "type": "boolean"
1783
+ },
1784
+ "account": {
1785
+ "description": "Account name to use (when multiple accounts are configured)",
1786
+ "name": "account",
1787
+ "hasDynamicHelp": false,
1788
+ "multiple": false,
1789
+ "type": "option"
1790
+ }
1791
+ },
1792
+ "hasDynamicHelp": false,
1793
+ "hiddenAliases": [],
1794
+ "id": "stats:ssi",
1795
+ "pluginAlias": "@linkedapi/linkedin-cli",
1796
+ "pluginName": "@linkedapi/linkedin-cli",
1797
+ "pluginType": "core",
1798
+ "strict": true,
1799
+ "enableJsonFlag": false,
1800
+ "isESM": false,
1801
+ "relativePath": [
1802
+ "dist",
1803
+ "commands",
1804
+ "stats",
1805
+ "ssi.js"
1806
+ ]
1807
+ },
1808
+ "stats:usage": {
1809
+ "aliases": [],
1810
+ "args": {},
1811
+ "description": "Retrieve Linked API usage statistics",
1812
+ "examples": [
1813
+ "<%= config.bin %> stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json"
1814
+ ],
1815
+ "flags": {
1816
+ "json": {
1817
+ "description": "Output as JSON",
1818
+ "name": "json",
1819
+ "allowNo": false,
1820
+ "type": "boolean"
1821
+ },
1822
+ "fields": {
1823
+ "description": "Comma-separated list of fields to include in output",
1824
+ "name": "fields",
1825
+ "hasDynamicHelp": false,
1826
+ "multiple": false,
1827
+ "type": "option"
1828
+ },
1829
+ "quiet": {
1830
+ "char": "q",
1831
+ "description": "Suppress progress output on stderr",
1832
+ "name": "quiet",
1833
+ "allowNo": false,
1834
+ "type": "boolean"
1835
+ },
1836
+ "no-color": {
1837
+ "description": "Disable colored output",
1838
+ "name": "no-color",
1839
+ "allowNo": false,
1840
+ "type": "boolean"
1841
+ },
1842
+ "account": {
1843
+ "description": "Account name to use (when multiple accounts are configured)",
1844
+ "name": "account",
1845
+ "hasDynamicHelp": false,
1846
+ "multiple": false,
1847
+ "type": "option"
1848
+ },
1849
+ "start": {
1850
+ "description": "Start date (ISO timestamp)",
1851
+ "name": "start",
1852
+ "required": true,
1853
+ "hasDynamicHelp": false,
1854
+ "multiple": false,
1855
+ "type": "option"
1856
+ },
1857
+ "end": {
1858
+ "description": "End date (ISO timestamp)",
1859
+ "name": "end",
1860
+ "required": true,
1861
+ "hasDynamicHelp": false,
1862
+ "multiple": false,
1863
+ "type": "option"
1864
+ }
1865
+ },
1866
+ "hasDynamicHelp": false,
1867
+ "hiddenAliases": [],
1868
+ "id": "stats:usage",
1869
+ "pluginAlias": "@linkedapi/linkedin-cli",
1870
+ "pluginName": "@linkedapi/linkedin-cli",
1871
+ "pluginType": "core",
1872
+ "strict": true,
1873
+ "enableJsonFlag": false,
1874
+ "isESM": false,
1875
+ "relativePath": [
1876
+ "dist",
1877
+ "commands",
1878
+ "stats",
1879
+ "usage.js"
1880
+ ]
1881
+ },
1882
+ "workflow:run": {
1883
+ "aliases": [],
1884
+ "args": {},
1885
+ "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/",
1886
+ "examples": [
1887
+ "<%= config.bin %> workflow run --file workflow.json",
1888
+ "cat workflow.json | <%= config.bin %> workflow run"
1889
+ ],
1890
+ "flags": {
1891
+ "json": {
1892
+ "description": "Output as JSON",
1893
+ "name": "json",
1894
+ "allowNo": false,
1895
+ "type": "boolean"
1896
+ },
1897
+ "fields": {
1898
+ "description": "Comma-separated list of fields to include in output",
1899
+ "name": "fields",
1900
+ "hasDynamicHelp": false,
1901
+ "multiple": false,
1902
+ "type": "option"
1903
+ },
1904
+ "quiet": {
1905
+ "char": "q",
1906
+ "description": "Suppress progress output on stderr",
1907
+ "name": "quiet",
1908
+ "allowNo": false,
1909
+ "type": "boolean"
1910
+ },
1911
+ "no-color": {
1912
+ "description": "Disable colored output",
1913
+ "name": "no-color",
1914
+ "allowNo": false,
1915
+ "type": "boolean"
1916
+ },
1917
+ "account": {
1918
+ "description": "Account name to use (when multiple accounts are configured)",
1919
+ "name": "account",
1920
+ "hasDynamicHelp": false,
1921
+ "multiple": false,
1922
+ "type": "option"
1923
+ },
1924
+ "file": {
1925
+ "char": "f",
1926
+ "description": "Path to workflow JSON file",
1927
+ "name": "file",
1928
+ "hasDynamicHelp": false,
1929
+ "multiple": false,
1930
+ "type": "option"
1931
+ }
1932
+ },
1933
+ "hasDynamicHelp": false,
1934
+ "hiddenAliases": [],
1935
+ "id": "workflow:run",
1936
+ "pluginAlias": "@linkedapi/linkedin-cli",
1937
+ "pluginName": "@linkedapi/linkedin-cli",
1938
+ "pluginType": "core",
1939
+ "strict": true,
1940
+ "enableJsonFlag": false,
1941
+ "isESM": false,
1942
+ "relativePath": [
1943
+ "dist",
1944
+ "commands",
1945
+ "workflow",
1946
+ "run.js"
1947
+ ]
1948
+ },
1949
+ "workflow:status": {
1950
+ "aliases": [],
1951
+ "args": {
1952
+ "id": {
1953
+ "description": "Workflow ID",
1954
+ "name": "id",
1955
+ "required": true
1956
+ }
1957
+ },
1958
+ "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.",
1959
+ "examples": [
1960
+ "<%= config.bin %> workflow status abc123",
1961
+ "<%= config.bin %> workflow status abc123 --wait --json"
1962
+ ],
1963
+ "flags": {
1964
+ "json": {
1965
+ "description": "Output as JSON",
1966
+ "name": "json",
1967
+ "allowNo": false,
1968
+ "type": "boolean"
1969
+ },
1970
+ "fields": {
1971
+ "description": "Comma-separated list of fields to include in output",
1972
+ "name": "fields",
1973
+ "hasDynamicHelp": false,
1974
+ "multiple": false,
1975
+ "type": "option"
1976
+ },
1977
+ "quiet": {
1978
+ "char": "q",
1979
+ "description": "Suppress progress output on stderr",
1980
+ "name": "quiet",
1981
+ "allowNo": false,
1982
+ "type": "boolean"
1983
+ },
1984
+ "no-color": {
1985
+ "description": "Disable colored output",
1986
+ "name": "no-color",
1987
+ "allowNo": false,
1988
+ "type": "boolean"
1989
+ },
1990
+ "account": {
1991
+ "description": "Account name to use (when multiple accounts are configured)",
1992
+ "name": "account",
1993
+ "hasDynamicHelp": false,
1994
+ "multiple": false,
1995
+ "type": "option"
1996
+ },
1997
+ "wait": {
1998
+ "description": "Wait for workflow to complete",
1999
+ "name": "wait",
2000
+ "allowNo": false,
2001
+ "type": "boolean"
2002
+ }
2003
+ },
2004
+ "hasDynamicHelp": false,
2005
+ "hiddenAliases": [],
2006
+ "id": "workflow:status",
2007
+ "pluginAlias": "@linkedapi/linkedin-cli",
2008
+ "pluginName": "@linkedapi/linkedin-cli",
2009
+ "pluginType": "core",
2010
+ "strict": true,
2011
+ "enableJsonFlag": false,
2012
+ "isESM": false,
2013
+ "relativePath": [
2014
+ "dist",
2015
+ "commands",
2016
+ "workflow",
2017
+ "status.js"
2018
+ ]
2019
+ },
2020
+ "admin:accounts:cancel-session": {
2021
+ "aliases": [],
2022
+ "args": {
2023
+ "sessionId": {
2024
+ "description": "Session UUID",
2025
+ "name": "sessionId",
2026
+ "required": true
2027
+ }
2028
+ },
2029
+ "description": "Cancel a pending connection session",
2030
+ "examples": [
2031
+ "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
2032
+ ],
2033
+ "flags": {
2034
+ "json": {
2035
+ "description": "Output as JSON",
2036
+ "name": "json",
2037
+ "allowNo": false,
2038
+ "type": "boolean"
2039
+ },
2040
+ "fields": {
2041
+ "description": "Comma-separated list of fields to include in output",
2042
+ "name": "fields",
2043
+ "hasDynamicHelp": false,
2044
+ "multiple": false,
2045
+ "type": "option"
2046
+ },
2047
+ "quiet": {
2048
+ "char": "q",
2049
+ "description": "Suppress progress output on stderr",
2050
+ "name": "quiet",
2051
+ "allowNo": false,
2052
+ "type": "boolean"
2053
+ },
2054
+ "no-color": {
2055
+ "description": "Disable colored output",
2056
+ "name": "no-color",
2057
+ "allowNo": false,
2058
+ "type": "boolean"
2059
+ }
2060
+ },
2061
+ "hasDynamicHelp": false,
2062
+ "hiddenAliases": [],
2063
+ "id": "admin:accounts:cancel-session",
2064
+ "pluginAlias": "@linkedapi/linkedin-cli",
2065
+ "pluginName": "@linkedapi/linkedin-cli",
2066
+ "pluginType": "core",
2067
+ "strict": true,
2068
+ "enableJsonFlag": false,
2069
+ "isESM": false,
2070
+ "relativePath": [
2071
+ "dist",
2072
+ "commands",
2073
+ "admin",
2074
+ "accounts",
2075
+ "cancel-session.js"
2076
+ ]
2077
+ },
2078
+ "admin:accounts:connect": {
2079
+ "aliases": [],
2080
+ "args": {},
2081
+ "description": "Create a connection session to connect a new LinkedIn account",
2082
+ "examples": [
2083
+ "<%= config.bin %> admin accounts connect"
2084
+ ],
2085
+ "flags": {
2086
+ "json": {
2087
+ "description": "Output as JSON",
2088
+ "name": "json",
2089
+ "allowNo": false,
2090
+ "type": "boolean"
2091
+ },
2092
+ "fields": {
2093
+ "description": "Comma-separated list of fields to include in output",
2094
+ "name": "fields",
2095
+ "hasDynamicHelp": false,
2096
+ "multiple": false,
2097
+ "type": "option"
2098
+ },
2099
+ "quiet": {
2100
+ "char": "q",
2101
+ "description": "Suppress progress output on stderr",
2102
+ "name": "quiet",
2103
+ "allowNo": false,
2104
+ "type": "boolean"
2105
+ },
2106
+ "no-color": {
2107
+ "description": "Disable colored output",
2108
+ "name": "no-color",
2109
+ "allowNo": false,
2110
+ "type": "boolean"
2111
+ }
2112
+ },
2113
+ "hasDynamicHelp": false,
2114
+ "hiddenAliases": [],
2115
+ "id": "admin:accounts:connect",
2116
+ "pluginAlias": "@linkedapi/linkedin-cli",
2117
+ "pluginName": "@linkedapi/linkedin-cli",
2118
+ "pluginType": "core",
2119
+ "strict": true,
2120
+ "enableJsonFlag": false,
2121
+ "isESM": false,
2122
+ "relativePath": [
2123
+ "dist",
2124
+ "commands",
2125
+ "admin",
2126
+ "accounts",
2127
+ "connect.js"
2128
+ ]
2129
+ },
2130
+ "admin:accounts:disconnect": {
2131
+ "aliases": [],
2132
+ "args": {
2133
+ "accountId": {
2134
+ "description": "Account UUID",
2135
+ "name": "accountId",
2136
+ "required": true
2137
+ }
2138
+ },
2139
+ "description": "Disconnect a LinkedIn account (irreversible)",
2140
+ "examples": [
2141
+ "<%= config.bin %> admin accounts disconnect f9b4346a-..."
2142
+ ],
2143
+ "flags": {
2144
+ "json": {
2145
+ "description": "Output as JSON",
2146
+ "name": "json",
2147
+ "allowNo": false,
2148
+ "type": "boolean"
2149
+ },
2150
+ "fields": {
2151
+ "description": "Comma-separated list of fields to include in output",
2152
+ "name": "fields",
2153
+ "hasDynamicHelp": false,
2154
+ "multiple": false,
2155
+ "type": "option"
2156
+ },
2157
+ "quiet": {
2158
+ "char": "q",
2159
+ "description": "Suppress progress output on stderr",
2160
+ "name": "quiet",
2161
+ "allowNo": false,
2162
+ "type": "boolean"
2163
+ },
2164
+ "no-color": {
2165
+ "description": "Disable colored output",
2166
+ "name": "no-color",
2167
+ "allowNo": false,
2168
+ "type": "boolean"
2169
+ }
2170
+ },
2171
+ "hasDynamicHelp": false,
2172
+ "hiddenAliases": [],
2173
+ "id": "admin:accounts:disconnect",
2174
+ "pluginAlias": "@linkedapi/linkedin-cli",
2175
+ "pluginName": "@linkedapi/linkedin-cli",
2176
+ "pluginType": "core",
2177
+ "strict": true,
2178
+ "enableJsonFlag": false,
2179
+ "isESM": false,
2180
+ "relativePath": [
2181
+ "dist",
2182
+ "commands",
2183
+ "admin",
2184
+ "accounts",
2185
+ "disconnect.js"
2186
+ ]
2187
+ },
2188
+ "admin:accounts:list": {
2189
+ "aliases": [],
2190
+ "args": {},
2191
+ "description": "List all connected accounts and pending sessions",
2192
+ "examples": [
2193
+ "<%= config.bin %> admin accounts list"
2194
+ ],
2195
+ "flags": {
2196
+ "json": {
2197
+ "description": "Output as JSON",
2198
+ "name": "json",
2199
+ "allowNo": false,
2200
+ "type": "boolean"
2201
+ },
2202
+ "fields": {
2203
+ "description": "Comma-separated list of fields to include in output",
2204
+ "name": "fields",
2205
+ "hasDynamicHelp": false,
2206
+ "multiple": false,
2207
+ "type": "option"
2208
+ },
2209
+ "quiet": {
2210
+ "char": "q",
2211
+ "description": "Suppress progress output on stderr",
2212
+ "name": "quiet",
2213
+ "allowNo": false,
2214
+ "type": "boolean"
2215
+ },
2216
+ "no-color": {
2217
+ "description": "Disable colored output",
2218
+ "name": "no-color",
2219
+ "allowNo": false,
2220
+ "type": "boolean"
2221
+ }
2222
+ },
2223
+ "hasDynamicHelp": false,
2224
+ "hiddenAliases": [],
2225
+ "id": "admin:accounts:list",
2226
+ "pluginAlias": "@linkedapi/linkedin-cli",
2227
+ "pluginName": "@linkedapi/linkedin-cli",
2228
+ "pluginType": "core",
2229
+ "strict": true,
2230
+ "enableJsonFlag": false,
2231
+ "isESM": false,
2232
+ "relativePath": [
2233
+ "dist",
2234
+ "commands",
2235
+ "admin",
2236
+ "accounts",
2237
+ "list.js"
2238
+ ]
2239
+ },
2240
+ "admin:accounts:regenerate-token": {
2241
+ "aliases": [],
2242
+ "args": {
2243
+ "accountId": {
2244
+ "description": "Account UUID",
2245
+ "name": "accountId",
2246
+ "required": true
2247
+ }
2248
+ },
2249
+ "description": "Regenerate identification token for an account",
2250
+ "examples": [
2251
+ "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
2252
+ ],
2253
+ "flags": {
2254
+ "json": {
2255
+ "description": "Output as JSON",
2256
+ "name": "json",
2257
+ "allowNo": false,
2258
+ "type": "boolean"
2259
+ },
2260
+ "fields": {
2261
+ "description": "Comma-separated list of fields to include in output",
2262
+ "name": "fields",
2263
+ "hasDynamicHelp": false,
2264
+ "multiple": false,
2265
+ "type": "option"
2266
+ },
2267
+ "quiet": {
2268
+ "char": "q",
2269
+ "description": "Suppress progress output on stderr",
2270
+ "name": "quiet",
2271
+ "allowNo": false,
2272
+ "type": "boolean"
2273
+ },
2274
+ "no-color": {
2275
+ "description": "Disable colored output",
2276
+ "name": "no-color",
2277
+ "allowNo": false,
2278
+ "type": "boolean"
2279
+ }
2280
+ },
2281
+ "hasDynamicHelp": false,
2282
+ "hiddenAliases": [],
2283
+ "id": "admin:accounts:regenerate-token",
2284
+ "pluginAlias": "@linkedapi/linkedin-cli",
2285
+ "pluginName": "@linkedapi/linkedin-cli",
2286
+ "pluginType": "core",
2287
+ "strict": true,
2288
+ "enableJsonFlag": false,
2289
+ "isESM": false,
2290
+ "relativePath": [
2291
+ "dist",
2292
+ "commands",
2293
+ "admin",
2294
+ "accounts",
2295
+ "regenerate-token.js"
2296
+ ]
2297
+ },
2298
+ "admin:accounts:session": {
2299
+ "aliases": [],
2300
+ "args": {
2301
+ "sessionId": {
2302
+ "description": "Session UUID",
2303
+ "name": "sessionId",
2304
+ "required": true
2305
+ }
2306
+ },
2307
+ "description": "Check connection session status",
2308
+ "examples": [
2309
+ "<%= config.bin %> admin accounts session 990eef7a-..."
2310
+ ],
2311
+ "flags": {
2312
+ "json": {
2313
+ "description": "Output as JSON",
2314
+ "name": "json",
2315
+ "allowNo": false,
2316
+ "type": "boolean"
2317
+ },
2318
+ "fields": {
2319
+ "description": "Comma-separated list of fields to include in output",
2320
+ "name": "fields",
2321
+ "hasDynamicHelp": false,
2322
+ "multiple": false,
2323
+ "type": "option"
2324
+ },
2325
+ "quiet": {
2326
+ "char": "q",
2327
+ "description": "Suppress progress output on stderr",
2328
+ "name": "quiet",
2329
+ "allowNo": false,
2330
+ "type": "boolean"
2331
+ },
2332
+ "no-color": {
2333
+ "description": "Disable colored output",
2334
+ "name": "no-color",
2335
+ "allowNo": false,
2336
+ "type": "boolean"
2337
+ }
2338
+ },
2339
+ "hasDynamicHelp": false,
2340
+ "hiddenAliases": [],
2341
+ "id": "admin:accounts:session",
2342
+ "pluginAlias": "@linkedapi/linkedin-cli",
2343
+ "pluginName": "@linkedapi/linkedin-cli",
2344
+ "pluginType": "core",
2345
+ "strict": true,
2346
+ "enableJsonFlag": false,
2347
+ "isESM": false,
2348
+ "relativePath": [
2349
+ "dist",
2350
+ "commands",
2351
+ "admin",
2352
+ "accounts",
2353
+ "session.js"
2354
+ ]
2355
+ },
2356
+ "admin:limits:defaults": {
2357
+ "aliases": [],
2358
+ "args": {},
2359
+ "description": "View system default limits",
2360
+ "examples": [
2361
+ "<%= config.bin %> admin limits defaults"
2362
+ ],
2363
+ "flags": {
2364
+ "json": {
2365
+ "description": "Output as JSON",
2366
+ "name": "json",
2367
+ "allowNo": false,
2368
+ "type": "boolean"
2369
+ },
2370
+ "fields": {
2371
+ "description": "Comma-separated list of fields to include in output",
2372
+ "name": "fields",
2373
+ "hasDynamicHelp": false,
2374
+ "multiple": false,
2375
+ "type": "option"
2376
+ },
2377
+ "quiet": {
2378
+ "char": "q",
2379
+ "description": "Suppress progress output on stderr",
2380
+ "name": "quiet",
2381
+ "allowNo": false,
2382
+ "type": "boolean"
2383
+ },
2384
+ "no-color": {
2385
+ "description": "Disable colored output",
2386
+ "name": "no-color",
2387
+ "allowNo": false,
2388
+ "type": "boolean"
2389
+ }
2390
+ },
2391
+ "hasDynamicHelp": false,
2392
+ "hiddenAliases": [],
2393
+ "id": "admin:limits:defaults",
2394
+ "pluginAlias": "@linkedapi/linkedin-cli",
2395
+ "pluginName": "@linkedapi/linkedin-cli",
2396
+ "pluginType": "core",
2397
+ "strict": true,
2398
+ "enableJsonFlag": false,
2399
+ "isESM": false,
2400
+ "relativePath": [
2401
+ "dist",
2402
+ "commands",
2403
+ "admin",
2404
+ "limits",
2405
+ "defaults.js"
2406
+ ]
2407
+ },
2408
+ "admin:limits:delete": {
2409
+ "aliases": [],
2410
+ "args": {
2411
+ "accountId": {
2412
+ "description": "Account UUID",
2413
+ "name": "accountId",
2414
+ "required": true
2415
+ }
2416
+ },
2417
+ "description": "Delete specific limits (falls back to defaults)",
2418
+ "examples": [
2419
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2420
+ ],
2421
+ "flags": {
2422
+ "json": {
2423
+ "description": "Output as JSON",
2424
+ "name": "json",
2425
+ "allowNo": false,
2426
+ "type": "boolean"
2427
+ },
2428
+ "fields": {
2429
+ "description": "Comma-separated list of fields to include in output",
2430
+ "name": "fields",
2431
+ "hasDynamicHelp": false,
2432
+ "multiple": false,
2433
+ "type": "option"
2434
+ },
2435
+ "quiet": {
2436
+ "char": "q",
2437
+ "description": "Suppress progress output on stderr",
2438
+ "name": "quiet",
2439
+ "allowNo": false,
2440
+ "type": "boolean"
2441
+ },
2442
+ "no-color": {
2443
+ "description": "Disable colored output",
2444
+ "name": "no-color",
2445
+ "allowNo": false,
2446
+ "type": "boolean"
2447
+ },
2448
+ "category": {
2449
+ "description": "Limit category",
2450
+ "name": "category",
2451
+ "required": true,
2452
+ "hasDynamicHelp": false,
2453
+ "multiple": false,
2454
+ "type": "option"
2455
+ },
2456
+ "period": {
2457
+ "description": "Limit period",
2458
+ "name": "period",
2459
+ "required": true,
2460
+ "hasDynamicHelp": false,
2461
+ "multiple": false,
2462
+ "options": [
2463
+ "daily",
2464
+ "weekly",
2465
+ "monthly"
2466
+ ],
2467
+ "type": "option"
2468
+ }
2469
+ },
2470
+ "hasDynamicHelp": false,
2471
+ "hiddenAliases": [],
2472
+ "id": "admin:limits:delete",
2473
+ "pluginAlias": "@linkedapi/linkedin-cli",
2474
+ "pluginName": "@linkedapi/linkedin-cli",
2475
+ "pluginType": "core",
2476
+ "strict": true,
2477
+ "enableJsonFlag": false,
2478
+ "isESM": false,
2479
+ "relativePath": [
2480
+ "dist",
2481
+ "commands",
2482
+ "admin",
2483
+ "limits",
2484
+ "delete.js"
2485
+ ]
2486
+ },
2487
+ "admin:limits:get": {
2488
+ "aliases": [],
2489
+ "args": {
2490
+ "accountId": {
2491
+ "description": "Account UUID",
2492
+ "name": "accountId",
2493
+ "required": true
2494
+ }
2495
+ },
2496
+ "description": "View current limits for an account",
2497
+ "examples": [
2498
+ "<%= config.bin %> admin limits get f9b4346a-..."
2499
+ ],
2500
+ "flags": {
2501
+ "json": {
2502
+ "description": "Output as JSON",
2503
+ "name": "json",
2504
+ "allowNo": false,
2505
+ "type": "boolean"
2506
+ },
2507
+ "fields": {
2508
+ "description": "Comma-separated list of fields to include in output",
2509
+ "name": "fields",
2510
+ "hasDynamicHelp": false,
2511
+ "multiple": false,
2512
+ "type": "option"
2513
+ },
2514
+ "quiet": {
2515
+ "char": "q",
2516
+ "description": "Suppress progress output on stderr",
2517
+ "name": "quiet",
2518
+ "allowNo": false,
2519
+ "type": "boolean"
2520
+ },
2521
+ "no-color": {
2522
+ "description": "Disable colored output",
2523
+ "name": "no-color",
2524
+ "allowNo": false,
2525
+ "type": "boolean"
2526
+ }
2527
+ },
2528
+ "hasDynamicHelp": false,
2529
+ "hiddenAliases": [],
2530
+ "id": "admin:limits:get",
2531
+ "pluginAlias": "@linkedapi/linkedin-cli",
2532
+ "pluginName": "@linkedapi/linkedin-cli",
2533
+ "pluginType": "core",
2534
+ "strict": true,
2535
+ "enableJsonFlag": false,
2536
+ "isESM": false,
2537
+ "relativePath": [
2538
+ "dist",
2539
+ "commands",
2540
+ "admin",
2541
+ "limits",
2542
+ "get.js"
2543
+ ]
2544
+ },
2545
+ "admin:limits:reset": {
2546
+ "aliases": [],
2547
+ "args": {
2548
+ "accountId": {
2549
+ "description": "Account UUID",
2550
+ "name": "accountId",
2551
+ "required": true
2552
+ }
2553
+ },
2554
+ "description": "Reset all limits to defaults",
2555
+ "examples": [
2556
+ "<%= config.bin %> admin limits reset f9b4346a-..."
2557
+ ],
2558
+ "flags": {
2559
+ "json": {
2560
+ "description": "Output as JSON",
2561
+ "name": "json",
2562
+ "allowNo": false,
2563
+ "type": "boolean"
2564
+ },
2565
+ "fields": {
2566
+ "description": "Comma-separated list of fields to include in output",
2567
+ "name": "fields",
2568
+ "hasDynamicHelp": false,
2569
+ "multiple": false,
2570
+ "type": "option"
2571
+ },
2572
+ "quiet": {
2573
+ "char": "q",
2574
+ "description": "Suppress progress output on stderr",
2575
+ "name": "quiet",
2576
+ "allowNo": false,
2577
+ "type": "boolean"
2578
+ },
2579
+ "no-color": {
2580
+ "description": "Disable colored output",
2581
+ "name": "no-color",
2582
+ "allowNo": false,
2583
+ "type": "boolean"
1400
2584
  }
1401
2585
  },
1402
2586
  "hasDynamicHelp": false,
1403
2587
  "hiddenAliases": [],
1404
- "id": "post:comment",
2588
+ "id": "admin:limits:reset",
1405
2589
  "pluginAlias": "@linkedapi/linkedin-cli",
1406
2590
  "pluginName": "@linkedapi/linkedin-cli",
1407
2591
  "pluginType": "core",
@@ -1411,23 +2595,23 @@
1411
2595
  "relativePath": [
1412
2596
  "dist",
1413
2597
  "commands",
1414
- "post",
1415
- "comment.js"
2598
+ "admin",
2599
+ "limits",
2600
+ "reset.js"
1416
2601
  ]
1417
2602
  },
1418
- "post:create": {
2603
+ "admin:limits:set": {
1419
2604
  "aliases": [],
1420
2605
  "args": {
1421
- "text": {
1422
- "description": "Post text (up to 3000 characters)",
1423
- "name": "text",
2606
+ "accountId": {
2607
+ "description": "Account UUID",
2608
+ "name": "accountId",
1424
2609
  "required": true
1425
2610
  }
1426
2611
  },
1427
- "description": "Create a LinkedIn post",
2612
+ "description": "Set limits for an account",
1428
2613
  "examples": [
1429
- "<%= config.bin %> post create \"Excited to share our latest update!\"",
1430
- "<%= config.bin %> post create \"Check this out\" --attachments \"https://example.com/img.jpg:image\""
2614
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
1431
2615
  ],
1432
2616
  "flags": {
1433
2617
  "json": {
@@ -1456,31 +2640,39 @@
1456
2640
  "allowNo": false,
1457
2641
  "type": "boolean"
1458
2642
  },
1459
- "account": {
1460
- "description": "Account name to use (when multiple accounts are configured)",
1461
- "name": "account",
2643
+ "category": {
2644
+ "description": "Limit category",
2645
+ "name": "category",
2646
+ "required": true,
1462
2647
  "hasDynamicHelp": false,
1463
2648
  "multiple": false,
1464
2649
  "type": "option"
1465
2650
  },
1466
- "company-url": {
1467
- "description": "Post on behalf of a company page",
1468
- "name": "company-url",
2651
+ "period": {
2652
+ "description": "Limit period",
2653
+ "name": "period",
2654
+ "required": true,
1469
2655
  "hasDynamicHelp": false,
1470
2656
  "multiple": false,
2657
+ "options": [
2658
+ "daily",
2659
+ "weekly",
2660
+ "monthly"
2661
+ ],
1471
2662
  "type": "option"
1472
2663
  },
1473
- "attachments": {
1474
- "description": "Attachments as url:type[:name] (comma-separated, type: image|video|document)",
1475
- "name": "attachments",
2664
+ "max": {
2665
+ "description": "Maximum allowed actions (>= 0)",
2666
+ "name": "max",
2667
+ "required": true,
1476
2668
  "hasDynamicHelp": false,
1477
- "multiple": true,
2669
+ "multiple": false,
1478
2670
  "type": "option"
1479
2671
  }
1480
2672
  },
1481
2673
  "hasDynamicHelp": false,
1482
2674
  "hiddenAliases": [],
1483
- "id": "post:create",
2675
+ "id": "admin:limits:set",
1484
2676
  "pluginAlias": "@linkedapi/linkedin-cli",
1485
2677
  "pluginName": "@linkedapi/linkedin-cli",
1486
2678
  "pluginType": "core",
@@ -1490,23 +2682,23 @@
1490
2682
  "relativePath": [
1491
2683
  "dist",
1492
2684
  "commands",
1493
- "post",
1494
- "create.js"
2685
+ "admin",
2686
+ "limits",
2687
+ "set.js"
1495
2688
  ]
1496
2689
  },
1497
- "post:fetch": {
2690
+ "admin:limits:usage": {
1498
2691
  "aliases": [],
1499
2692
  "args": {
1500
- "url": {
1501
- "description": "LinkedIn post URL",
1502
- "name": "url",
2693
+ "accountId": {
2694
+ "description": "Account UUID",
2695
+ "name": "accountId",
1503
2696
  "required": true
1504
2697
  }
1505
2698
  },
1506
- "description": "Fetch a LinkedIn post",
2699
+ "description": "View current usage against limits",
1507
2700
  "examples": [
1508
- "<%= config.bin %> post fetch https://www.linkedin.com/posts/john-doe_activity-123",
1509
- "<%= config.bin %> post fetch https://www.linkedin.com/posts/john-doe_activity-123 --comments --reactions --json"
2701
+ "<%= config.bin %> admin limits usage f9b4346a-..."
1510
2702
  ],
1511
2703
  "flags": {
1512
2704
  "json": {
@@ -1534,61 +2726,11 @@
1534
2726
  "name": "no-color",
1535
2727
  "allowNo": false,
1536
2728
  "type": "boolean"
1537
- },
1538
- "account": {
1539
- "description": "Account name to use (when multiple accounts are configured)",
1540
- "name": "account",
1541
- "hasDynamicHelp": false,
1542
- "multiple": false,
1543
- "type": "option"
1544
- },
1545
- "comments": {
1546
- "description": "Include comments",
1547
- "name": "comments",
1548
- "allowNo": false,
1549
- "type": "boolean"
1550
- },
1551
- "reactions": {
1552
- "description": "Include reactions",
1553
- "name": "reactions",
1554
- "allowNo": false,
1555
- "type": "boolean"
1556
- },
1557
- "comments-limit": {
1558
- "description": "Max comments to retrieve",
1559
- "name": "comments-limit",
1560
- "hasDynamicHelp": false,
1561
- "multiple": false,
1562
- "type": "option"
1563
- },
1564
- "comments-sort": {
1565
- "description": "Comment sort order",
1566
- "name": "comments-sort",
1567
- "hasDynamicHelp": false,
1568
- "multiple": false,
1569
- "options": [
1570
- "mostRelevant",
1571
- "mostRecent"
1572
- ],
1573
- "type": "option"
1574
- },
1575
- "comments-replies": {
1576
- "description": "Include comment replies",
1577
- "name": "comments-replies",
1578
- "allowNo": false,
1579
- "type": "boolean"
1580
- },
1581
- "reactions-limit": {
1582
- "description": "Max reactions to retrieve",
1583
- "name": "reactions-limit",
1584
- "hasDynamicHelp": false,
1585
- "multiple": false,
1586
- "type": "option"
1587
2729
  }
1588
2730
  },
1589
2731
  "hasDynamicHelp": false,
1590
2732
  "hiddenAliases": [],
1591
- "id": "post:fetch",
2733
+ "id": "admin:limits:usage",
1592
2734
  "pluginAlias": "@linkedapi/linkedin-cli",
1593
2735
  "pluginName": "@linkedapi/linkedin-cli",
1594
2736
  "pluginType": "core",
@@ -1598,22 +2740,17 @@
1598
2740
  "relativePath": [
1599
2741
  "dist",
1600
2742
  "commands",
1601
- "post",
1602
- "fetch.js"
2743
+ "admin",
2744
+ "limits",
2745
+ "usage.js"
1603
2746
  ]
1604
2747
  },
1605
- "post:react": {
2748
+ "admin:subscription:billing-link": {
1606
2749
  "aliases": [],
1607
- "args": {
1608
- "url": {
1609
- "description": "LinkedIn post URL",
1610
- "name": "url",
1611
- "required": true
1612
- }
1613
- },
1614
- "description": "React to a LinkedIn post",
2750
+ "args": {},
2751
+ "description": "Get billing portal link",
1615
2752
  "examples": [
1616
- "<%= config.bin %> post react https://www.linkedin.com/posts/john-doe_activity-123 --type like"
2753
+ "<%= config.bin %> admin subscription billing-link"
1617
2754
  ],
1618
2755
  "flags": {
1619
2756
  "json": {
@@ -1641,41 +2778,11 @@
1641
2778
  "name": "no-color",
1642
2779
  "allowNo": false,
1643
2780
  "type": "boolean"
1644
- },
1645
- "account": {
1646
- "description": "Account name to use (when multiple accounts are configured)",
1647
- "name": "account",
1648
- "hasDynamicHelp": false,
1649
- "multiple": false,
1650
- "type": "option"
1651
- },
1652
- "type": {
1653
- "description": "Reaction type",
1654
- "name": "type",
1655
- "required": true,
1656
- "hasDynamicHelp": false,
1657
- "multiple": false,
1658
- "options": [
1659
- "like",
1660
- "love",
1661
- "support",
1662
- "celebrate",
1663
- "insightful",
1664
- "funny"
1665
- ],
1666
- "type": "option"
1667
- },
1668
- "company-url": {
1669
- "description": "React on behalf of a company page",
1670
- "name": "company-url",
1671
- "hasDynamicHelp": false,
1672
- "multiple": false,
1673
- "type": "option"
1674
2781
  }
1675
2782
  },
1676
2783
  "hasDynamicHelp": false,
1677
2784
  "hiddenAliases": [],
1678
- "id": "post:react",
2785
+ "id": "admin:subscription:billing-link",
1679
2786
  "pluginAlias": "@linkedapi/linkedin-cli",
1680
2787
  "pluginName": "@linkedapi/linkedin-cli",
1681
2788
  "pluginType": "core",
@@ -1685,16 +2792,17 @@
1685
2792
  "relativePath": [
1686
2793
  "dist",
1687
2794
  "commands",
1688
- "post",
1689
- "react.js"
2795
+ "admin",
2796
+ "subscription",
2797
+ "billing-link.js"
1690
2798
  ]
1691
2799
  },
1692
- "stats:performance": {
2800
+ "admin:subscription:cancel": {
1693
2801
  "aliases": [],
1694
2802
  "args": {},
1695
- "description": "Retrieve your LinkedIn performance analytics",
2803
+ "description": "Cancel subscription at period end",
1696
2804
  "examples": [
1697
- "<%= config.bin %> stats performance --json"
2805
+ "<%= config.bin %> admin subscription cancel"
1698
2806
  ],
1699
2807
  "flags": {
1700
2808
  "json": {
@@ -1722,18 +2830,11 @@
1722
2830
  "name": "no-color",
1723
2831
  "allowNo": false,
1724
2832
  "type": "boolean"
1725
- },
1726
- "account": {
1727
- "description": "Account name to use (when multiple accounts are configured)",
1728
- "name": "account",
1729
- "hasDynamicHelp": false,
1730
- "multiple": false,
1731
- "type": "option"
1732
2833
  }
1733
2834
  },
1734
2835
  "hasDynamicHelp": false,
1735
2836
  "hiddenAliases": [],
1736
- "id": "stats:performance",
2837
+ "id": "admin:subscription:cancel",
1737
2838
  "pluginAlias": "@linkedapi/linkedin-cli",
1738
2839
  "pluginName": "@linkedapi/linkedin-cli",
1739
2840
  "pluginType": "core",
@@ -1743,16 +2844,17 @@
1743
2844
  "relativePath": [
1744
2845
  "dist",
1745
2846
  "commands",
1746
- "stats",
1747
- "performance.js"
2847
+ "admin",
2848
+ "subscription",
2849
+ "cancel.js"
1748
2850
  ]
1749
2851
  },
1750
- "stats:ssi": {
2852
+ "admin:subscription:pricing": {
1751
2853
  "aliases": [],
1752
2854
  "args": {},
1753
- "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
2855
+ "description": "View available pricing options",
1754
2856
  "examples": [
1755
- "<%= config.bin %> stats ssi --json"
2857
+ "<%= config.bin %> admin subscription pricing"
1756
2858
  ],
1757
2859
  "flags": {
1758
2860
  "json": {
@@ -1780,18 +2882,11 @@
1780
2882
  "name": "no-color",
1781
2883
  "allowNo": false,
1782
2884
  "type": "boolean"
1783
- },
1784
- "account": {
1785
- "description": "Account name to use (when multiple accounts are configured)",
1786
- "name": "account",
1787
- "hasDynamicHelp": false,
1788
- "multiple": false,
1789
- "type": "option"
1790
2885
  }
1791
2886
  },
1792
2887
  "hasDynamicHelp": false,
1793
2888
  "hiddenAliases": [],
1794
- "id": "stats:ssi",
2889
+ "id": "admin:subscription:pricing",
1795
2890
  "pluginAlias": "@linkedapi/linkedin-cli",
1796
2891
  "pluginName": "@linkedapi/linkedin-cli",
1797
2892
  "pluginType": "core",
@@ -1801,16 +2896,17 @@
1801
2896
  "relativePath": [
1802
2897
  "dist",
1803
2898
  "commands",
1804
- "stats",
1805
- "ssi.js"
2899
+ "admin",
2900
+ "subscription",
2901
+ "pricing.js"
1806
2902
  ]
1807
2903
  },
1808
- "stats:usage": {
2904
+ "admin:subscription:seats": {
1809
2905
  "aliases": [],
1810
2906
  "args": {},
1811
- "description": "Retrieve Linked API usage statistics",
2907
+ "description": "View current subscription seats",
1812
2908
  "examples": [
1813
- "<%= config.bin %> stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json"
2909
+ "<%= config.bin %> admin subscription seats"
1814
2910
  ],
1815
2911
  "flags": {
1816
2912
  "json": {
@@ -1838,34 +2934,11 @@
1838
2934
  "name": "no-color",
1839
2935
  "allowNo": false,
1840
2936
  "type": "boolean"
1841
- },
1842
- "account": {
1843
- "description": "Account name to use (when multiple accounts are configured)",
1844
- "name": "account",
1845
- "hasDynamicHelp": false,
1846
- "multiple": false,
1847
- "type": "option"
1848
- },
1849
- "start": {
1850
- "description": "Start date (ISO timestamp)",
1851
- "name": "start",
1852
- "required": true,
1853
- "hasDynamicHelp": false,
1854
- "multiple": false,
1855
- "type": "option"
1856
- },
1857
- "end": {
1858
- "description": "End date (ISO timestamp)",
1859
- "name": "end",
1860
- "required": true,
1861
- "hasDynamicHelp": false,
1862
- "multiple": false,
1863
- "type": "option"
1864
2937
  }
1865
2938
  },
1866
2939
  "hasDynamicHelp": false,
1867
2940
  "hiddenAliases": [],
1868
- "id": "stats:usage",
2941
+ "id": "admin:subscription:seats",
1869
2942
  "pluginAlias": "@linkedapi/linkedin-cli",
1870
2943
  "pluginName": "@linkedapi/linkedin-cli",
1871
2944
  "pluginType": "core",
@@ -1875,17 +2948,17 @@
1875
2948
  "relativePath": [
1876
2949
  "dist",
1877
2950
  "commands",
1878
- "stats",
1879
- "usage.js"
2951
+ "admin",
2952
+ "subscription",
2953
+ "seats.js"
1880
2954
  ]
1881
2955
  },
1882
- "workflow:run": {
2956
+ "admin:subscription:set-seats": {
1883
2957
  "aliases": [],
1884
2958
  "args": {},
1885
- "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/",
2959
+ "description": "Set subscription seats (updates existing or returns checkout link)",
1886
2960
  "examples": [
1887
- "<%= config.bin %> workflow run --file workflow.json",
1888
- "cat workflow.json | <%= config.bin %> workflow run"
2961
+ "<%= config.bin %> admin subscription set-seats --quantity 5 --type plus --period year"
1889
2962
  ],
1890
2963
  "flags": {
1891
2964
  "json": {
@@ -1914,25 +2987,42 @@
1914
2987
  "allowNo": false,
1915
2988
  "type": "boolean"
1916
2989
  },
1917
- "account": {
1918
- "description": "Account name to use (when multiple accounts are configured)",
1919
- "name": "account",
2990
+ "quantity": {
2991
+ "description": "Number of seats (1-1000)",
2992
+ "name": "quantity",
2993
+ "required": true,
1920
2994
  "hasDynamicHelp": false,
1921
2995
  "multiple": false,
1922
2996
  "type": "option"
1923
2997
  },
1924
- "file": {
1925
- "char": "f",
1926
- "description": "Path to workflow JSON file",
1927
- "name": "file",
2998
+ "type": {
2999
+ "description": "Seat type",
3000
+ "name": "type",
3001
+ "required": true,
3002
+ "hasDynamicHelp": false,
3003
+ "multiple": false,
3004
+ "options": [
3005
+ "core",
3006
+ "plus"
3007
+ ],
3008
+ "type": "option"
3009
+ },
3010
+ "period": {
3011
+ "description": "Billing period",
3012
+ "name": "period",
3013
+ "required": true,
1928
3014
  "hasDynamicHelp": false,
1929
3015
  "multiple": false,
3016
+ "options": [
3017
+ "month",
3018
+ "year"
3019
+ ],
1930
3020
  "type": "option"
1931
3021
  }
1932
3022
  },
1933
3023
  "hasDynamicHelp": false,
1934
3024
  "hiddenAliases": [],
1935
- "id": "workflow:run",
3025
+ "id": "admin:subscription:set-seats",
1936
3026
  "pluginAlias": "@linkedapi/linkedin-cli",
1937
3027
  "pluginName": "@linkedapi/linkedin-cli",
1938
3028
  "pluginType": "core",
@@ -1942,23 +3032,17 @@
1942
3032
  "relativePath": [
1943
3033
  "dist",
1944
3034
  "commands",
1945
- "workflow",
1946
- "run.js"
3035
+ "admin",
3036
+ "subscription",
3037
+ "set-seats.js"
1947
3038
  ]
1948
3039
  },
1949
- "workflow:status": {
3040
+ "admin:subscription:status": {
1950
3041
  "aliases": [],
1951
- "args": {
1952
- "id": {
1953
- "description": "Workflow ID",
1954
- "name": "id",
1955
- "required": true
1956
- }
1957
- },
1958
- "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.",
3042
+ "args": {},
3043
+ "description": "Check subscription status",
1959
3044
  "examples": [
1960
- "<%= config.bin %> workflow status abc123",
1961
- "<%= config.bin %> workflow status abc123 --wait --json"
3045
+ "<%= config.bin %> admin subscription status"
1962
3046
  ],
1963
3047
  "flags": {
1964
3048
  "json": {
@@ -1986,24 +3070,11 @@
1986
3070
  "name": "no-color",
1987
3071
  "allowNo": false,
1988
3072
  "type": "boolean"
1989
- },
1990
- "account": {
1991
- "description": "Account name to use (when multiple accounts are configured)",
1992
- "name": "account",
1993
- "hasDynamicHelp": false,
1994
- "multiple": false,
1995
- "type": "option"
1996
- },
1997
- "wait": {
1998
- "description": "Wait for workflow to complete",
1999
- "name": "wait",
2000
- "allowNo": false,
2001
- "type": "boolean"
2002
3073
  }
2003
3074
  },
2004
3075
  "hasDynamicHelp": false,
2005
3076
  "hiddenAliases": [],
2006
- "id": "workflow:status",
3077
+ "id": "admin:subscription:status",
2007
3078
  "pluginAlias": "@linkedapi/linkedin-cli",
2008
3079
  "pluginName": "@linkedapi/linkedin-cli",
2009
3080
  "pluginType": "core",
@@ -2013,7 +3084,8 @@
2013
3084
  "relativePath": [
2014
3085
  "dist",
2015
3086
  "commands",
2016
- "workflow",
3087
+ "admin",
3088
+ "subscription",
2017
3089
  "status.js"
2018
3090
  ]
2019
3091
  },
@@ -2617,5 +3689,5 @@
2617
3689
  ]
2618
3690
  }
2619
3691
  },
2620
- "version": "1.0.7"
3692
+ "version": "1.0.9"
2621
3693
  }