@linkedapi/linkedin-cli 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -902,6 +902,12 @@ linkedin person search --term "revops engineer" --json -q | jq '.data[].name'
902
902
  - [Node.js SDK](https://www.npmjs.com/package/@linkedapi/node)
903
903
  - [MCP Server](https://www.npmjs.com/package/@linkedapi/mcp)
904
904
 
905
+ ## Legal
906
+
907
+ This project is maintained by [Linked API](https://linkedapi.io). The name "linkedin-cli" refers to the platform this tool is designed to work with, not to any affiliation or ownership.
908
+
909
+ Linked API is not affiliated, associated, authorized, endorsed by, or in any way officially connected with LinkedIn Corporation. "LinkedIn" is a registered trademark of LinkedIn Corporation.
910
+
905
911
  ## License
906
912
 
907
913
  This project is licensed under the MIT – see the [LICENSE](https://github.com/Linked-API/linkedin-cli/blob/main/LICENSE) file for details.
@@ -1 +1 @@
1
- {"version":3,"file":"build-client.d.ts","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC,UAAU,aAAa;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,CAE5D"}
1
+ {"version":3,"file":"build-client.d.ts","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC,UAAU,aAAa;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,CAK5D"}
@@ -3,6 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildClient = buildClient;
4
4
  const node_1 = require("@linkedapi/node");
5
5
  function buildClient(tokens) {
6
- return new node_1.default(tokens);
6
+ return new node_1.default({
7
+ ...tokens,
8
+ client: 'cli'
9
+ });
7
10
  }
8
11
  //# sourceMappingURL=build-client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-client.js","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":";;AAOA,kCAEC;AATD,0CAAwC;AAOxC,SAAgB,WAAW,CAAC,MAAqB;IAC/C,OAAO,IAAI,cAAS,CAAC,MAAM,CAAC,CAAC;AAC/B,CAAC"}
1
+ {"version":3,"file":"build-client.js","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":";;AAOA,kCAKC;AAZD,0CAAwC;AAOxC,SAAgB,WAAW,CAAC,MAAqB;IAC/C,OAAO,IAAI,cAAS,CAAC;QACnB,GAAG,MAAM;QACT,MAAM,EAAE,KAAK;KACd,CAAC,CAAC;AACL,CAAC"}
@@ -410,6 +410,147 @@
410
410
  "search.js"
411
411
  ]
412
412
  },
413
+ "message:get": {
414
+ "aliases": [],
415
+ "args": {
416
+ "person-url": {
417
+ "description": "LinkedIn profile URL",
418
+ "name": "person-url",
419
+ "required": true
420
+ }
421
+ },
422
+ "description": "Get conversation messages with a LinkedIn person",
423
+ "examples": [
424
+ "<%= config.bin %> message get https://www.linkedin.com/in/john-doe",
425
+ "<%= config.bin %> message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z"
426
+ ],
427
+ "flags": {
428
+ "json": {
429
+ "description": "Output as JSON",
430
+ "name": "json",
431
+ "allowNo": false,
432
+ "type": "boolean"
433
+ },
434
+ "fields": {
435
+ "description": "Comma-separated list of fields to include in output",
436
+ "name": "fields",
437
+ "hasDynamicHelp": false,
438
+ "multiple": false,
439
+ "type": "option"
440
+ },
441
+ "quiet": {
442
+ "char": "q",
443
+ "description": "Suppress progress output on stderr",
444
+ "name": "quiet",
445
+ "allowNo": false,
446
+ "type": "boolean"
447
+ },
448
+ "no-color": {
449
+ "description": "Disable colored output",
450
+ "name": "no-color",
451
+ "allowNo": false,
452
+ "type": "boolean"
453
+ },
454
+ "account": {
455
+ "description": "Account name to use (when multiple accounts are configured)",
456
+ "name": "account",
457
+ "hasDynamicHelp": false,
458
+ "multiple": false,
459
+ "type": "option"
460
+ },
461
+ "since": {
462
+ "description": "Retrieve messages since ISO timestamp",
463
+ "name": "since",
464
+ "hasDynamicHelp": false,
465
+ "multiple": false,
466
+ "type": "option"
467
+ }
468
+ },
469
+ "hasDynamicHelp": false,
470
+ "hiddenAliases": [],
471
+ "id": "message:get",
472
+ "pluginAlias": "@linkedapi/linkedin-cli",
473
+ "pluginName": "@linkedapi/linkedin-cli",
474
+ "pluginType": "core",
475
+ "strict": true,
476
+ "enableJsonFlag": false,
477
+ "isESM": false,
478
+ "relativePath": [
479
+ "dist",
480
+ "commands",
481
+ "message",
482
+ "get.js"
483
+ ]
484
+ },
485
+ "message:send": {
486
+ "aliases": [],
487
+ "args": {
488
+ "person-url": {
489
+ "description": "LinkedIn profile URL of the recipient",
490
+ "name": "person-url",
491
+ "required": true
492
+ },
493
+ "text": {
494
+ "description": "Message text (up to 1900 characters)",
495
+ "name": "text",
496
+ "required": true
497
+ }
498
+ },
499
+ "description": "Send a message to a LinkedIn person",
500
+ "examples": [
501
+ "<%= config.bin %> message send https://www.linkedin.com/in/john-doe \"Hello John!\""
502
+ ],
503
+ "flags": {
504
+ "json": {
505
+ "description": "Output as JSON",
506
+ "name": "json",
507
+ "allowNo": false,
508
+ "type": "boolean"
509
+ },
510
+ "fields": {
511
+ "description": "Comma-separated list of fields to include in output",
512
+ "name": "fields",
513
+ "hasDynamicHelp": false,
514
+ "multiple": false,
515
+ "type": "option"
516
+ },
517
+ "quiet": {
518
+ "char": "q",
519
+ "description": "Suppress progress output on stderr",
520
+ "name": "quiet",
521
+ "allowNo": false,
522
+ "type": "boolean"
523
+ },
524
+ "no-color": {
525
+ "description": "Disable colored output",
526
+ "name": "no-color",
527
+ "allowNo": false,
528
+ "type": "boolean"
529
+ },
530
+ "account": {
531
+ "description": "Account name to use (when multiple accounts are configured)",
532
+ "name": "account",
533
+ "hasDynamicHelp": false,
534
+ "multiple": false,
535
+ "type": "option"
536
+ }
537
+ },
538
+ "hasDynamicHelp": false,
539
+ "hiddenAliases": [],
540
+ "id": "message:send",
541
+ "pluginAlias": "@linkedapi/linkedin-cli",
542
+ "pluginName": "@linkedapi/linkedin-cli",
543
+ "pluginType": "core",
544
+ "strict": true,
545
+ "enableJsonFlag": false,
546
+ "isESM": false,
547
+ "relativePath": [
548
+ "dist",
549
+ "commands",
550
+ "message",
551
+ "send.js"
552
+ ]
553
+ },
413
554
  "connection:list": {
414
555
  "aliases": [],
415
556
  "args": {},
@@ -874,147 +1015,6 @@
874
1015
  "withdraw.js"
875
1016
  ]
876
1017
  },
877
- "message:get": {
878
- "aliases": [],
879
- "args": {
880
- "person-url": {
881
- "description": "LinkedIn profile URL",
882
- "name": "person-url",
883
- "required": true
884
- }
885
- },
886
- "description": "Get conversation messages with a LinkedIn person",
887
- "examples": [
888
- "<%= config.bin %> message get https://www.linkedin.com/in/john-doe",
889
- "<%= config.bin %> message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z"
890
- ],
891
- "flags": {
892
- "json": {
893
- "description": "Output as JSON",
894
- "name": "json",
895
- "allowNo": false,
896
- "type": "boolean"
897
- },
898
- "fields": {
899
- "description": "Comma-separated list of fields to include in output",
900
- "name": "fields",
901
- "hasDynamicHelp": false,
902
- "multiple": false,
903
- "type": "option"
904
- },
905
- "quiet": {
906
- "char": "q",
907
- "description": "Suppress progress output on stderr",
908
- "name": "quiet",
909
- "allowNo": false,
910
- "type": "boolean"
911
- },
912
- "no-color": {
913
- "description": "Disable colored output",
914
- "name": "no-color",
915
- "allowNo": false,
916
- "type": "boolean"
917
- },
918
- "account": {
919
- "description": "Account name to use (when multiple accounts are configured)",
920
- "name": "account",
921
- "hasDynamicHelp": false,
922
- "multiple": false,
923
- "type": "option"
924
- },
925
- "since": {
926
- "description": "Retrieve messages since ISO timestamp",
927
- "name": "since",
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "type": "option"
931
- }
932
- },
933
- "hasDynamicHelp": false,
934
- "hiddenAliases": [],
935
- "id": "message:get",
936
- "pluginAlias": "@linkedapi/linkedin-cli",
937
- "pluginName": "@linkedapi/linkedin-cli",
938
- "pluginType": "core",
939
- "strict": true,
940
- "enableJsonFlag": false,
941
- "isESM": false,
942
- "relativePath": [
943
- "dist",
944
- "commands",
945
- "message",
946
- "get.js"
947
- ]
948
- },
949
- "message:send": {
950
- "aliases": [],
951
- "args": {
952
- "person-url": {
953
- "description": "LinkedIn profile URL of the recipient",
954
- "name": "person-url",
955
- "required": true
956
- },
957
- "text": {
958
- "description": "Message text (up to 1900 characters)",
959
- "name": "text",
960
- "required": true
961
- }
962
- },
963
- "description": "Send a message to a LinkedIn person",
964
- "examples": [
965
- "<%= config.bin %> message send https://www.linkedin.com/in/john-doe \"Hello John!\""
966
- ],
967
- "flags": {
968
- "json": {
969
- "description": "Output as JSON",
970
- "name": "json",
971
- "allowNo": false,
972
- "type": "boolean"
973
- },
974
- "fields": {
975
- "description": "Comma-separated list of fields to include in output",
976
- "name": "fields",
977
- "hasDynamicHelp": false,
978
- "multiple": false,
979
- "type": "option"
980
- },
981
- "quiet": {
982
- "char": "q",
983
- "description": "Suppress progress output on stderr",
984
- "name": "quiet",
985
- "allowNo": false,
986
- "type": "boolean"
987
- },
988
- "no-color": {
989
- "description": "Disable colored output",
990
- "name": "no-color",
991
- "allowNo": false,
992
- "type": "boolean"
993
- },
994
- "account": {
995
- "description": "Account name to use (when multiple accounts are configured)",
996
- "name": "account",
997
- "hasDynamicHelp": false,
998
- "multiple": false,
999
- "type": "option"
1000
- }
1001
- },
1002
- "hasDynamicHelp": false,
1003
- "hiddenAliases": [],
1004
- "id": "message:send",
1005
- "pluginAlias": "@linkedapi/linkedin-cli",
1006
- "pluginName": "@linkedapi/linkedin-cli",
1007
- "pluginType": "core",
1008
- "strict": true,
1009
- "enableJsonFlag": false,
1010
- "isESM": false,
1011
- "relativePath": [
1012
- "dist",
1013
- "commands",
1014
- "message",
1015
- "send.js"
1016
- ]
1017
- },
1018
1018
  "person:fetch": {
1019
1019
  "aliases": [],
1020
1020
  "args": {
@@ -2571,5 +2571,5 @@
2571
2571
  ]
2572
2572
  }
2573
2573
  },
2574
- "version": "1.0.5"
2574
+ "version": "1.0.6"
2575
2575
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkedapi/linkedin-cli",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "AI-agent-friendly CLI for controlling LinkedIn accounts and retrieving real-time data.",
5
5
  "author": "Linked API",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "ai-agent"
44
44
  ],
45
45
  "dependencies": {
46
- "@linkedapi/node": "^1.2.15",
46
+ "@linkedapi/node": "^1.2.16",
47
47
  "@oclif/core": "^4.2.10"
48
48
  },
49
49
  "devDependencies": {