@linkedapi/linkedin-cli 1.2.13 → 1.2.14

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.
@@ -334,155 +334,6 @@
334
334
  "update.js"
335
335
  ]
336
336
  },
337
- "comment:react": {
338
- "aliases": [],
339
- "args": {
340
- "url": {
341
- "description": "LinkedIn comment URL",
342
- "name": "url",
343
- "required": true
344
- }
345
- },
346
- "description": "React to a LinkedIn comment",
347
- "examples": [
348
- "<%= config.bin %> comment react \"https://www.linkedin.com/feed/update/urn:li:activity:123/?dashCommentUrn=urn:li:fsd_comment:(456,urn:li:activity:123)\" --type like"
349
- ],
350
- "flags": {
351
- "json": {
352
- "description": "Output as JSON",
353
- "name": "json",
354
- "allowNo": false,
355
- "type": "boolean"
356
- },
357
- "fields": {
358
- "description": "Comma-separated list of fields to include in output",
359
- "name": "fields",
360
- "hasDynamicHelp": false,
361
- "multiple": false,
362
- "type": "option"
363
- },
364
- "quiet": {
365
- "char": "q",
366
- "description": "Suppress progress output on stderr",
367
- "name": "quiet",
368
- "allowNo": false,
369
- "type": "boolean"
370
- },
371
- "no-color": {
372
- "description": "Disable colored output",
373
- "name": "no-color",
374
- "allowNo": false,
375
- "type": "boolean"
376
- },
377
- "account": {
378
- "description": "Account name to use (when multiple accounts are configured)",
379
- "name": "account",
380
- "hasDynamicHelp": false,
381
- "multiple": false,
382
- "type": "option"
383
- },
384
- "type": {
385
- "description": "Reaction type",
386
- "name": "type",
387
- "required": true,
388
- "hasDynamicHelp": false,
389
- "multiple": false,
390
- "options": [
391
- "like",
392
- "love",
393
- "support",
394
- "celebrate",
395
- "insightful",
396
- "funny"
397
- ],
398
- "type": "option"
399
- }
400
- },
401
- "hasDynamicHelp": false,
402
- "hiddenAliases": [],
403
- "id": "comment:react",
404
- "pluginAlias": "@linkedapi/linkedin-cli",
405
- "pluginName": "@linkedapi/linkedin-cli",
406
- "pluginType": "core",
407
- "strict": true,
408
- "enableJsonFlag": false,
409
- "isESM": false,
410
- "relativePath": [
411
- "dist",
412
- "commands",
413
- "comment",
414
- "react.js"
415
- ]
416
- },
417
- "comment:reply": {
418
- "aliases": [],
419
- "args": {
420
- "url": {
421
- "description": "LinkedIn comment URL",
422
- "name": "url",
423
- "required": true
424
- },
425
- "text": {
426
- "description": "Reply text (up to 1000 characters)",
427
- "name": "text",
428
- "required": true
429
- }
430
- },
431
- "description": "Reply to a LinkedIn comment",
432
- "examples": [
433
- "<%= config.bin %> comment reply \"https://www.linkedin.com/feed/update/urn:li:activity:123/?dashCommentUrn=urn:li:fsd_comment:(456,urn:li:activity:123)\" \"Well said!\""
434
- ],
435
- "flags": {
436
- "json": {
437
- "description": "Output as JSON",
438
- "name": "json",
439
- "allowNo": false,
440
- "type": "boolean"
441
- },
442
- "fields": {
443
- "description": "Comma-separated list of fields to include in output",
444
- "name": "fields",
445
- "hasDynamicHelp": false,
446
- "multiple": false,
447
- "type": "option"
448
- },
449
- "quiet": {
450
- "char": "q",
451
- "description": "Suppress progress output on stderr",
452
- "name": "quiet",
453
- "allowNo": false,
454
- "type": "boolean"
455
- },
456
- "no-color": {
457
- "description": "Disable colored output",
458
- "name": "no-color",
459
- "allowNo": false,
460
- "type": "boolean"
461
- },
462
- "account": {
463
- "description": "Account name to use (when multiple accounts are configured)",
464
- "name": "account",
465
- "hasDynamicHelp": false,
466
- "multiple": false,
467
- "type": "option"
468
- }
469
- },
470
- "hasDynamicHelp": false,
471
- "hiddenAliases": [],
472
- "id": "comment:reply",
473
- "pluginAlias": "@linkedapi/linkedin-cli",
474
- "pluginName": "@linkedapi/linkedin-cli",
475
- "pluginType": "core",
476
- "strict": true,
477
- "enableJsonFlag": false,
478
- "isESM": false,
479
- "relativePath": [
480
- "dist",
481
- "commands",
482
- "comment",
483
- "reply.js"
484
- ]
485
- },
486
337
  "company:fetch": {
487
338
  "aliases": [],
488
339
  "args": {
@@ -730,30 +581,18 @@
730
581
  "search.js"
731
582
  ]
732
583
  },
