@linkedapi/linkedin-cli 1.0.14 → 1.0.15

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.
@@ -209,253 +209,6 @@
209
209
  "update.js"
210
210
  ]
211
211
  },
212
- "company:fetch": {
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",
222
- "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"
225
- ],
226
- "flags": {
227
- "json": {
228
- "description": "Output as JSON",
229
- "name": "json",
230
- "allowNo": false,
231
- "type": "boolean"
232
- },
233
- "fields": {
234
- "description": "Comma-separated list of fields to include in output",
235
- "name": "fields",
236
- "hasDynamicHelp": false,
237
- "multiple": false,
238
- "type": "option"
239
- },
240
- "quiet": {
241
- "char": "q",
242
- "description": "Suppress progress output on stderr",
243
- "name": "quiet",
244
- "allowNo": false,
245
- "type": "boolean"
246
- },
247
- "no-color": {
248
- "description": "Disable colored output",
249
- "name": "no-color",
250
- "allowNo": false,
251
- "type": "boolean"
252
- },
253
- "account": {
254
- "description": "Account name to use (when multiple accounts are configured)",
255
- "name": "account",
256
- "hasDynamicHelp": false,
257
- "multiple": false,
258
- "type": "option"
259
- },
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",
281
- "hasDynamicHelp": false,
282
- "multiple": false,
283
- "type": "option"
284
- },
285
- "employees-first-name": {
286
- "description": "Filter employees by first name",
287
- "name": "employees-first-name",
288
- "hasDynamicHelp": false,
289
- "multiple": false,
290
- "type": "option"
291
- },
292
- "employees-last-name": {
293
- "description": "Filter employees by last name",
294
- "name": "employees-last-name",
295
- "hasDynamicHelp": false,
296
- "multiple": false,
297
- "type": "option"
298
- },
299
- "employees-position": {
300
- "description": "Filter employees by position",
301
- "name": "employees-position",
302
- "hasDynamicHelp": false,
303
- "multiple": false,
304
- "type": "option"
305
- },
306
- "employees-locations": {
307
- "description": "Filter employees by locations (comma-separated)",
308
- "name": "employees-locations",
309
- "hasDynamicHelp": false,
310
- "multiple": false,
311
- "type": "option"
312
- },
313
- "employees-industries": {
314
- "description": "Filter employees by industries (comma-separated)",
315
- "name": "employees-industries",
316
- "hasDynamicHelp": false,
317
- "multiple": false,
318
- "type": "option"
319
- },
320
- "employees-schools": {
321
- "description": "Filter employees by schools (comma-separated)",
322
- "name": "employees-schools",
323
- "hasDynamicHelp": false,
324
- "multiple": false,
325
- "type": "option"
326
- },
327
- "dms-limit": {
328
- "description": "Max decision makers to retrieve",
329
- "name": "dms-limit",
330
- "hasDynamicHelp": false,
331
- "multiple": false,
332
- "type": "option"
333
- },
334
- "posts-limit": {
335
- "description": "Max posts to retrieve",
336
- "name": "posts-limit",
337
- "hasDynamicHelp": false,
338
- "multiple": false,
339
- "type": "option"
340
- },
341
- "posts-since": {
342
- "description": "Retrieve posts since ISO timestamp",
343
- "name": "posts-since",
344
- "hasDynamicHelp": false,
345
- "multiple": false,
346
- "type": "option"
347
- }
348
- },
349
- "hasDynamicHelp": false,
350
- "hiddenAliases": [],
351
- "id": "company:fetch",
352
- "pluginAlias": "@linkedapi/linkedin-cli",
353
- "pluginName": "@linkedapi/linkedin-cli",
354
- "pluginType": "core",
355
- "strict": true,
356
- "enableJsonFlag": false,
357
- "isESM": false,
358
- "relativePath": [
359
- "dist",
360
- "commands",
361
- "company",
362
- "fetch.js"
363
- ]
364
- },
365
- "company:search": {
366
- "aliases": [],
367
- "args": {},
368
- "description": "Search for companies on LinkedIn",
369
- "examples": [
370
- "<%= config.bin %> company search --term \"fintech\" --sizes \"11-50,51-200\"",
371
- "<%= config.bin %> company search --industries \"Software Development\" --json"
372
- ],
373
- "flags": {
374
- "json": {
375
- "description": "Output as JSON",
376
- "name": "json",
377
- "allowNo": false,
378
- "type": "boolean"
379
- },
380
- "fields": {
381
- "description": "Comma-separated list of fields to include in output",
382
- "name": "fields",
383
- "hasDynamicHelp": false,
384
- "multiple": false,
385
- "type": "option"
386
- },
387
- "quiet": {
388
- "char": "q",
389
- "description": "Suppress progress output on stderr",
390
- "name": "quiet",
391
- "allowNo": false,
392
- "type": "boolean"
393
- },
394
- "no-color": {
395
- "description": "Disable colored output",
396
- "name": "no-color",
397
- "allowNo": false,
398
- "type": "boolean"
399
- },
400
- "account": {
401
- "description": "Account name to use (when multiple accounts are configured)",
402
- "name": "account",
403
- "hasDynamicHelp": false,
404
- "multiple": false,
405
- "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
- }
442
- },
443
- "hasDynamicHelp": false,
444
- "hiddenAliases": [],
445
- "id": "company:search",
446
- "pluginAlias": "@linkedapi/linkedin-cli",
447
- "pluginName": "@linkedapi/linkedin-cli",
448
- "pluginType": "core",
449
- "strict": true,
450
- "enableJsonFlag": false,
451
- "isESM": false,
452
- "relativePath": [
453
- "dist",
454
- "commands",
455
- "company",
456
- "search.js"
457
- ]
458
- },
459
212
  "connection:list": {
460
213
  "aliases": [],
461
214
  "args": {},
@@ -870,43 +623,520 @@
870
623
  "allowNo": false,
871
624
  "type": "boolean"
872
625
  },
873
- "fields": {
874
- "description": "Comma-separated list of fields to include in output",
875
- "name": "fields",
626
+ "fields": {
627
+ "description": "Comma-separated list of fields to include in output",
628
+ "name": "fields",
629
+ "hasDynamicHelp": false,
630
+ "multiple": false,
631
+ "type": "option"
632
+ },
633
+ "quiet": {
634
+ "char": "q",
635
+ "description": "Suppress progress output on stderr",
636
+ "name": "quiet",
637
+ "allowNo": false,
638
+ "type": "boolean"
639
+ },
640
+ "no-color": {
641
+ "description": "Disable colored output",
642
+ "name": "no-color",
643
+ "allowNo": false,
644
+ "type": "boolean"
645
+ },
646
+ "account": {
647
+ "description": "Account name to use (when multiple accounts are configured)",
648
+ "name": "account",
649
+ "hasDynamicHelp": false,
650
+ "multiple": false,
651
+ "type": "option"
652
+ },
653
+ "unfollow": {
654
+ "description": "Also unfollow the person (default: true)",
655
+ "name": "unfollow",
656
+ "allowNo": true,
657
+ "type": "boolean"
658
+ }
659
+ },
660
+ "hasDynamicHelp": false,
661
+ "hiddenAliases": [],
662
+ "id": "connection:withdraw",
663
+ "pluginAlias": "@linkedapi/linkedin-cli",
664
+ "pluginName": "@linkedapi/linkedin-cli",
665
+ "pluginType": "core",
666
+ "strict": true,
667
+ "enableJsonFlag": false,
668
+ "isESM": false,
669
+ "relativePath": [
670
+ "dist",
671
+ "commands",
672
+ "connection",
673
+ "withdraw.js"
674
+ ]
675
+ },
676
+ "company:fetch": {
677
+ "aliases": [],
678
+ "args": {
679
+ "url": {
680
+ "description": "LinkedIn company URL",
681
+ "name": "url",
682
+ "required": true
683
+ }
684
+ },
685
+ "description": "Fetch a LinkedIn company profile",
686
+ "examples": [
687
+ "<%= config.bin %> company fetch https://www.linkedin.com/company/microsoft",
688
+ "<%= config.bin %> company fetch https://www.linkedin.com/company/google --employees --dms --json"
689
+ ],
690
+ "flags": {
691
+ "json": {
692
+ "description": "Output as JSON",
693
+ "name": "json",
694
+ "allowNo": false,
695
+ "type": "boolean"
696
+ },
697
+ "fields": {
698
+ "description": "Comma-separated list of fields to include in output",
699
+ "name": "fields",
700
+ "hasDynamicHelp": false,
701
+ "multiple": false,
702
+ "type": "option"
703
+ },
704
+ "quiet": {
705
+ "char": "q",
706
+ "description": "Suppress progress output on stderr",
707
+ "name": "quiet",
708
+ "allowNo": false,
709
+ "type": "boolean"
710
+ },
711
+ "no-color": {
712
+ "description": "Disable colored output",
713
+ "name": "no-color",
714
+ "allowNo": false,
715
+ "type": "boolean"
716
+ },
717
+ "account": {
718
+ "description": "Account name to use (when multiple accounts are configured)",
719
+ "name": "account",
720
+ "hasDynamicHelp": false,
721
+ "multiple": false,
722
+ "type": "option"
723
+ },
724
+ "employees": {
725
+ "description": "Include employee data",
726
+ "name": "employees",
727
+ "allowNo": false,
728
+ "type": "boolean"
729
+ },
730
+ "dms": {
731
+ "description": "Include decision makers",
732
+ "name": "dms",
733
+ "allowNo": false,
734
+ "type": "boolean"
735
+ },
736
+ "posts": {
737
+ "description": "Include company posts",
738
+ "name": "posts",
739
+ "allowNo": false,
740
+ "type": "boolean"
741
+ },
742
+ "employees-limit": {
743
+ "description": "Max employees to retrieve",
744
+ "name": "employees-limit",
745
+ "hasDynamicHelp": false,
746
+ "multiple": false,
747
+ "type": "option"
748
+ },
749
+ "employees-first-name": {
750
+ "description": "Filter employees by first name",
751
+ "name": "employees-first-name",
752
+ "hasDynamicHelp": false,
753
+ "multiple": false,
754
+ "type": "option"
755
+ },
756
+ "employees-last-name": {
757
+ "description": "Filter employees by last name",
758
+ "name": "employees-last-name",
759
+ "hasDynamicHelp": false,
760
+ "multiple": false,
761
+ "type": "option"
762
+ },
763
+ "employees-position": {
764
+ "description": "Filter employees by position",
765
+ "name": "employees-position",
766
+ "hasDynamicHelp": false,
767
+ "multiple": false,
768
+ "type": "option"
769
+ },
770
+ "employees-locations": {
771
+ "description": "Filter employees by locations (comma-separated)",
772
+ "name": "employees-locations",
773
+ "hasDynamicHelp": false,
774
+ "multiple": false,
775
+ "type": "option"
776
+ },
777
+ "employees-industries": {
778
+ "description": "Filter employees by industries (comma-separated)",
779
+ "name": "employees-industries",
780
+ "hasDynamicHelp": false,
781
+ "multiple": false,
782
+ "type": "option"
783
+ },
784
+ "employees-schools": {
785
+ "description": "Filter employees by schools (comma-separated)",
786
+ "name": "employees-schools",
787
+ "hasDynamicHelp": false,
788
+ "multiple": false,
789
+ "type": "option"
790
+ },
791
+ "dms-limit": {
792
+ "description": "Max decision makers to retrieve",
793
+ "name": "dms-limit",
794
+ "hasDynamicHelp": false,
795
+ "multiple": false,
796
+ "type": "option"
797
+ },
798
+ "posts-limit": {
799
+ "description": "Max posts to retrieve",
800
+ "name": "posts-limit",
801
+ "hasDynamicHelp": false,
802
+ "multiple": false,
803
+ "type": "option"
804
+ },
805
+ "posts-since": {
806
+ "description": "Retrieve posts since ISO timestamp",
807
+ "name": "posts-since",
808
+ "hasDynamicHelp": false,
809
+ "multiple": false,
810
+ "type": "option"
811
+ }
812
+ },
813
+ "hasDynamicHelp": false,
814
+ "hiddenAliases": [],
815
+ "id": "company:fetch",
816
+ "pluginAlias": "@linkedapi/linkedin-cli",
817
+ "pluginName": "@linkedapi/linkedin-cli",
818
+ "pluginType": "core",
819
+ "strict": true,
820
+ "enableJsonFlag": false,
821
+ "isESM": false,
822
+ "relativePath": [
823
+ "dist",
824
+ "commands",
825
+ "company",
826
+ "fetch.js"
827
+ ]
828
+ },
829
+ "company:search": {
830
+ "aliases": [],
831
+ "args": {},
832
+ "description": "Search for companies on LinkedIn",
833
+ "examples": [
834
+ "<%= config.bin %> company search --term \"fintech\" --sizes \"11-50,51-200\"",
835
+ "<%= config.bin %> company search --industries \"Software Development\" --json"
836
+ ],
837
+ "flags": {
838
+ "json": {
839
+ "description": "Output as JSON",
840
+ "name": "json",
841
+ "allowNo": false,
842
+ "type": "boolean"
843
+ },
844
+ "fields": {
845
+ "description": "Comma-separated list of fields to include in output",
846
+ "name": "fields",
847
+ "hasDynamicHelp": false,
848
+ "multiple": false,
849
+ "type": "option"
850
+ },
851
+ "quiet": {
852
+ "char": "q",
853
+ "description": "Suppress progress output on stderr",
854
+ "name": "quiet",
855
+ "allowNo": false,
856
+ "type": "boolean"
857
+ },
858
+ "no-color": {
859
+ "description": "Disable colored output",
860
+ "name": "no-color",
861
+ "allowNo": false,
862
+ "type": "boolean"
863
+ },
864
+ "account": {
865
+ "description": "Account name to use (when multiple accounts are configured)",
866
+ "name": "account",
867
+ "hasDynamicHelp": false,
868
+ "multiple": false,
869
+ "type": "option"
870
+ },
871
+ "term": {
872
+ "description": "Search keyword or phrase",
873
+ "name": "term",
874
+ "hasDynamicHelp": false,
875
+ "multiple": false,
876
+ "type": "option"
877
+ },
878
+ "limit": {
879
+ "description": "Max results to return",
880
+ "name": "limit",
881
+ "hasDynamicHelp": false,
882
+ "multiple": false,
883
+ "type": "option"
884
+ },
885
+ "sizes": {
886
+ "description": "Filter by company sizes (comma-separated, e.g. \"1-10,11-50,51-200\")",
887
+ "name": "sizes",
888
+ "hasDynamicHelp": false,
889
+ "multiple": false,
890
+ "type": "option"
891
+ },
892
+ "locations": {
893
+ "description": "Filter by locations (comma-separated)",
894
+ "name": "locations",
895
+ "hasDynamicHelp": false,
896
+ "multiple": false,
897
+ "type": "option"
898
+ },
899
+ "industries": {
900
+ "description": "Filter by industries (comma-separated)",
901
+ "name": "industries",
902
+ "hasDynamicHelp": false,
903
+ "multiple": false,
904
+ "type": "option"
905
+ }
906
+ },
907
+ "hasDynamicHelp": false,
908
+ "hiddenAliases": [],
909
+ "id": "company:search",
910
+ "pluginAlias": "@linkedapi/linkedin-cli",
911
+ "pluginName": "@linkedapi/linkedin-cli",
912
+ "pluginType": "core",
913
+ "strict": true,
914
+ "enableJsonFlag": false,
915
+ "isESM": false,
916
+ "relativePath": [
917
+ "dist",
918
+ "commands",
919
+ "company",
920
+ "search.js"
921
+ ]
922
+ },
923
+ "jobs:fetch": {
924
+ "aliases": [],
925
+ "args": {
926
+ "url": {
927
+ "description": "LinkedIn job URL",
928
+ "name": "url",
929
+ "required": true
930
+ }
931
+ },
932
+ "description": "Fetch a LinkedIn job",
933
+ "examples": [
934
+ "<%= config.bin %> jobs fetch https://www.linkedin.com/jobs/view/4416248954/",
935
+ "<%= config.bin %> jobs fetch https://www.linkedin.com/jobs/view/4416248954/ --json"
936
+ ],
937
+ "flags": {
938
+ "json": {
939
+ "description": "Output as JSON",
940
+ "name": "json",
941
+ "allowNo": false,
942
+ "type": "boolean"
943
+ },
944
+ "fields": {
945
+ "description": "Comma-separated list of fields to include in output",
946
+ "name": "fields",
947
+ "hasDynamicHelp": false,
948
+ "multiple": false,
949
+ "type": "option"
950
+ },
951
+ "quiet": {
952
+ "char": "q",
953
+ "description": "Suppress progress output on stderr",
954
+ "name": "quiet",
955
+ "allowNo": false,
956
+ "type": "boolean"
957
+ },
958
+ "no-color": {
959
+ "description": "Disable colored output",
960
+ "name": "no-color",
961
+ "allowNo": false,
962
+ "type": "boolean"
963
+ },
964
+ "account": {
965
+ "description": "Account name to use (when multiple accounts are configured)",
966
+ "name": "account",
967
+ "hasDynamicHelp": false,
968
+ "multiple": false,
969
+ "type": "option"
970
+ }
971
+ },
972
+ "hasDynamicHelp": false,
973
+ "hiddenAliases": [],
974
+ "id": "jobs:fetch",
975
+ "pluginAlias": "@linkedapi/linkedin-cli",
976
+ "pluginName": "@linkedapi/linkedin-cli",
977
+ "pluginType": "core",
978
+ "strict": true,
979
+ "enableJsonFlag": false,
980
+ "isESM": false,
981
+ "relativePath": [
982
+ "dist",
983
+ "commands",
984
+ "jobs",
985
+ "fetch.js"
986
+ ]
987
+ },
988
+ "jobs:search": {
989
+ "aliases": [],
990
+ "args": {},
991
+ "description": "Search for jobs on LinkedIn",
992
+ "examples": [
993
+ "<%= config.bin %> jobs search --term \"product manager\" --location \"San Francisco\" --limit 20",
994
+ "<%= config.bin %> jobs search --term engineer --workplace-types \"remote,hybrid\" --easy-apply --json"
995
+ ],
996
+ "flags": {
997
+ "json": {
998
+ "description": "Output as JSON",
999
+ "name": "json",
1000
+ "allowNo": false,
1001
+ "type": "boolean"
1002
+ },
1003
+ "fields": {
1004
+ "description": "Comma-separated list of fields to include in output",
1005
+ "name": "fields",
1006
+ "hasDynamicHelp": false,
1007
+ "multiple": false,
1008
+ "type": "option"
1009
+ },
1010
+ "quiet": {
1011
+ "char": "q",
1012
+ "description": "Suppress progress output on stderr",
1013
+ "name": "quiet",
1014
+ "allowNo": false,
1015
+ "type": "boolean"
1016
+ },
1017
+ "no-color": {
1018
+ "description": "Disable colored output",
1019
+ "name": "no-color",
1020
+ "allowNo": false,
1021
+ "type": "boolean"
1022
+ },
1023
+ "account": {
1024
+ "description": "Account name to use (when multiple accounts are configured)",
1025
+ "name": "account",
1026
+ "hasDynamicHelp": false,
1027
+ "multiple": false,
1028
+ "type": "option"
1029
+ },
1030
+ "term": {
1031
+ "description": "Search keyword or phrase",
1032
+ "name": "term",
1033
+ "hasDynamicHelp": false,
1034
+ "multiple": false,
1035
+ "type": "option"
1036
+ },
1037
+ "limit": {
1038
+ "description": "Max results to return",
1039
+ "name": "limit",
1040
+ "hasDynamicHelp": false,
1041
+ "multiple": false,
1042
+ "type": "option"
1043
+ },
1044
+ "location": {
1045
+ "description": "Filter by location",
1046
+ "name": "location",
1047
+ "hasDynamicHelp": false,
1048
+ "multiple": false,
1049
+ "type": "option"
1050
+ },
1051
+ "date-posted": {
1052
+ "description": "Filter by date posted",
1053
+ "name": "date-posted",
1054
+ "hasDynamicHelp": false,
1055
+ "multiple": false,
1056
+ "options": [
1057
+ "anyTime",
1058
+ "past24Hours",
1059
+ "pastWeek",
1060
+ "pastMonth"
1061
+ ],
1062
+ "type": "option"
1063
+ },
1064
+ "experience-levels": {
1065
+ "description": "Filter by experience levels (comma-separated: internship, entryLevel, associate, midSeniorLevel, director, executive)",
1066
+ "name": "experience-levels",
876
1067
  "hasDynamicHelp": false,
877
1068
  "multiple": false,
878
1069
  "type": "option"
879
1070
  },
880
- "quiet": {
881
- "char": "q",
882
- "description": "Suppress progress output on stderr",
883
- "name": "quiet",
1071
+ "employment-types": {
1072
+ "description": "Filter by employment types (comma-separated: fullTime, partTime, contract, temporary, volunteer, internship, other)",
1073
+ "name": "employment-types",
1074
+ "hasDynamicHelp": false,
1075
+ "multiple": false,
1076
+ "type": "option"
1077
+ },
1078
+ "workplace-types": {
1079
+ "description": "Filter by workplace types (comma-separated: onSite, remote, hybrid)",
1080
+ "name": "workplace-types",
1081
+ "hasDynamicHelp": false,
1082
+ "multiple": false,
1083
+ "type": "option"
1084
+ },
1085
+ "companies": {
1086
+ "description": "Filter by company names (comma-separated)",
1087
+ "name": "companies",
1088
+ "hasDynamicHelp": false,
1089
+ "multiple": false,
1090
+ "type": "option"
1091
+ },
1092
+ "industries": {
1093
+ "description": "Filter by industries (comma-separated)",
1094
+ "name": "industries",
1095
+ "hasDynamicHelp": false,
1096
+ "multiple": false,
1097
+ "type": "option"
1098
+ },
1099
+ "job-functions": {
1100
+ "description": "Filter by job functions (comma-separated)",
1101
+ "name": "job-functions",
1102
+ "hasDynamicHelp": false,
1103
+ "multiple": false,
1104
+ "type": "option"
1105
+ },
1106
+ "easy-apply": {
1107
+ "description": "Only jobs with Easy Apply",
1108
+ "name": "easy-apply",
884
1109
  "allowNo": false,
885
1110
  "type": "boolean"
886
1111
  },
887
- "no-color": {
888
- "description": "Disable colored output",
889
- "name": "no-color",
1112
+ "has-verifications": {
1113
+ "description": "Only jobs with verification signals",
1114
+ "name": "has-verifications",
890
1115
  "allowNo": false,
891
1116
  "type": "boolean"
892
1117
  },
893
- "account": {
894
- "description": "Account name to use (when multiple accounts are configured)",
895
- "name": "account",
896
- "hasDynamicHelp": false,
897
- "multiple": false,
898
- "type": "option"
1118
+ "under-10-applicants": {
1119
+ "description": "Only jobs with fewer than 10 applicants",
1120
+ "name": "under-10-applicants",
1121
+ "allowNo": false,
1122
+ "type": "boolean"
899
1123
  },
900
- "unfollow": {
901
- "description": "Also unfollow the person (default: true)",
902
- "name": "unfollow",
903
- "allowNo": true,
1124
+ "in-your-network": {
1125
+ "description": "Only jobs from your network",
1126
+ "name": "in-your-network",
1127
+ "allowNo": false,
1128
+ "type": "boolean"
1129
+ },
1130
+ "fair-chance-employer": {
1131
+ "description": "Only fair chance employer jobs",
1132
+ "name": "fair-chance-employer",
1133
+ "allowNo": false,
904
1134
  "type": "boolean"
905
1135
  }
906
1136
  },
907
1137
  "hasDynamicHelp": false,
908
1138
  "hiddenAliases": [],
909
- "id": "connection:withdraw",
1139
+ "id": "jobs:search",
910
1140
  "pluginAlias": "@linkedapi/linkedin-cli",
911
1141
  "pluginName": "@linkedapi/linkedin-cli",
912
1142
  "pluginType": "core",
@@ -916,8 +1146,8 @@
916
1146
  "relativePath": [
917
1147
  "dist",
918
1148
  "commands",
919
- "connection",
920
- "withdraw.js"
1149
+ "jobs",
1150
+ "search.js"
921
1151
  ]
922
1152
  },
923
1153
  "message:get": {
@@ -1689,12 +1919,13 @@
1689
1919
  "react.js"
1690
1920
  ]
1691
1921
  },
1692
- "stats:performance": {
1922
+ "workflow:run": {
1693
1923
  "aliases": [],
1694
1924
  "args": {},
1695
- "description": "Retrieve your LinkedIn performance analytics",
1925
+ "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/",
1696
1926
  "examples": [
1697
- "<%= config.bin %> stats performance --json"
1927
+ "<%= config.bin %> workflow run --file workflow.json",
1928
+ "cat workflow.json | <%= config.bin %> workflow run"
1698
1929
  ],
1699
1930
  "flags": {
1700
1931
  "json": {
@@ -1729,11 +1960,19 @@
1729
1960
  "hasDynamicHelp": false,
1730
1961
  "multiple": false,
1731
1962
  "type": "option"
1963
+ },
1964
+ "file": {
1965
+ "char": "f",
1966
+ "description": "Path to workflow JSON file",
1967
+ "name": "file",
1968
+ "hasDynamicHelp": false,
1969
+ "multiple": false,
1970
+ "type": "option"
1732
1971
  }
1733
1972
  },
1734
1973
  "hasDynamicHelp": false,
1735
1974
  "hiddenAliases": [],
1736
- "id": "stats:performance",
1975
+ "id": "workflow:run",
1737
1976
  "pluginAlias": "@linkedapi/linkedin-cli",
1738
1977
  "pluginName": "@linkedapi/linkedin-cli",
1739
1978
  "pluginType": "core",
@@ -1743,16 +1982,23 @@
1743
1982
  "relativePath": [
1744
1983
  "dist",
1745
1984
  "commands",
1746
- "stats",
1747
- "performance.js"
1985
+ "workflow",
1986
+ "run.js"
1748
1987
  ]
1749
1988
  },
1750
- "stats:ssi": {
1989
+ "workflow:status": {
1751
1990
  "aliases": [],
1752
- "args": {},
1753
- "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
1991
+ "args": {
1992
+ "id": {
1993
+ "description": "Workflow ID",
1994
+ "name": "id",
1995
+ "required": true
1996
+ }
1997
+ },
1998
+ "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.",
1754
1999
  "examples": [
1755
- "<%= config.bin %> stats ssi --json"
2000
+ "<%= config.bin %> workflow status abc123",
2001
+ "<%= config.bin %> workflow status abc123 --wait --json"
1756
2002
  ],
1757
2003
  "flags": {
1758
2004
  "json": {
@@ -1787,11 +2033,17 @@
1787
2033
  "hasDynamicHelp": false,
1788
2034
  "multiple": false,
1789
2035
  "type": "option"
2036
+ },
2037
+ "wait": {
2038
+ "description": "Wait for workflow to complete",
2039
+ "name": "wait",
2040
+ "allowNo": false,
2041
+ "type": "boolean"
1790
2042
  }
1791
2043
  },
1792
2044
  "hasDynamicHelp": false,
1793
2045
  "hiddenAliases": [],
1794
- "id": "stats:ssi",
2046
+ "id": "workflow:status",
1795
2047
  "pluginAlias": "@linkedapi/linkedin-cli",
1796
2048
  "pluginName": "@linkedapi/linkedin-cli",
1797
2049
  "pluginType": "core",
@@ -1801,16 +2053,16 @@
1801
2053
  "relativePath": [
1802
2054
  "dist",
1803
2055
  "commands",
1804
- "stats",
1805
- "ssi.js"
2056
+ "workflow",
2057
+ "status.js"
1806
2058
  ]
1807
2059
  },
1808
- "stats:usage": {
2060
+ "stats:performance": {
1809
2061
  "aliases": [],
1810
2062
  "args": {},
1811
- "description": "Retrieve Linked API usage statistics",
2063
+ "description": "Retrieve your LinkedIn performance analytics",
1812
2064
  "examples": [
1813
- "<%= config.bin %> stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json"
2065
+ "<%= config.bin %> stats performance --json"
1814
2066
  ],
1815
2067
  "flags": {
1816
2068
  "json": {
@@ -1845,27 +2097,11 @@
1845
2097
  "hasDynamicHelp": false,
1846
2098
  "multiple": false,
1847
2099
  "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
2100
  }
1865
2101
  },
1866
2102
  "hasDynamicHelp": false,
1867
2103
  "hiddenAliases": [],
1868
- "id": "stats:usage",
2104
+ "id": "stats:performance",
1869
2105
  "pluginAlias": "@linkedapi/linkedin-cli",
1870
2106
  "pluginName": "@linkedapi/linkedin-cli",
1871
2107
  "pluginType": "core",
@@ -1876,16 +2112,15 @@
1876
2112
  "dist",
1877
2113
  "commands",
1878
2114
  "stats",
1879
- "usage.js"
2115
+ "performance.js"
1880
2116
  ]
1881
2117
  },
1882
- "workflow:run": {
2118
+ "stats:ssi": {
1883
2119
  "aliases": [],
1884
2120
  "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/",
2121
+ "description": "Retrieve your LinkedIn Social Selling Index (SSI)",
1886
2122
  "examples": [
1887
- "<%= config.bin %> workflow run --file workflow.json",
1888
- "cat workflow.json | <%= config.bin %> workflow run"
2123
+ "<%= config.bin %> stats ssi --json"
1889
2124
  ],
1890
2125
  "flags": {
1891
2126
  "json": {
@@ -1920,19 +2155,11 @@
1920
2155
  "hasDynamicHelp": false,
1921
2156
  "multiple": false,
1922
2157
  "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
2158
  }
1932
2159
  },
1933
2160
  "hasDynamicHelp": false,
1934
2161
  "hiddenAliases": [],
1935
- "id": "workflow:run",
2162
+ "id": "stats:ssi",
1936
2163
  "pluginAlias": "@linkedapi/linkedin-cli",
1937
2164
  "pluginName": "@linkedapi/linkedin-cli",
1938
2165
  "pluginType": "core",
@@ -1942,23 +2169,16 @@
1942
2169
  "relativePath": [
1943
2170
  "dist",
1944
2171
  "commands",
1945
- "workflow",
1946
- "run.js"
2172
+ "stats",
2173
+ "ssi.js"
1947
2174
  ]
1948
2175
  },
1949
- "workflow:status": {
2176
+ "stats:usage": {
1950
2177
  "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.",
2178
+ "args": {},
2179
+ "description": "Retrieve Linked API usage statistics",
1959
2180
  "examples": [
1960
- "<%= config.bin %> workflow status abc123",
1961
- "<%= config.bin %> workflow status abc123 --wait --json"
2181
+ "<%= config.bin %> stats usage --start 2024-01-01T00:00:00Z --end 2024-01-31T00:00:00Z --json"
1962
2182
  ],
1963
2183
  "flags": {
1964
2184
  "json": {
@@ -1994,16 +2214,26 @@
1994
2214
  "multiple": false,
1995
2215
  "type": "option"
1996
2216
  },
1997
- "wait": {
1998
- "description": "Wait for workflow to complete",
1999
- "name": "wait",
2000
- "allowNo": false,
2001
- "type": "boolean"
2217
+ "start": {
2218
+ "description": "Start date (ISO timestamp)",
2219
+ "name": "start",
2220
+ "required": true,
2221
+ "hasDynamicHelp": false,
2222
+ "multiple": false,
2223
+ "type": "option"
2224
+ },
2225
+ "end": {
2226
+ "description": "End date (ISO timestamp)",
2227
+ "name": "end",
2228
+ "required": true,
2229
+ "hasDynamicHelp": false,
2230
+ "multiple": false,
2231
+ "type": "option"
2002
2232
  }
2003
2233
  },
2004
2234
  "hasDynamicHelp": false,
2005
2235
  "hiddenAliases": [],
2006
- "id": "workflow:status",
2236
+ "id": "stats:usage",
2007
2237
  "pluginAlias": "@linkedapi/linkedin-cli",
2008
2238
  "pluginName": "@linkedapi/linkedin-cli",
2009
2239
  "pluginType": "core",
@@ -2013,16 +2243,22 @@
2013
2243
  "relativePath": [
2014
2244
  "dist",
2015
2245
  "commands",
2016
- "workflow",
2017
- "status.js"
2246
+ "stats",
2247
+ "usage.js"
2018
2248
  ]
2019
2249
  },
2020
- "admin:limits:defaults": {
2250
+ "admin:accounts:cancel-session": {
2021
2251
  "aliases": [],
2022
- "args": {},
2023
- "description": "View system default limits",
2252
+ "args": {
2253
+ "sessionId": {
2254
+ "description": "Session UUID",
2255
+ "name": "sessionId",
2256
+ "required": true
2257
+ }
2258
+ },
2259
+ "description": "Cancel a pending connection session",
2024
2260
  "examples": [
2025
- "<%= config.bin %> admin limits defaults"
2261
+ "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
2026
2262
  ],
2027
2263
  "flags": {
2028
2264
  "json": {
@@ -2054,7 +2290,7 @@
2054
2290
  },
2055
2291
  "hasDynamicHelp": false,
2056
2292
  "hiddenAliases": [],
2057
- "id": "admin:limits:defaults",
2293
+ "id": "admin:accounts:cancel-session",
2058
2294
  "pluginAlias": "@linkedapi/linkedin-cli",
2059
2295
  "pluginName": "@linkedapi/linkedin-cli",
2060
2296
  "pluginType": "core",
@@ -2065,22 +2301,16 @@
2065
2301
  "dist",
2066
2302
  "commands",
2067
2303
  "admin",
2068
- "limits",
2069
- "defaults.js"
2304
+ "accounts",
2305
+ "cancel-session.js"
2070
2306
  ]
2071
2307
  },
2072
- "admin:limits:delete": {
2308
+ "admin:accounts:connect": {
2073
2309
  "aliases": [],
2074
- "args": {
2075
- "accountId": {
2076
- "description": "Account UUID",
2077
- "name": "accountId",
2078
- "required": true
2079
- }
2080
- },
2081
- "description": "Delete specific limits (falls back to defaults)",
2310
+ "args": {},
2311
+ "description": "Create a connection session to connect a new LinkedIn account",
2082
2312
  "examples": [
2083
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2313
+ "<%= config.bin %> admin accounts connect"
2084
2314
  ],
2085
2315
  "flags": {
2086
2316
  "json": {
@@ -2101,39 +2331,18 @@
2101
2331
  "description": "Suppress progress output on stderr",
2102
2332
  "name": "quiet",
2103
2333
  "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
- "category": {
2113
- "description": "Limit category",
2114
- "name": "category",
2115
- "required": true,
2116
- "hasDynamicHelp": false,
2117
- "multiple": false,
2118
- "type": "option"
2119
- },
2120
- "period": {
2121
- "description": "Limit period",
2122
- "name": "period",
2123
- "required": true,
2124
- "hasDynamicHelp": false,
2125
- "multiple": false,
2126
- "options": [
2127
- "daily",
2128
- "weekly",
2129
- "monthly"
2130
- ],
2131
- "type": "option"
2334
+ "type": "boolean"
2335
+ },
2336
+ "no-color": {
2337
+ "description": "Disable colored output",
2338
+ "name": "no-color",
2339
+ "allowNo": false,
2340
+ "type": "boolean"
2132
2341
  }
2133
2342
  },
2134
2343
  "hasDynamicHelp": false,
2135
2344
  "hiddenAliases": [],
2136
- "id": "admin:limits:delete",
2345
+ "id": "admin:accounts:connect",
2137
2346
  "pluginAlias": "@linkedapi/linkedin-cli",
2138
2347
  "pluginName": "@linkedapi/linkedin-cli",
2139
2348
  "pluginType": "core",
@@ -2144,11 +2353,11 @@
2144
2353
  "dist",
2145
2354
  "commands",
2146
2355
  "admin",
2147
- "limits",
2148
- "delete.js"
2356
+ "accounts",
2357
+ "connect.js"
2149
2358
  ]
2150
2359
  },
2151
- "admin:limits:get": {
2360
+ "admin:accounts:disconnect": {
2152
2361
  "aliases": [],
2153
2362
  "args": {
2154
2363
  "accountId": {
@@ -2157,9 +2366,9 @@
2157
2366
  "required": true
2158
2367
  }
2159
2368
  },
2160
- "description": "View current limits for an account",
2369
+ "description": "Disconnect a LinkedIn account (irreversible)",
2161
2370
  "examples": [
2162
- "<%= config.bin %> admin limits get f9b4346a-..."
2371
+ "<%= config.bin %> admin accounts disconnect f9b4346a-..."
2163
2372
  ],
2164
2373
  "flags": {
2165
2374
  "json": {
@@ -2191,7 +2400,7 @@
2191
2400
  },
2192
2401
  "hasDynamicHelp": false,
2193
2402
  "hiddenAliases": [],
2194
- "id": "admin:limits:get",
2403
+ "id": "admin:accounts:disconnect",
2195
2404
  "pluginAlias": "@linkedapi/linkedin-cli",
2196
2405
  "pluginName": "@linkedapi/linkedin-cli",
2197
2406
  "pluginType": "core",
@@ -2202,22 +2411,16 @@
2202
2411
  "dist",
2203
2412
  "commands",
2204
2413
  "admin",
2205
- "limits",
2206
- "get.js"
2414
+ "accounts",
2415
+ "disconnect.js"
2207
2416
  ]
2208
2417
  },
2209
- "admin:limits:reset": {
2418
+ "admin:accounts:list": {
2210
2419
  "aliases": [],
2211
- "args": {
2212
- "accountId": {
2213
- "description": "Account UUID",
2214
- "name": "accountId",
2215
- "required": true
2216
- }
2217
- },
2218
- "description": "Reset all limits to defaults",
2420
+ "args": {},
2421
+ "description": "List all connected accounts and pending sessions",
2219
2422
  "examples": [
2220
- "<%= config.bin %> admin limits reset f9b4346a-..."
2423
+ "<%= config.bin %> admin accounts list"
2221
2424
  ],
2222
2425
  "flags": {
2223
2426
  "json": {
@@ -2249,7 +2452,7 @@
2249
2452
  },
2250
2453
  "hasDynamicHelp": false,
2251
2454
  "hiddenAliases": [],
2252
- "id": "admin:limits:reset",
2455
+ "id": "admin:accounts:list",
2253
2456
  "pluginAlias": "@linkedapi/linkedin-cli",
2254
2457
  "pluginName": "@linkedapi/linkedin-cli",
2255
2458
  "pluginType": "core",
@@ -2260,11 +2463,11 @@
2260
2463
  "dist",
2261
2464
  "commands",
2262
2465
  "admin",
2263
- "limits",
2264
- "reset.js"
2466
+ "accounts",
2467
+ "list.js"
2265
2468
  ]
2266
2469
  },
2267
- "admin:limits:set": {
2470
+ "admin:accounts:regenerate-token": {
2268
2471
  "aliases": [],
2269
2472
  "args": {
2270
2473
  "accountId": {
@@ -2273,9 +2476,9 @@
2273
2476
  "required": true
2274
2477
  }
2275
2478
  },
2276
- "description": "Set limits for an account",
2479
+ "description": "Regenerate identification token for an account",
2277
2480
  "examples": [
2278
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2481
+ "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
2279
2482
  ],
2280
2483
  "flags": {
2281
2484
  "json": {
@@ -2303,40 +2506,11 @@
2303
2506
  "name": "no-color",
2304
2507
  "allowNo": false,
2305
2508
  "type": "boolean"
2306
- },
2307
- "category": {
2308
- "description": "Limit category",
2309
- "name": "category",
2310
- "required": true,
2311
- "hasDynamicHelp": false,
2312
- "multiple": false,
2313
- "type": "option"
2314
- },
2315
- "period": {
2316
- "description": "Limit period",
2317
- "name": "period",
2318
- "required": true,
2319
- "hasDynamicHelp": false,
2320
- "multiple": false,
2321
- "options": [
2322
- "daily",
2323
- "weekly",
2324
- "monthly"
2325
- ],
2326
- "type": "option"
2327
- },
2328
- "max": {
2329
- "description": "Maximum allowed actions (>= 0)",
2330
- "name": "max",
2331
- "required": true,
2332
- "hasDynamicHelp": false,
2333
- "multiple": false,
2334
- "type": "option"
2335
2509
  }
2336
2510
  },
2337
2511
  "hasDynamicHelp": false,
2338
2512
  "hiddenAliases": [],
2339
- "id": "admin:limits:set",
2513
+ "id": "admin:accounts:regenerate-token",
2340
2514
  "pluginAlias": "@linkedapi/linkedin-cli",
2341
2515
  "pluginName": "@linkedapi/linkedin-cli",
2342
2516
  "pluginType": "core",
@@ -2347,22 +2521,22 @@
2347
2521
  "dist",
2348
2522
  "commands",
2349
2523
  "admin",
2350
- "limits",
2351
- "set.js"
2524
+ "accounts",
2525
+ "regenerate-token.js"
2352
2526
  ]
2353
2527
  },
2354
- "admin:limits:usage": {
2528
+ "admin:accounts:session": {
2355
2529
  "aliases": [],
2356
2530
  "args": {
2357
- "accountId": {
2358
- "description": "Account UUID",
2359
- "name": "accountId",
2531
+ "sessionId": {
2532
+ "description": "Session UUID",
2533
+ "name": "sessionId",
2360
2534
  "required": true
2361
2535
  }
2362
2536
  },
2363
- "description": "View current usage against limits",
2537
+ "description": "Check connection session status",
2364
2538
  "examples": [
2365
- "<%= config.bin %> admin limits usage f9b4346a-..."
2539
+ "<%= config.bin %> admin accounts session 990eef7a-..."
2366
2540
  ],
2367
2541
  "flags": {
2368
2542
  "json": {
@@ -2394,7 +2568,7 @@
2394
2568
  },
2395
2569
  "hasDynamicHelp": false,
2396
2570
  "hiddenAliases": [],
2397
- "id": "admin:limits:usage",
2571
+ "id": "admin:accounts:session",
2398
2572
  "pluginAlias": "@linkedapi/linkedin-cli",
2399
2573
  "pluginName": "@linkedapi/linkedin-cli",
2400
2574
  "pluginType": "core",
@@ -2405,22 +2579,16 @@
2405
2579
  "dist",
2406
2580
  "commands",
2407
2581
  "admin",
2408
- "limits",
2409
- "usage.js"
2582
+ "accounts",
2583
+ "session.js"
2410
2584
  ]
2411
2585
  },
2412
- "admin:accounts:cancel-session": {
2586
+ "admin:limits:defaults": {
2413
2587
  "aliases": [],
2414
- "args": {
2415
- "sessionId": {
2416
- "description": "Session UUID",
2417
- "name": "sessionId",
2418
- "required": true
2419
- }
2420
- },
2421
- "description": "Cancel a pending connection session",
2588
+ "args": {},
2589
+ "description": "View system default limits",
2422
2590
  "examples": [
2423
- "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
2591
+ "<%= config.bin %> admin limits defaults"
2424
2592
  ],
2425
2593
  "flags": {
2426
2594
  "json": {
@@ -2452,7 +2620,7 @@
2452
2620
  },
2453
2621
  "hasDynamicHelp": false,
2454
2622
  "hiddenAliases": [],
2455
- "id": "admin:accounts:cancel-session",
2623
+ "id": "admin:limits:defaults",
2456
2624
  "pluginAlias": "@linkedapi/linkedin-cli",
2457
2625
  "pluginName": "@linkedapi/linkedin-cli",
2458
2626
  "pluginType": "core",
@@ -2463,16 +2631,22 @@
2463
2631
  "dist",
2464
2632
  "commands",
2465
2633
  "admin",
2466
- "accounts",
2467
- "cancel-session.js"
2634
+ "limits",
2635
+ "defaults.js"
2468
2636
  ]
2469
2637
  },
2470
- "admin:accounts:connect": {
2638
+ "admin:limits:delete": {
2471
2639
  "aliases": [],
2472
- "args": {},
2473
- "description": "Create a connection session to connect a new LinkedIn account",
2640
+ "args": {
2641
+ "accountId": {
2642
+ "description": "Account UUID",
2643
+ "name": "accountId",
2644
+ "required": true
2645
+ }
2646
+ },
2647
+ "description": "Delete specific limits (falls back to defaults)",
2474
2648
  "examples": [
2475
- "<%= config.bin %> admin accounts connect"
2649
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2476
2650
  ],
2477
2651
  "flags": {
2478
2652
  "json": {
@@ -2500,11 +2674,32 @@
2500
2674
  "name": "no-color",
2501
2675
  "allowNo": false,
2502
2676
  "type": "boolean"
2677
+ },
2678
+ "category": {
2679
+ "description": "Limit category",
2680
+ "name": "category",
2681
+ "required": true,
2682
+ "hasDynamicHelp": false,
2683
+ "multiple": false,
2684
+ "type": "option"
2685
+ },
2686
+ "period": {
2687
+ "description": "Limit period",
2688
+ "name": "period",
2689
+ "required": true,
2690
+ "hasDynamicHelp": false,
2691
+ "multiple": false,
2692
+ "options": [
2693
+ "daily",
2694
+ "weekly",
2695
+ "monthly"
2696
+ ],
2697
+ "type": "option"
2503
2698
  }
2504
2699
  },
2505
2700
  "hasDynamicHelp": false,
2506
2701
  "hiddenAliases": [],
2507
- "id": "admin:accounts:connect",
2702
+ "id": "admin:limits:delete",
2508
2703
  "pluginAlias": "@linkedapi/linkedin-cli",
2509
2704
  "pluginName": "@linkedapi/linkedin-cli",
2510
2705
  "pluginType": "core",
@@ -2515,11 +2710,11 @@
2515
2710
  "dist",
2516
2711
  "commands",
2517
2712
  "admin",
2518
- "accounts",
2519
- "connect.js"
2713
+ "limits",
2714
+ "delete.js"
2520
2715
  ]
2521
2716
  },
2522
- "admin:accounts:disconnect": {
2717
+ "admin:limits:get": {
2523
2718
  "aliases": [],
2524
2719
  "args": {
2525
2720
  "accountId": {
@@ -2528,9 +2723,9 @@
2528
2723
  "required": true
2529
2724
  }
2530
2725
  },
2531
- "description": "Disconnect a LinkedIn account (irreversible)",
2726
+ "description": "View current limits for an account",
2532
2727
  "examples": [
2533
- "<%= config.bin %> admin accounts disconnect f9b4346a-..."
2728
+ "<%= config.bin %> admin limits get f9b4346a-..."
2534
2729
  ],
2535
2730
  "flags": {
2536
2731
  "json": {
@@ -2562,7 +2757,7 @@
2562
2757
  },
2563
2758
  "hasDynamicHelp": false,
2564
2759
  "hiddenAliases": [],
2565
- "id": "admin:accounts:disconnect",
2760
+ "id": "admin:limits:get",
2566
2761
  "pluginAlias": "@linkedapi/linkedin-cli",
2567
2762
  "pluginName": "@linkedapi/linkedin-cli",
2568
2763
  "pluginType": "core",
@@ -2573,16 +2768,22 @@
2573
2768
  "dist",
2574
2769
  "commands",
2575
2770
  "admin",
2576
- "accounts",
2577
- "disconnect.js"
2771
+ "limits",
2772
+ "get.js"
2578
2773
  ]
2579
2774
  },
2580
- "admin:accounts:list": {
2775
+ "admin:limits:reset": {
2581
2776
  "aliases": [],
2582
- "args": {},
2583
- "description": "List all connected accounts and pending sessions",
2777
+ "args": {
2778
+ "accountId": {
2779
+ "description": "Account UUID",
2780
+ "name": "accountId",
2781
+ "required": true
2782
+ }
2783
+ },
2784
+ "description": "Reset all limits to defaults",
2584
2785
  "examples": [
2585
- "<%= config.bin %> admin accounts list"
2786
+ "<%= config.bin %> admin limits reset f9b4346a-..."
2586
2787
  ],
2587
2788
  "flags": {
2588
2789
  "json": {
@@ -2614,7 +2815,7 @@
2614
2815
  },
2615
2816
  "hasDynamicHelp": false,
2616
2817
  "hiddenAliases": [],
2617
- "id": "admin:accounts:list",
2818
+ "id": "admin:limits:reset",
2618
2819
  "pluginAlias": "@linkedapi/linkedin-cli",
2619
2820
  "pluginName": "@linkedapi/linkedin-cli",
2620
2821
  "pluginType": "core",
@@ -2625,11 +2826,11 @@
2625
2826
  "dist",
2626
2827
  "commands",
2627
2828
  "admin",
2628
- "accounts",
2629
- "list.js"
2829
+ "limits",
2830
+ "reset.js"
2630
2831
  ]
2631
2832
  },
2632
- "admin:accounts:regenerate-token": {
2833
+ "admin:limits:set": {
2633
2834
  "aliases": [],
2634
2835
  "args": {
2635
2836
  "accountId": {
@@ -2638,9 +2839,9 @@
2638
2839
  "required": true
2639
2840
  }
2640
2841
  },
2641
- "description": "Regenerate identification token for an account",
2842
+ "description": "Set limits for an account",
2642
2843
  "examples": [
2643
- "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
2844
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2644
2845
  ],
2645
2846
  "flags": {
2646
2847
  "json": {
@@ -2668,11 +2869,40 @@
2668
2869
  "name": "no-color",
2669
2870
  "allowNo": false,
2670
2871
  "type": "boolean"
2872
+ },
2873
+ "category": {
2874
+ "description": "Limit category",
2875
+ "name": "category",
2876
+ "required": true,
2877
+ "hasDynamicHelp": false,
2878
+ "multiple": false,
2879
+ "type": "option"
2880
+ },
2881
+ "period": {
2882
+ "description": "Limit period",
2883
+ "name": "period",
2884
+ "required": true,
2885
+ "hasDynamicHelp": false,
2886
+ "multiple": false,
2887
+ "options": [
2888
+ "daily",
2889
+ "weekly",
2890
+ "monthly"
2891
+ ],
2892
+ "type": "option"
2893
+ },
2894
+ "max": {
2895
+ "description": "Maximum allowed actions (>= 0)",
2896
+ "name": "max",
2897
+ "required": true,
2898
+ "hasDynamicHelp": false,
2899
+ "multiple": false,
2900
+ "type": "option"
2671
2901
  }
2672
2902
  },
2673
2903
  "hasDynamicHelp": false,
2674
2904
  "hiddenAliases": [],
2675
- "id": "admin:accounts:regenerate-token",
2905
+ "id": "admin:limits:set",
2676
2906
  "pluginAlias": "@linkedapi/linkedin-cli",
2677
2907
  "pluginName": "@linkedapi/linkedin-cli",
2678
2908
  "pluginType": "core",
@@ -2683,22 +2913,22 @@
2683
2913
  "dist",
2684
2914
  "commands",
2685
2915
  "admin",
2686
- "accounts",
2687
- "regenerate-token.js"
2916
+ "limits",
2917
+ "set.js"
2688
2918
  ]
2689
2919
  },
2690
- "admin:accounts:session": {
2920
+ "admin:limits:usage": {
2691
2921
  "aliases": [],
2692
2922
  "args": {
2693
- "sessionId": {
2694
- "description": "Session UUID",
2695
- "name": "sessionId",
2923
+ "accountId": {
2924
+ "description": "Account UUID",
2925
+ "name": "accountId",
2696
2926
  "required": true
2697
2927
  }
2698
2928
  },
2699
- "description": "Check connection session status",
2929
+ "description": "View current usage against limits",
2700
2930
  "examples": [
2701
- "<%= config.bin %> admin accounts session 990eef7a-..."
2931
+ "<%= config.bin %> admin limits usage f9b4346a-..."
2702
2932
  ],
2703
2933
  "flags": {
2704
2934
  "json": {
@@ -2730,7 +2960,7 @@
2730
2960
  },
2731
2961
  "hasDynamicHelp": false,
2732
2962
  "hiddenAliases": [],
2733
- "id": "admin:accounts:session",
2963
+ "id": "admin:limits:usage",
2734
2964
  "pluginAlias": "@linkedapi/linkedin-cli",
2735
2965
  "pluginName": "@linkedapi/linkedin-cli",
2736
2966
  "pluginType": "core",
@@ -2741,8 +2971,8 @@
2741
2971
  "dist",
2742
2972
  "commands",
2743
2973
  "admin",
2744
- "accounts",
2745
- "session.js"
2974
+ "limits",
2975
+ "usage.js"
2746
2976
  ]
2747
2977
  },
2748
2978
  "admin:subscription:billing-link": {
@@ -3689,5 +3919,5 @@
3689
3919
  ]
3690
3920
  }
3691
3921
  },
3692
- "version": "1.0.14"
3922
+ "version": "1.0.15"
3693
3923
  }