733
- "connection:accept": {
584
+ "comment:react": {
734
585
  "aliases": [],
735
586
  "args": {
736
- "type": {
737
- "description": "Invitation type",
738
- "name": "type",
739
- "options": [
740
- "connect",
741
- "companyFollow",
742
- "newsletterSubscribe"
743
- ],
744
- "required": true
745
- },
746
587
  "url": {
747
- "description": "Person, company, or newsletter URL matching the invitation type",
588
+ "description": "LinkedIn comment URL",
748
589
  "name": "url",
749
590
  "required": true
750
591
  }
751
592
  },
752
- "description": "Accept an incoming invitation",
593
+ "description": "React to a LinkedIn comment",
753
594
  "examples": [
754
- "<%= config.bin %> connection accept connect https://www.linkedin.com/in/john-doe",
755
- "<%= config.bin %> connection accept companyFollow https://www.linkedin.com/company/example",
756
- "<%= config.bin %> connection accept newsletterSubscribe https://www.linkedin.com/newsletters/example-1234567890"
595
+ "<%= config.bin %> comment react \"https://www.linkedin.com/feed/update/urn:li:activity:123/?dashCommentUrn=urn:li:fsd_comment:(456,urn:li:activity:123)\" --type like"
757
596
  ],
758
597
  "flags": {
759
598
  "json": {
@@ -788,11 +627,27 @@
788
627
  "hasDynamicHelp": false,
789
628
  "multiple": false,
790
629
  "type": "option"
630
+ },
631
+ "type": {
632
+ "description": "Reaction type",
633
+ "name": "type",
634
+ "required": true,
635
+ "hasDynamicHelp": false,
636
+ "multiple": false,
637
+ "options": [
638
+ "like",
639
+ "love",
640
+ "support",
641
+ "celebrate",
642
+ "insightful",
643
+ "funny"
644
+ ],
645
+ "type": "option"
791
646
  }
792
647
  },
793
648
  "hasDynamicHelp": false,
794
649
  "hiddenAliases": [],
795
- "id": "connection:accept",
650
+ "id": "comment:react",
796
651
  "pluginAlias": "@linkedapi/linkedin-cli",
797
652
  "pluginName": "@linkedapi/linkedin-cli",
798
653
  "pluginType": "core",
@@ -802,34 +657,27 @@
802
657
  "relativePath": [
803
658
  "dist",
804
659
  "commands",
805
- "connection",
806
- "accept.js"
660
+ "comment",
661
+ "react.js"
807
662
  ]
808
663
  },
809
- "connection:ignore": {
664
+ "comment:reply": {
810
665
  "aliases": [],
811
666
  "args": {
812
- "type": {
813
- "description": "Invitation type",
814
- "name": "type",
815
- "options": [
816
- "connect",
817
- "companyFollow",
818
- "newsletterSubscribe"
819
- ],
820
- "required": true
821
- },
822
667
  "url": {
823
- "description": "Person, company, or newsletter URL matching the invitation type",
668
+ "description": "LinkedIn comment URL",
824
669
  "name": "url",
825
670
  "required": true
671
+ },
672
+ "text": {
673
+ "description": "Reply text (up to 1000 characters)",
674
+ "name": "text",
675
+ "required": true
826
676
  }
827
677
  },
828
- "description": "Ignore an incoming invitation",
678
+ "description": "Reply to a LinkedIn comment",
829
679
  "examples": [
830
- "<%= config.bin %> connection ignore connect https://www.linkedin.com/in/john-doe",
831
- "<%= config.bin %> connection ignore companyFollow https://www.linkedin.com/company/example",
832
- "<%= config.bin %> connection ignore newsletterSubscribe https://www.linkedin.com/newsletters/example-1234567890"
680
+ "<%= config.bin %> comment reply \"https://www.linkedin.com/feed/update/urn:li:activity:123/?dashCommentUrn=urn:li:fsd_comment:(456,urn:li:activity:123)\" \"Well said!\""
833
681
  ],
834
682
  "flags": {
835
683
  "json": {
@@ -868,7 +716,7 @@
868
716
  },
869
717
  "hasDynamicHelp": false,
870
718
  "hiddenAliases": [],
871
- "id": "connection:ignore",
719
+ "id": "comment:reply",
872
720
  "pluginAlias": "@linkedapi/linkedin-cli",
873
721
  "pluginName": "@linkedapi/linkedin-cli",
874
722
  "pluginType": "core",
@@ -878,16 +726,34 @@
878
726
  "relativePath": [
879
727
  "dist",
880
728
  "commands",
881
- "connection",
882
- "ignore.js"
729
+ "comment",
730
+ "reply.js"
883
731
  ]
884
732
  },
885
- "connection:invitations": {
733
+ "connection:accept": {
886
734
  "aliases": [],
887
- "args": {},
888
- "description": "List incoming invitations",
735
+ "args": {
736
+ "type": {
737
+ "description": "Invitation type",
738
+ "name": "type",
739
+ "options": [
740
+ "connect",
741
+ "companyFollow",
742
+ "newsletterSubscribe"
743
+ ],
744
+ "required": true
745
+ },
746
+ "url": {
747
+ "description": "Person, company, or newsletter URL matching the invitation type",
748
+ "name": "url",
749
+ "required": true
750
+ }
751
+ },
752
+ "description": "Accept an incoming invitation",
889
753
  "examples": [
890
- "<%= config.bin %> connection invitations --json"
754
+ "<%= config.bin %> connection accept connect https://www.linkedin.com/in/john-doe",
755
+ "<%= config.bin %> connection accept companyFollow https://www.linkedin.com/company/example",
756
+ "<%= config.bin %> connection accept newsletterSubscribe https://www.linkedin.com/newsletters/example-1234567890"
891
757
  ],
892
758
  "flags": {
893
759
  "json": {
@@ -926,7 +792,7 @@
926
792
  },
927
793
  "hasDynamicHelp": false,
928
794
  "hiddenAliases": [],
929
- "id": "connection:invitations",
795
+ "id": "connection:accept",
930
796
  "pluginAlias": "@linkedapi/linkedin-cli",
931
797
  "pluginName": "@linkedapi/linkedin-cli",
932
798
  "pluginType": "core",
@@ -937,13 +803,147 @@
937
803
  "dist",
938
804
  "commands",
939
805
  "connection",
940
- "invitations.js"
806
+ "accept.js"
941
807
  ]
942
808
  },
943
- "connection:list": {
809
+ "connection:ignore": {
944
810
  "aliases": [],
945
- "args": {},
946
- "description": "List your LinkedIn connections",
811
+ "args": {
812
+ "type": {
813
+ "description": "Invitation type",
814
+ "name": "type",
815
+ "options": [
816
+ "connect",
817
+ "companyFollow",
818
+ "newsletterSubscribe"
819
+ ],
820
+ "required": true
821
+ },
822
+ "url": {
823
+ "description": "Person, company, or newsletter URL matching the invitation type",
824
+ "name": "url",
825
+ "required": true
826
+ }
827
+ },
828
+ "description": "Ignore an incoming invitation",
829
+ "examples": [
830
+ "<%= config.bin %> connection ignore connect https://www.linkedin.com/in/john-doe",
831
+ "<%= config.bin %> connection ignore companyFollow https://www.linkedin.com/company/example",
832
+ "<%= config.bin %> connection ignore newsletterSubscribe https://www.linkedin.com/newsletters/example-1234567890"
833
+ ],
834
+ "flags": {
835
+ "json": {
836
+ "description": "Output as JSON",
837
+ "name": "json",
838
+ "allowNo": false,
839
+ "type": "boolean"
840
+ },
841
+ "fields": {
842
+ "description": "Comma-separated list of fields to include in output",
843
+ "name": "fields",
844
+ "hasDynamicHelp": false,
845
+ "multiple": false,
846
+ "type": "option"
847
+ },
848
+ "quiet": {
849
+ "char": "q",
850
+ "description": "Suppress progress output on stderr",
851
+ "name": "quiet",
852
+ "allowNo": false,
853
+ "type": "boolean"
854
+ },
855
+ "no-color": {
856
+ "description": "Disable colored output",
857
+ "name": "no-color",
858
+ "allowNo": false,
859
+ "type": "boolean"
860
+ },
861
+ "account": {
862
+ "description": "Account name to use (when multiple accounts are configured)",
863
+ "name": "account",
864
+ "hasDynamicHelp": false,
865
+ "multiple": false,
866
+ "type": "option"
867
+ }
868
+ },
869
+ "hasDynamicHelp": false,
870
+ "hiddenAliases": [],
871
+ "id": "connection:ignore",
872
+ "pluginAlias": "@linkedapi/linkedin-cli",
873
+ "pluginName": "@linkedapi/linkedin-cli",
874
+ "pluginType": "core",
875
+ "strict": true,
876
+ "enableJsonFlag": false,
877
+ "isESM": false,
878
+ "relativePath": [
879
+ "dist",
880
+ "commands",
881
+ "connection",
882
+ "ignore.js"
883
+ ]
884
+ },
885
+ "connection:invitations": {
886
+ "aliases": [],
887
+ "args": {},
888
+ "description": "List incoming invitations",
889
+ "examples": [
890
+ "<%= config.bin %> connection invitations --json"
891
+ ],
892
+ "flags": {
893
+ "json": {
894
+ "description": "Output as JSON",
895
+ "name": "json",
896
+ "allowNo": false,
897
+ "type": "boolean"
898
+ },
899
+ "fields": {
900
+ "description": "Comma-separated list of fields to include in output",
901
+ "name": "fields",
902
+ "hasDynamicHelp": false,
903
+ "multiple": false,
904
+ "type": "option"
905
+ },
906
+ "quiet": {
907
+ "char": "q",
908
+ "description": "Suppress progress output on stderr",
909
+ "name": "quiet",
910
+ "allowNo": false,
911
+ "type": "boolean"
912
+ },
913
+ "no-color": {
914
+ "description": "Disable colored output",
915
+ "name": "no-color",
916
+ "allowNo": false,
917
+ "type": "boolean"
918
+ },
919
+ "account": {
920
+ "description": "Account name to use (when multiple accounts are configured)",
921
+ "name": "account",
922
+ "hasDynamicHelp": false,
923
+ "multiple": false,
924
+ "type": "option"
925
+ }
926
+ },
927
+ "hasDynamicHelp": false,
928
+ "hiddenAliases": [],
929
+ "id": "connection:invitations",
930
+ "pluginAlias": "@linkedapi/linkedin-cli",
931
+ "pluginName": "@linkedapi/linkedin-cli",
932
+ "pluginType": "core",
933
+ "strict": true,
934
+ "enableJsonFlag": false,
935
+ "isESM": false,
936
+ "relativePath": [
937
+ "dist",
938
+ "commands",
939
+ "connection",
940
+ "invitations.js"
941
+ ]
942
+ },
943
+ "connection:list": {
944
+ "aliases": [],
945
+ "args": {},
946
+ "description": "List your LinkedIn connections",
947
947
  "examples": [
948
948
  "<%= config.bin %> connection list --limit 50",
949
949
  "<%= config.bin %> connection list --current-companies Google --json"
@@ -1470,13 +1470,19 @@
1470
1470
  "retrieve.js"
1471
1471
  ]
1472
1472
  },
1473
- "inbox:get": {
1473
+ "jobs:fetch": {
1474
1474
  "aliases": [],
1475
- "args": {},
1476
- "description": "Get messages from the monitored inbox across all conversations",
1475
+ "args": {
1476
+ "url": {
1477
+ "description": "LinkedIn job URL",
1478
+ "name": "url",
1479
+ "required": true
1480
+ }
1481
+ },
1482
+ "description": "Fetch a LinkedIn job",
1477
1483
  "examples": [
1478
- "<%= config.bin %> inbox get",
1479
- "<%= config.bin %> inbox get --since 2024-01-15T10:30:00Z --type nv"
1484
+ "<%= config.bin %> jobs fetch https://www.linkedin.com/jobs/view/4416248954/",
1485
+ "<%= config.bin %> jobs fetch https://www.linkedin.com/jobs/view/4416248954/ --json"
1480
1486
  ],
1481
1487
  "flags": {
1482
1488
  "json": {
@@ -1511,36 +1517,11 @@
1511
1517
  "hasDynamicHelp": false,
1512
1518
  "multiple": false,
1513
1519
  "type": "option"
1514
- },
1515
- "since": {
1516
- "description": "Retrieve messages after ISO timestamp",
1517
- "name": "since",
1518
- "hasDynamicHelp": false,
1519
- "multiple": false,
1520
- "type": "option"
1521
- },
1522
- "type": {
1523
- "description": "Filter by inbox type",
1524
- "name": "type",
1525
- "hasDynamicHelp": false,
1526
- "multiple": false,
1527
- "options": [
1528
- "st",
1529
- "nv"
1530
- ],
1531
- "type": "option"
1532
- },
1533
- "thread-id": {
1534
- "description": "Restrict to a single conversation thread",
1535
- "name": "thread-id",
1536
- "hasDynamicHelp": false,
1537
- "multiple": false,
1538
- "type": "option"
1539
1520
  }
1540
1521
  },
1541
1522
  "hasDynamicHelp": false,
1542
1523
  "hiddenAliases": [],
1543
- "id": "inbox:get",
1524
+ "id": "jobs:fetch",
1544
1525
  "pluginAlias": "@linkedapi/linkedin-cli",
1545
1526
  "pluginName": "@linkedapi/linkedin-cli",
1546
1527
  "pluginType": "core",
@@ -1550,17 +1531,18 @@
1550
1531
  "relativePath": [
1551
1532
  "dist",
1552
1533
  "commands",
1553
- "inbox",
1554
- "get.js"
1534
+ "jobs",
1535
+ "fetch.js"
1555
1536
  ]
1556
1537
  },
1557
- "inbox:sync": {
1538
+ "jobs:search": {
1558
1539
  "aliases": [],
1559
1540
  "args": {},
1560
- "description": "Enable whole-inbox monitoring so every conversation can be read with \"inbox get\"",
1541
+ "description": "Search for jobs on LinkedIn",
1561
1542
  "examples": [
1562
- "<%= config.bin %> inbox sync",
1563
- "<%= config.bin %> inbox sync --nv"
1543
+ "<%= config.bin %> jobs search --term \"product manager\" --location \"San Francisco\" --limit 20",
1544
+ "<%= config.bin %> jobs search --term engineer --workplace-types \"remote,hybrid\" --easy-apply --json",
1545
+ "<%= config.bin %> jobs search --term \"product manager\" --pref-experience-levels \"senior,director\" --pref-remote --json"
1564
1546
  ],
1565
1547
  "flags": {
1566
1548
  "json": {
@@ -1596,150 +1578,19 @@
1596
1578
  "multiple": false,
1597
1579
  "type": "option"
1598
1580
  },
1599
- "nv": {
1600
- "description": "Enable monitoring for the Sales Navigator inbox instead of the standard one",
1601
- "name": "nv",
1602
- "allowNo": false,
1603
- "type": "boolean"
1604
- }
1605
- },
1606
- "hasDynamicHelp": false,
1607
- "hiddenAliases": [],
1608
- "id": "inbox:sync",
1609
- "pluginAlias": "@linkedapi/linkedin-cli",
1610
- "pluginName": "@linkedapi/linkedin-cli",
1611
- "pluginType": "core",
1612
- "strict": true,
1613
- "enableJsonFlag": false,
1614
- "isESM": false,
1615
- "relativePath": [
1616
- "dist",
1617
- "commands",
1618
- "inbox",
1619
- "sync.js"
1620
- ]
1621
- },
1622
- "jobs:fetch": {
1623
- "aliases": [],
1624
- "args": {
1625
- "url": {
1626
- "description": "LinkedIn job URL",
1627
- "name": "url",
1628
- "required": true
1629
- }
1630
- },
1631
- "description": "Fetch a LinkedIn job",
1632
- "examples": [
1633
- "<%= config.bin %> jobs fetch https://www.linkedin.com/jobs/view/4416248954/",
1634
- "<%= config.bin %> jobs fetch https://www.linkedin.com/jobs/view/4416248954/ --json"
1635
- ],
1636
- "flags": {
1637
- "json": {
1638
- "description": "Output as JSON",
1639
- "name": "json",
1640
- "allowNo": false,
1641
- "type": "boolean"
1642
- },
1643
- "fields": {
1644
- "description": "Comma-separated list of fields to include in output",
1645
- "name": "fields",
1581
+ "term": {
1582
+ "description": "Search keyword or phrase",
1583
+ "name": "term",
1646
1584
  "hasDynamicHelp": false,
1647
1585
  "multiple": false,
1648
1586
  "type": "option"
1649
1587
  },
1650
- "quiet": {
1651
- "char": "q",
1652
- "description": "Suppress progress output on stderr",
1653
- "name": "quiet",
1654
- "allowNo": false,
1655
- "type": "boolean"
1656
- },
1657
- "no-color": {
1658
- "description": "Disable colored output",
1659
- "name": "no-color",
1660
- "allowNo": false,
1661
- "type": "boolean"
1662
- },
1663
- "account": {
1664
- "description": "Account name to use (when multiple accounts are configured)",
1665
- "name": "account",
1666
- "hasDynamicHelp": false,
1667
- "multiple": false,
1668
- "type": "option"
1669
- }
1670
- },
1671
- "hasDynamicHelp": false,
1672
- "hiddenAliases": [],
1673
- "id": "jobs:fetch",
1674
- "pluginAlias": "@linkedapi/linkedin-cli",
1675
- "pluginName": "@linkedapi/linkedin-cli",
1676
- "pluginType": "core",
1677
- "strict": true,
1678
- "enableJsonFlag": false,
1679
- "isESM": false,
1680
- "relativePath": [
1681
- "dist",
1682
- "commands",
1683
- "jobs",
1684
- "fetch.js"
1685
- ]
1686
- },
1687
- "jobs:search": {
1688
- "aliases": [],
1689
- "args": {},
1690
- "description": "Search for jobs on LinkedIn",
1691
- "examples": [
1692
- "<%= config.bin %> jobs search --term \"product manager\" --location \"San Francisco\" --limit 20",
1693
- "<%= config.bin %> jobs search --term engineer --workplace-types \"remote,hybrid\" --easy-apply --json",
1694
- "<%= config.bin %> jobs search --term \"product manager\" --pref-experience-levels \"senior,director\" --pref-remote --json"
1695
- ],
1696
- "flags": {
1697
- "json": {
1698
- "description": "Output as JSON",
1699
- "name": "json",
1700
- "allowNo": false,
1701
- "type": "boolean"
1702
- },
1703
- "fields": {
1704
- "description": "Comma-separated list of fields to include in output",
1705
- "name": "fields",
1706
- "hasDynamicHelp": false,
1707
- "multiple": false,
1708
- "type": "option"
1709
- },
1710
- "quiet": {
1711
- "char": "q",
1712
- "description": "Suppress progress output on stderr",
1713
- "name": "quiet",
1714
- "allowNo": false,
1715
- "type": "boolean"
1716
- },
1717
- "no-color": {
1718
- "description": "Disable colored output",
1719
- "name": "no-color",
1720
- "allowNo": false,
1721
- "type": "boolean"
1722
- },
1723
- "account": {
1724
- "description": "Account name to use (when multiple accounts are configured)",
1725
- "name": "account",
1726
- "hasDynamicHelp": false,
1727
- "multiple": false,
1728
- "type": "option"
1729
- },
1730
- "term": {
1731
- "description": "Search keyword or phrase",
1732
- "name": "term",
1733
- "hasDynamicHelp": false,
1734
- "multiple": false,
1735
- "type": "option"
1736
- },
1737
- "limit": {
1738
- "description": "Max results to return",
1739
- "name": "limit",
1740
- "hasDynamicHelp": false,
1741
- "multiple": false,
1742
- "type": "option"
1588
+ "limit": {
1589
+ "description": "Max results to return",
1590
+ "name": "limit",
1591
+ "hasDynamicHelp": false,
1592
+ "multiple": false,
1593
+ "type": "option"
1743
1594
  },
1744
1595
  "location": {
1745
1596
  "description": "Filter by location",
@@ -1921,6 +1772,155 @@
1921
1772
  "search.js"
1922
1773
  ]
1923
1774
  },
1775
+ "inbox:get": {
1776
+ "aliases": [],
1777
+ "args": {},
1778
+ "description": "Get messages from the monitored inbox across all conversations",
1779
+ "examples": [
1780
+ "<%= config.bin %> inbox get",
1781
+ "<%= config.bin %> inbox get --since 2024-01-15T10:30:00Z --type nv"
1782
+ ],
1783
+ "flags": {
1784
+ "json": {
1785
+ "description": "Output as JSON",
1786
+ "name": "json",
1787
+ "allowNo": false,
1788
+ "type": "boolean"
1789
+ },
1790
+ "fields": {
1791
+ "description": "Comma-separated list of fields to include in output",
1792
+ "name": "fields",
1793
+ "hasDynamicHelp": false,
1794
+ "multiple": false,
1795
+ "type": "option"
1796
+ },
1797
+ "quiet": {
1798
+ "char": "q",
1799
+ "description": "Suppress progress output on stderr",
1800
+ "name": "quiet",
1801
+ "allowNo": false,
1802
+ "type": "boolean"
1803
+ },
1804
+ "no-color": {
1805
+ "description": "Disable colored output",
1806
+ "name": "no-color",
1807
+ "allowNo": false,
1808
+ "type": "boolean"
1809
+ },
1810
+ "account": {
1811
+ "description": "Account name to use (when multiple accounts are configured)",
1812
+ "name": "account",
1813
+ "hasDynamicHelp": false,
1814
+ "multiple": false,
1815
+ "type": "option"
1816
+ },
1817
+ "since": {
1818
+ "description": "Retrieve messages after ISO timestamp",
1819
+ "name": "since",
1820
+ "hasDynamicHelp": false,
1821
+ "multiple": false,
1822
+ "type": "option"
1823
+ },
1824
+ "type": {
1825
+ "description": "Filter by inbox type",
1826
+ "name": "type",
1827
+ "hasDynamicHelp": false,
1828
+ "multiple": false,
1829
+ "options": [
1830
+ "st",
1831
+ "nv"
1832
+ ],
1833
+ "type": "option"
1834
+ },
1835
+ "thread-id": {
1836
+ "description": "Restrict to a single conversation thread",
1837
+ "name": "thread-id",
1838
+ "hasDynamicHelp": false,
1839
+ "multiple": false,
1840
+ "type": "option"
1841
+ }
1842
+ },
1843
+ "hasDynamicHelp": false,
1844
+ "hiddenAliases": [],
1845
+ "id": "inbox:get",
1846
+ "pluginAlias": "@linkedapi/linkedin-cli",
1847
+ "pluginName": "@linkedapi/linkedin-cli",
1848
+ "pluginType": "core",
1849
+ "strict": true,
1850
+ "enableJsonFlag": false,
1851
+ "isESM": false,
1852
+ "relativePath": [
1853
+ "dist",
1854
+ "commands",
1855
+ "inbox",
1856
+ "get.js"
1857
+ ]
1858
+ },
1859
+ "inbox:sync": {
1860
+ "aliases": [],
1861
+ "args": {},
1862
+ "description": "Enable whole-inbox monitoring so every conversation can be read with \"inbox get\"",
1863
+ "examples": [
1864
+ "<%= config.bin %> inbox sync",
1865
+ "<%= config.bin %> inbox sync --nv"
1866
+ ],
1867
+ "flags": {
1868
+ "json": {
1869
+ "description": "Output as JSON",
1870
+ "name": "json",
1871
+ "allowNo": false,
1872
+ "type": "boolean"
1873
+ },
1874
+ "fields": {
1875
+ "description": "Comma-separated list of fields to include in output",
1876
+ "name": "fields",
1877
+ "hasDynamicHelp": false,
1878
+ "multiple": false,
1879
+ "type": "option"
1880
+ },
1881
+ "quiet": {
1882
+ "char": "q",
1883
+ "description": "Suppress progress output on stderr",
1884
+ "name": "quiet",
1885
+ "allowNo": false,
1886
+ "type": "boolean"
1887
+ },
1888
+ "no-color": {
1889
+ "description": "Disable colored output",
1890
+ "name": "no-color",
1891
+ "allowNo": false,
1892
+ "type": "boolean"
1893
+ },
1894
+ "account": {
1895
+ "description": "Account name to use (when multiple accounts are configured)",
1896
+ "name": "account",
1897
+ "hasDynamicHelp": false,
1898
+ "multiple": false,
1899
+ "type": "option"
1900
+ },
1901
+ "nv": {
1902
+ "description": "Enable monitoring for the Sales Navigator inbox instead of the standard one",
1903
+ "name": "nv",
1904
+ "allowNo": false,
1905
+ "type": "boolean"
1906
+ }
1907
+ },
1908
+ "hasDynamicHelp": false,
1909
+ "hiddenAliases": [],
1910
+ "id": "inbox:sync",
1911
+ "pluginAlias": "@linkedapi/linkedin-cli",
1912
+ "pluginName": "@linkedapi/linkedin-cli",
1913
+ "pluginType": "core",
1914
+ "strict": true,
1915
+ "enableJsonFlag": false,
1916
+ "isESM": false,
1917
+ "relativePath": [
1918
+ "dist",
1919
+ "commands",
1920
+ "inbox",
1921
+ "sync.js"
1922
+ ]
1923
+ },
1924
1924
  "message:get": {
1925
1925
  "aliases": [],
1926
1926
  "args": {
@@ -2936,12 +2936,14 @@
2936
2936
  "react.js"
2937
2937
  ]
2938
2938
  },
2939
- "stats:performance": {
2939
+ "post:search": {
2940
2940
  "aliases": [],
2941
2941
  "args": {},
2942
- "description": "Retrieve your LinkedIn performance analytics",
2942
+ "description": "Search for posts on LinkedIn",
2943
2943
  "examples": [
2944
- "<%= config.bin %> stats performance --json"
2944
+ "<%= config.bin %> post search --term \"climate tech\" --date-posted pastWeek --json",
2945
+ "<%= config.bin %> post search --term \"product launch\" --content-type images --sort latest --limit 20 --json",
2946
+ "<%= config.bin %> post search --term \"hiring\" --from-companies \"Linked API\" --posted-by \"peopleYouFollow\" --json"
2945
2947
  ],
2946
2948
  "flags": {
2947
2949
  "json": {
@@ -2976,25 +2978,183 @@
2976
2978
  "hasDynamicHelp": false,
2977
2979
  "multiple": false,
2978
2980
  "type": "option"
2979
- }
2980
- },
2981
- "hasDynamicHelp": false,
2982
- "hiddenAliases": [],
2983
- "id": "stats:performance",
2984
- "pluginAlias": "@linkedapi/linkedin-cli",
2985
- "pluginName": "@linkedapi/linkedin-cli",
2986
- "pluginType": "core",
2987
- "strict": true,
2988
- "enableJsonFlag": false,
2989
- "isESM": false,
2990
- "relativePath": [
2991
- "dist",
2992
- "commands",
2993
- "stats",
2994
- "performance.js"
2995
- ]
2996
- },
2997
- "stats:ssi": {
2981
+ },
2982
+ "term": {
2983
+ "description": "Search keyword or phrase, up to 50 characters",
2984
+ "name": "term",
2985
+ "hasDynamicHelp": false,
2986
+ "multiple": false,
2987
+ "type": "option"
2988
+ },
2989
+ "limit": {
2990
+ "description": "Max results to return, up to 100",
2991
+ "name": "limit",
2992
+ "hasDynamicHelp": false,
2993
+ "multiple": false,
2994
+ "type": "option"
2995
+ },
2996
+ "sort": {
2997
+ "description": "Sort order of the results",
2998
+ "name": "sort",
2999
+ "hasDynamicHelp": false,
3000
+ "multiple": false,
3001
+ "options": [
3002
+ "topMatch",
3003
+ "latest"
3004
+ ],
3005
+ "type": "option"
3006
+ },
3007
+ "date-posted": {
3008
+ "description": "Filter by how recently the post was published",
3009
+ "name": "date-posted",
3010
+ "hasDynamicHelp": false,
3011
+ "multiple": false,
3012
+ "options": [
3013
+ "past24Hours",
3014
+ "pastWeek",
3015
+ "pastMonth"
3016
+ ],
3017
+ "type": "option"
3018
+ },
3019
+ "content-type": {
3020
+ "description": "Filter by content type",
3021
+ "name": "content-type",
3022
+ "hasDynamicHelp": false,
3023
+ "multiple": false,
3024
+ "options": [
3025
+ "videos",
3026
+ "images",
3027
+ "jobPosts",
3028
+ "liveVideos",
3029
+ "documents"
3030
+ ],
3031
+ "type": "option"
3032
+ },
3033
+ "posted-by": {
3034
+ "description": "Filter by author relationship (comma-separated: me, firstConnections, peopleYouFollow)",
3035
+ "name": "posted-by",
3036
+ "hasDynamicHelp": false,
3037
+ "multiple": false,
3038
+ "type": "option"
3039
+ },
3040
+ "from-members": {
3041
+ "description": "Filter by names of people whose posts to keep (comma-separated)",
3042
+ "name": "from-members",
3043
+ "hasDynamicHelp": false,
3044
+ "multiple": false,
3045
+ "type": "option"
3046
+ },
3047
+ "from-companies": {
3048
+ "description": "Filter by names of companies whose posts to keep (comma-separated)",
3049
+ "name": "from-companies",
3050
+ "hasDynamicHelp": false,
3051
+ "multiple": false,
3052
+ "type": "option"
3053
+ },
3054
+ "mentioning-members": {
3055
+ "description": "Filter by names of people the post must mention (comma-separated)",
3056
+ "name": "mentioning-members",
3057
+ "hasDynamicHelp": false,
3058
+ "multiple": false,
3059
+ "type": "option"
3060
+ },
3061
+ "mentioning-companies": {
3062
+ "description": "Filter by names of companies the post must mention (comma-separated)",
3063
+ "name": "mentioning-companies",
3064
+ "hasDynamicHelp": false,
3065
+ "multiple": false,
3066
+ "type": "option"
3067
+ },
3068
+ "author-companies": {
3069
+ "description": "Filter by names of companies the author works at (comma-separated)",
3070
+ "name": "author-companies",
3071
+ "hasDynamicHelp": false,
3072
+ "multiple": false,
3073
+ "type": "option"
3074
+ },
3075
+ "author-industries": {
3076
+ "description": "Filter by industries the author works in (comma-separated)",
3077
+ "name": "author-industries",
3078
+ "hasDynamicHelp": false,
3079
+ "multiple": false,
3080
+ "type": "option"
3081
+ }
3082
+ },
3083
+ "hasDynamicHelp": false,
3084
+ "hiddenAliases": [],
3085
+ "id": "post:search",
3086
+ "pluginAlias": "@linkedapi/linkedin-cli",
3087
+ "pluginName": "@linkedapi/linkedin-cli",
3088
+ "pluginType": "core",
3089
+ "strict": true,
3090
+ "enableJsonFlag": false,
3091
+ "isESM": false,
3092
+ "relativePath": [
3093
+ "dist",
3094
+ "commands",
3095
+ "post",
3096
+ "search.js"
3097
+ ]
3098
+ },
3099
+ "stats:performance": {
3100
+ "aliases": [],
3101
+ "args": {},
3102
+ "description": "Retrieve your LinkedIn performance analytics",
3103
+ "examples": [
3104
+ "<%= config.bin %> stats performance --json"
3105
+ ],
3106
+ "flags": {
3107
+ "json": {
3108
+ "description": "Output as JSON",
3109
+ "name": "json",
3110
+ "allowNo": false,
3111
+ "type": "boolean"
3112
+ },
3113
+ "fields": {
3114
+ "description": "Comma-separated list of fields to include in output",
3115
+ "name": "fields",
3116
+ "hasDynamicHelp": false,
3117
+ "multiple": false,
3118
+ "type": "option"
3119
+ },
3120
+ "quiet": {
3121
+ "char": "q",
3122
+ "description": "Suppress progress output on stderr",
3123
+ "name": "quiet",
3124
+ "allowNo": false,
3125
+ "type": "boolean"
3126
+ },
3127
+ "no-color": {
3128
+ "description": "Disable colored output",
3129
+ "name": "no-color",
3130
+ "allowNo": false,
3131
+ "type": "boolean"
3132
+ },
3133
+ "account": {
3134
+ "description": "Account name to use (when multiple accounts are configured)",
3135
+ "name": "account",
3136
+ "hasDynamicHelp": false,
3137
+ "multiple": false,
3138
+ "type": "option"
3139
+ }
3140
+ },
3141
+ "hasDynamicHelp": false,
3142
+ "hiddenAliases": [],
3143
+ "id": "stats:performance",
3144
+ "pluginAlias": "@linkedapi/linkedin-cli",
3145
+ "pluginName": "@linkedapi/linkedin-cli",
3146
+ "pluginType": "core",
3147
+ "strict": true,
3148
+ "enableJsonFlag": false,
3149
+ "isESM": false,
3150
+ "relativePath": [
3151
+ "dist",
3152
+ "commands",
3153
+ "stats",
3154
+ "performance.js"
3155
+ ]
3156
+ },
3157
+ "stats:ssi": {
2998
3158
  "aliases": [],
2999
3159
  "args": {},
3000
3160
  "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
@@ -3978,12 +4138,18 @@
3978
4138
  "status.js"
3979
4139
  ]
3980
4140
  },
3981
- "admin:limits:defaults": {
4141
+ "admin:webhook:delete": {
3982
4142
  "aliases": [],
3983
- "args": {},
3984
- "description": "View system default limits",
4143
+ "args": {
4144
+ "id": {
4145
+ "description": "Webhook subscription id",
4146
+ "name": "id",
4147
+ "required": true
4148
+ }
4149
+ },
4150
+ "description": "Delete the webhook (soft-delete: delivery history is kept, pending deliveries are dropped)",
3985
4151
  "examples": [
3986
- "<%= config.bin %> admin limits defaults"
4152
+ "<%= config.bin %> admin webhook delete whs-123"
3987
4153
  ],
3988
4154
  "flags": {
3989
4155
  "json": {
@@ -4015,7 +4181,7 @@
4015
4181
  },
4016
4182
  "hasDynamicHelp": false,
4017
4183
  "hiddenAliases": [],
4018
- "id": "admin:limits:defaults",
4184
+ "id": "admin:webhook:delete",
4019
4185
  "pluginAlias": "@linkedapi/linkedin-cli",
4020
4186
  "pluginName": "@linkedapi/linkedin-cli",
4021
4187
  "pluginType": "core",
@@ -4026,22 +4192,16 @@
4026
4192
  "dist",
4027
4193
  "commands",
4028
4194
  "admin",
4029
- "limits",
4030
- "defaults.js"
4195
+ "webhook",
4196
+ "delete.js"
4031
4197
  ]
4032
4198
  },
4033
- "admin:limits:delete": {
4199
+ "admin:webhook:deliveries": {
4034
4200
  "aliases": [],
4035
- "args": {
4036
- "accountId": {
4037
- "description": "Account UUID",
4038
- "name": "accountId",
4039
- "required": true
4040
- }
4041
- },
4042
- "description": "Delete specific limits (falls back to defaults)",
4201
+ "args": {},
4202
+ "description": "Show the most recent webhook deliveries (debug feed, newest first)",
4043
4203
  "examples": [
4044
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
4204
+ "<%= config.bin %> admin webhook deliveries"
4045
4205
  ],
4046
4206
  "flags": {
4047
4207
  "json": {
@@ -4069,32 +4229,11 @@
4069
4229
  "name": "no-color",
4070
4230
  "allowNo": false,
4071
4231
  "type": "boolean"
4072
- },
4073
- "category": {
4074
- "description": "Limit category",
4075
- "name": "category",
4076
- "required": true,
4077
- "hasDynamicHelp": false,
4078
- "multiple": false,
4079
- "type": "option"
4080
- },
4081
- "period": {
4082
- "description": "Limit period",
4083
- "name": "period",
4084
- "required": true,
4085
- "hasDynamicHelp": false,
4086
- "multiple": false,
4087
- "options": [
4088
- "daily",
4089
- "weekly",
4090
- "monthly"
4091
- ],
4092
- "type": "option"
4093
4232
  }
4094
4233
  },
4095
4234
  "hasDynamicHelp": false,
4096
4235
  "hiddenAliases": [],
4097
- "id": "admin:limits:delete",
4236
+ "id": "admin:webhook:deliveries",
4098
4237
  "pluginAlias": "@linkedapi/linkedin-cli",
4099
4238
  "pluginName": "@linkedapi/linkedin-cli",
4100
4239
  "pluginType": "core",
@@ -4105,22 +4244,16 @@
4105
4244
  "dist",
4106
4245
  "commands",
4107
4246
  "admin",
4108
- "limits",
4109
- "delete.js"
4247
+ "webhook",
4248
+ "deliveries.js"
4110
4249
  ]
4111
4250
  },
4112
- "admin:limits:get": {
4251
+ "admin:webhook:get": {
4113
4252
  "aliases": [],
4114
- "args": {
4115
- "accountId": {
4116
- "description": "Account UUID",
4117
- "name": "accountId",
4118
- "required": true
4119
- }
4120
- },
4121
- "description": "View current limits for an account",
4253
+ "args": {},
4254
+ "description": "List the active webhook subscription for this client",
4122
4255
  "examples": [
4123
- "<%= config.bin %> admin limits get f9b4346a-..."
4256
+ "<%= config.bin %> admin webhook get"
4124
4257
  ],
4125
4258
  "flags": {
4126
4259
  "json": {
@@ -4152,7 +4285,7 @@
4152
4285
  },
4153
4286
  "hasDynamicHelp": false,
4154
4287
  "hiddenAliases": [],
4155
- "id": "admin:limits:get",
4288
+ "id": "admin:webhook:get",
4156
4289
  "pluginAlias": "@linkedapi/linkedin-cli",
4157
4290
  "pluginName": "@linkedapi/linkedin-cli",
4158
4291
  "pluginType": "core",
@@ -4163,22 +4296,22 @@
4163
4296
  "dist",
4164
4297
  "commands",
4165
4298
  "admin",
4166
- "limits",
4299
+ "webhook",
4167
4300
  "get.js"
4168
4301
  ]
4169
4302
  },
4170
- "admin:limits:reset": {
4303
+ "admin:webhook:replay": {
4171
4304
  "aliases": [],
4172
4305
  "args": {
4173
- "accountId": {
4174
- "description": "Account UUID",
4175
- "name": "accountId",
4306
+ "deliveryId": {
4307
+ "description": "Webhook delivery id (from `webhook deliveries`)",
4308
+ "name": "deliveryId",
4176
4309
  "required": true
4177
4310
  }
4178
4311
  },
4179
- "description": "Reset all limits to defaults",
4312
+ "description": "Re-arm an already-settled delivery for redelivery (reuses the same event id)",
4180
4313
  "examples": [
4181
- "<%= config.bin %> admin limits reset f9b4346a-..."
4314
+ "<%= config.bin %> admin webhook replay whd-123"
4182
4315
  ],
4183
4316
  "flags": {
4184
4317
  "json": {
@@ -4210,7 +4343,7 @@
4210
4343
  },
4211
4344
  "hasDynamicHelp": false,
4212
4345
  "hiddenAliases": [],
4213
- "id": "admin:limits:reset",
4346
+ "id": "admin:webhook:replay",
4214
4347
  "pluginAlias": "@linkedapi/linkedin-cli",
4215
4348
  "pluginName": "@linkedapi/linkedin-cli",
4216
4349
  "pluginType": "core",
@@ -4221,22 +4354,16 @@
4221
4354
  "dist",
4222
4355
  "commands",
4223
4356
  "admin",
4224
- "limits",
4225
- "reset.js"
4357
+ "webhook",
4358
+ "replay.js"
4226
4359
  ]
4227
4360
  },
4228
- "admin:limits:set": {
4361
+ "admin:webhook:send-test": {
4229
4362
  "aliases": [],
4230
- "args": {
4231
- "accountId": {
4232
- "description": "Account UUID",
4233
- "name": "accountId",
4234
- "required": true
4235
- }
4236
- },
4237
- "description": "Set limits for an account",
4363
+ "args": {},
4364
+ "description": "Emit a synthetic webhook.test event to verify the endpoint end-to-end",
4238
4365
  "examples": [
4239
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
4366
+ "<%= config.bin %> admin webhook send-test"
4240
4367
  ],
4241
4368
  "flags": {
4242
4369
  "json": {
@@ -4264,40 +4391,11 @@
4264
4391
  "name": "no-color",
4265
4392
  "allowNo": false,
4266
4393
  "type": "boolean"
4267
- },
4268
- "category": {
4269
- "description": "Limit category",
4270
- "name": "category",
4271
- "required": true,
4272
- "hasDynamicHelp": false,
4273
- "multiple": false,
4274
- "type": "option"
4275
- },
4276
- "period": {
4277
- "description": "Limit period",
4278
- "name": "period",
4279
- "required": true,
4280
- "hasDynamicHelp": false,
4281
- "multiple": false,
4282
- "options": [
4283
- "daily",
4284
- "weekly",
4285
- "monthly"
4286
- ],
4287
- "type": "option"
4288
- },
4289
- "max": {
4290
- "description": "Maximum allowed actions (>= 0)",
4291
- "name": "max",
4292
- "required": true,
4293
- "hasDynamicHelp": false,
4294
- "multiple": false,
4295
- "type": "option"
4296
4394
  }
4297
4395
  },
4298
4396
  "hasDynamicHelp": false,
4299
4397
  "hiddenAliases": [],
4300
- "id": "admin:limits:set",
4398
+ "id": "admin:webhook:send-test",
4301
4399
  "pluginAlias": "@linkedapi/linkedin-cli",
4302
4400
  "pluginName": "@linkedapi/linkedin-cli",
4303
4401
  "pluginType": "core",
@@ -4308,22 +4406,31 @@
4308
4406
  "dist",
4309
4407
  "commands",
4310
4408
  "admin",
4311
- "limits",
4312
- "set.js"
4409
+ "webhook",
4410
+ "send-test.js"
4313
4411
  ]
4314
4412
  },
4315
- "admin:limits:usage": {
4413
+ "admin:webhook:set-payload-mode": {
4316
4414
  "aliases": [],
4317
4415
  "args": {
4318
- "accountId": {
4319
- "description": "Account UUID",
4320
- "name": "accountId",
4416
+ "id": {
4417
+ "description": "Webhook subscription id",
4418
+ "name": "id",
4419
+ "required": true
4420
+ },
4421
+ "mode": {
4422
+ "description": "fat inlines the workflow result; thin sends a reference only",
4423
+ "name": "mode",
4424
+ "options": [
4425
+ "fat",
4426
+ "thin"
4427
+ ],
4321
4428
  "required": true
4322
4429
  }
4323
4430
  },
4324
- "description": "View current usage against limits",
4431
+ "description": "Switch the webhook payload mode between fat and thin",
4325
4432
  "examples": [
4326
- "<%= config.bin %> admin limits usage f9b4346a-..."
4433
+ "<%= config.bin %> admin webhook set-payload-mode whs-123 thin"
4327
4434
  ],
4328
4435
  "flags": {
4329
4436
  "json": {
@@ -4355,7 +4462,7 @@
4355
4462
  },
4356
4463
  "hasDynamicHelp": false,
4357
4464
  "hiddenAliases": [],
4358
- "id": "admin:limits:usage",
4465
+ "id": "admin:webhook:set-payload-mode",
4359
4466
  "pluginAlias": "@linkedapi/linkedin-cli",
4360
4467
  "pluginName": "@linkedapi/linkedin-cli",
4361
4468
  "pluginType": "core",
@@ -4366,22 +4473,23 @@
4366
4473
  "dist",
4367
4474
  "commands",
4368
4475
  "admin",
4369
- "limits",
4370
- "usage.js"
4476
+ "webhook",
4477
+ "set-payload-mode.js"
4371
4478
  ]
4372
4479
  },
4373
- "admin:webhook:delete": {
4480
+ "admin:webhook:set": {
4374
4481
  "aliases": [],
4375
4482
  "args": {
4376
- "id": {
4377
- "description": "Webhook subscription id",
4378
- "name": "id",
4483
+ "url": {
4484
+ "description": "HTTPS endpoint that will receive event deliveries",
4485
+ "name": "url",
4379
4486
  "required": true
4380
4487
  }
4381
4488
  },
4382
- "description": "Delete the webhook (soft-delete: delivery history is kept, pending deliveries are dropped)",
4489
+ "description": "Register the outbound webhook that receives event deliveries (max one active per client)",
4383
4490
  "examples": [
4384
- "<%= config.bin %> admin webhook delete whs-123"
4491
+ "<%= config.bin %> admin webhook set https://example.com/hooks/linkedapi",
4492
+ "<%= config.bin %> admin webhook set https://example.com/hooks --payload-mode thin"
4385
4493
  ],
4386
4494
  "flags": {
4387
4495
  "json": {
@@ -4409,11 +4517,23 @@
4409
4517
  "name": "no-color",
4410
4518
  "allowNo": false,
4411
4519
  "type": "boolean"
4520
+ },
4521
+ "payload-mode": {
4522
+ "description": "fat inlines the workflow result; thin sends a reference to fetch via the API",
4523
+ "name": "payload-mode",
4524
+ "default": "fat",
4525
+ "hasDynamicHelp": false,
4526
+ "multiple": false,
4527
+ "options": [
4528
+ "fat",
4529
+ "thin"
4530
+ ],
4531
+ "type": "option"
4412
4532
  }
4413
4533
  },
4414
4534
  "hasDynamicHelp": false,
4415
4535
  "hiddenAliases": [],
4416
- "id": "admin:webhook:delete",
4536
+ "id": "admin:webhook:set",
4417
4537
  "pluginAlias": "@linkedapi/linkedin-cli",
4418
4538
  "pluginName": "@linkedapi/linkedin-cli",
4419
4539
  "pluginType": "core",
@@ -4425,15 +4545,15 @@
4425
4545
  "commands",
4426
4546
  "admin",
4427
4547
  "webhook",
4428
- "delete.js"
4548
+ "set.js"
4429
4549
  ]
4430
4550
  },
4431
- "admin:webhook:deliveries": {
4551
+ "admin:limits:defaults": {
4432
4552
  "aliases": [],
4433
4553
  "args": {},
4434
- "description": "Show the most recent webhook deliveries (debug feed, newest first)",
4554
+ "description": "View system default limits",
4435
4555
  "examples": [
4436
- "<%= config.bin %> admin webhook deliveries"
4556
+ "<%= config.bin %> admin limits defaults"
4437
4557
  ],
4438
4558
  "flags": {
4439
4559
  "json": {
@@ -4465,7 +4585,7 @@
4465
4585
  },
4466
4586
  "hasDynamicHelp": false,
4467
4587
  "hiddenAliases": [],
4468
- "id": "admin:webhook:deliveries",
4588
+ "id": "admin:limits:defaults",
4469
4589
  "pluginAlias": "@linkedapi/linkedin-cli",
4470
4590
  "pluginName": "@linkedapi/linkedin-cli",
4471
4591
  "pluginType": "core",
@@ -4476,16 +4596,22 @@
4476
4596
  "dist",
4477
4597
  "commands",
4478
4598
  "admin",
4479
- "webhook",
4480
- "deliveries.js"
4599
+ "limits",
4600
+ "defaults.js"
4481
4601
  ]
4482
4602
  },
4483
- "admin:webhook:get": {
4603
+ "admin:limits:delete": {
4484
4604
  "aliases": [],
4485
- "args": {},
4486
- "description": "List the active webhook subscription for this client",
4605
+ "args": {
4606
+ "accountId": {
4607
+ "description": "Account UUID",
4608
+ "name": "accountId",
4609
+ "required": true
4610
+ }
4611
+ },
4612
+ "description": "Delete specific limits (falls back to defaults)",
4487
4613
  "examples": [
4488
- "<%= config.bin %> admin webhook get"
4614
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
4489
4615
  ],
4490
4616
  "flags": {
4491
4617
  "json": {
@@ -4513,11 +4639,32 @@
4513
4639
  "name": "no-color",
4514
4640
  "allowNo": false,
4515
4641
  "type": "boolean"
4642
+ },
4643
+ "category": {
4644
+ "description": "Limit category",
4645
+ "name": "category",
4646
+ "required": true,
4647
+ "hasDynamicHelp": false,
4648
+ "multiple": false,
4649
+ "type": "option"
4650
+ },
4651
+ "period": {
4652
+ "description": "Limit period",
4653
+ "name": "period",
4654
+ "required": true,
4655
+ "hasDynamicHelp": false,
4656
+ "multiple": false,
4657
+ "options": [
4658
+ "daily",
4659
+ "weekly",
4660
+ "monthly"
4661
+ ],
4662
+ "type": "option"
4516
4663
  }
4517
4664
  },
4518
4665
  "hasDynamicHelp": false,
4519
4666
  "hiddenAliases": [],
4520
- "id": "admin:webhook:get",
4667
+ "id": "admin:limits:delete",
4521
4668
  "pluginAlias": "@linkedapi/linkedin-cli",
4522
4669
  "pluginName": "@linkedapi/linkedin-cli",
4523
4670
  "pluginType": "core",
@@ -4528,22 +4675,22 @@
4528
4675
  "dist",
4529
4676
  "commands",
4530
4677
  "admin",
4531
- "webhook",
4532
- "get.js"
4678
+ "limits",
4679
+ "delete.js"
4533
4680
  ]
4534
4681
  },
4535
- "admin:webhook:replay": {
4682
+ "admin:limits:get": {
4536
4683
  "aliases": [],
4537
4684
  "args": {
4538
- "deliveryId": {
4539
- "description": "Webhook delivery id (from `webhook deliveries`)",
4540
- "name": "deliveryId",
4685
+ "accountId": {
4686
+ "description": "Account UUID",
4687
+ "name": "accountId",
4541
4688
  "required": true
4542
4689
  }
4543
4690
  },
4544
- "description": "Re-arm an already-settled delivery for redelivery (reuses the same event id)",
4691
+ "description": "View current limits for an account",
4545
4692
  "examples": [
4546
- "<%= config.bin %> admin webhook replay whd-123"
4693
+ "<%= config.bin %> admin limits get f9b4346a-..."
4547
4694
  ],
4548
4695
  "flags": {
4549
4696
  "json": {
@@ -4575,7 +4722,7 @@
4575
4722
  },
4576
4723
  "hasDynamicHelp": false,
4577
4724
  "hiddenAliases": [],
4578
- "id": "admin:webhook:replay",
4725
+ "id": "admin:limits:get",
4579
4726
  "pluginAlias": "@linkedapi/linkedin-cli",
4580
4727
  "pluginName": "@linkedapi/linkedin-cli",
4581
4728
  "pluginType": "core",
@@ -4586,16 +4733,22 @@
4586
4733
  "dist",
4587
4734
  "commands",
4588
4735
  "admin",
4589
- "webhook",
4590
- "replay.js"
4736
+ "limits",
4737
+ "get.js"
4591
4738
  ]
4592
4739
  },
4593
- "admin:webhook:send-test": {
4740
+ "admin:limits:reset": {
4594
4741
  "aliases": [],
4595
- "args": {},
4596
- "description": "Emit a synthetic webhook.test event to verify the endpoint end-to-end",
4742
+ "args": {
4743
+ "accountId": {
4744
+ "description": "Account UUID",
4745
+ "name": "accountId",
4746
+ "required": true
4747
+ }
4748
+ },
4749
+ "description": "Reset all limits to defaults",
4597
4750
  "examples": [
4598
- "<%= config.bin %> admin webhook send-test"
4751
+ "<%= config.bin %> admin limits reset f9b4346a-..."
4599
4752
  ],
4600
4753
  "flags": {
4601
4754
  "json": {
@@ -4627,7 +4780,7 @@
4627
4780
  },
4628
4781
  "hasDynamicHelp": false,
4629
4782
  "hiddenAliases": [],
4630
- "id": "admin:webhook:send-test",
4783
+ "id": "admin:limits:reset",
4631
4784
  "pluginAlias": "@linkedapi/linkedin-cli",
4632
4785
  "pluginName": "@linkedapi/linkedin-cli",
4633
4786
  "pluginType": "core",
@@ -4638,31 +4791,22 @@
4638
4791
  "dist",
4639
4792
  "commands",
4640
4793
  "admin",
4641
- "webhook",
4642
- "send-test.js"
4794
+ "limits",
4795
+ "reset.js"
4643
4796
  ]
4644
4797
  },
4645
- "admin:webhook:set-payload-mode": {
4798
+ "admin:limits:set": {
4646
4799
  "aliases": [],
4647
4800
  "args": {
4648
- "id": {
4649
- "description": "Webhook subscription id",
4650
- "name": "id",
4651
- "required": true
4652
- },
4653
- "mode": {
4654
- "description": "fat inlines the workflow result; thin sends a reference only",
4655
- "name": "mode",
4656
- "options": [
4657
- "fat",
4658
- "thin"
4659
- ],
4801
+ "accountId": {
4802
+ "description": "Account UUID",
4803
+ "name": "accountId",
4660
4804
  "required": true
4661
4805
  }
4662
4806
  },
4663
- "description": "Switch the webhook payload mode between fat and thin",
4807
+ "description": "Set limits for an account",
4664
4808
  "examples": [
4665
- "<%= config.bin %> admin webhook set-payload-mode whs-123 thin"
4809
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
4666
4810
  ],
4667
4811
  "flags": {
4668
4812
  "json": {
@@ -4690,11 +4834,40 @@
4690
4834
  "name": "no-color",
4691
4835
  "allowNo": false,
4692
4836
  "type": "boolean"
4837
+ },
4838
+ "category": {
4839
+ "description": "Limit category",
4840
+ "name": "category",
4841
+ "required": true,
4842
+ "hasDynamicHelp": false,
4843
+ "multiple": false,
4844
+ "type": "option"
4845
+ },
4846
+ "period": {
4847
+ "description": "Limit period",
4848
+ "name": "period",
4849
+ "required": true,
4850
+ "hasDynamicHelp": false,
4851
+ "multiple": false,
4852
+ "options": [
4853
+ "daily",
4854
+ "weekly",
4855
+ "monthly"
4856
+ ],
4857
+ "type": "option"
4858
+ },
4859
+ "max": {
4860
+ "description": "Maximum allowed actions (>= 0)",
4861
+ "name": "max",
4862
+ "required": true,
4863
+ "hasDynamicHelp": false,
4864
+ "multiple": false,
4865
+ "type": "option"
4693
4866
  }
4694
4867
  },
4695
4868
  "hasDynamicHelp": false,
4696
4869
  "hiddenAliases": [],
4697
- "id": "admin:webhook:set-payload-mode",
4870
+ "id": "admin:limits:set",
4698
4871
  "pluginAlias": "@linkedapi/linkedin-cli",
4699
4872
  "pluginName": "@linkedapi/linkedin-cli",
4700
4873
  "pluginType": "core",
@@ -4705,23 +4878,22 @@
4705
4878
  "dist",
4706
4879
  "commands",
4707
4880
  "admin",
4708
- "webhook",
4709
- "set-payload-mode.js"
4881
+ "limits",
4882
+ "set.js"
4710
4883
  ]
4711
4884
  },
4712
- "admin:webhook:set": {
4885
+ "admin:limits:usage": {
4713
4886
  "aliases": [],
4714
4887
  "args": {
4715
- "url": {
4716
- "description": "HTTPS endpoint that will receive event deliveries",
4717
- "name": "url",
4888
+ "accountId": {
4889
+ "description": "Account UUID",
4890
+ "name": "accountId",
4718
4891
  "required": true
4719
4892
  }
4720
4893
  },
4721
- "description": "Register the outbound webhook that receives event deliveries (max one active per client)",
4894
+ "description": "View current usage against limits",
4722
4895
  "examples": [
4723
- "<%= config.bin %> admin webhook set https://example.com/hooks/linkedapi",
4724
- "<%= config.bin %> admin webhook set https://example.com/hooks --payload-mode thin"
4896
+ "<%= config.bin %> admin limits usage f9b4346a-..."
4725
4897
  ],
4726
4898
  "flags": {
4727
4899
  "json": {
@@ -4749,23 +4921,11 @@
4749
4921
  "name": "no-color",
4750
4922
  "allowNo": false,
4751
4923
  "type": "boolean"
4752
- },
4753
- "payload-mode": {
4754
- "description": "fat inlines the workflow result; thin sends a reference to fetch via the API",
4755
- "name": "payload-mode",
4756
- "default": "fat",
4757
- "hasDynamicHelp": false,
4758
- "multiple": false,
4759
- "options": [
4760
- "fat",
4761
- "thin"
4762
- ],
4763
- "type": "option"
4764
4924
  }
4765
4925
  },
4766
4926
  "hasDynamicHelp": false,
4767
4927
  "hiddenAliases": [],
4768
- "id": "admin:webhook:set",
4928
+ "id": "admin:limits:usage",
4769
4929
  "pluginAlias": "@linkedapi/linkedin-cli",
4770
4930
  "pluginName": "@linkedapi/linkedin-cli",
4771
4931
  "pluginType": "core",
@@ -4776,8 +4936,8 @@
4776
4936
  "dist",
4777
4937
  "commands",
4778
4938
  "admin",
4779
- "webhook",
4780
- "set.js"
4939
+ "limits",
4940
+ "usage.js"
4781
4941
  ]
4782
4942
  },
4783
4943
  "navigator:company:fetch": {
@@ -5461,5 +5621,5 @@
5461
5621
  ]
5462
5622
  }
5463
5623
  },
5464
- "version": "1.2.13"
5624
+ "version": "1.2.14"
5465
5625
  }