@linkedapi/linkedin-cli 1.2.18 → 1.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/commands/admin/webhook/delete-header.d.ts +17 -0
  2. package/dist/commands/admin/webhook/delete-header.d.ts.map +1 -0
  3. package/dist/commands/admin/webhook/delete-header.js +29 -0
  4. package/dist/commands/admin/webhook/delete-header.js.map +1 -0
  5. package/dist/commands/admin/webhook/event-types.d.ts +13 -0
  6. package/dist/commands/admin/webhook/event-types.d.ts.map +1 -0
  7. package/dist/commands/admin/webhook/event-types.js +22 -0
  8. package/dist/commands/admin/webhook/event-types.js.map +1 -0
  9. package/dist/commands/admin/webhook/get.js +2 -2
  10. package/dist/commands/admin/webhook/get.js.map +1 -1
  11. package/dist/commands/admin/webhook/reveal-secret.d.ts +18 -0
  12. package/dist/commands/admin/webhook/reveal-secret.d.ts.map +1 -0
  13. package/dist/commands/admin/webhook/reveal-secret.js +51 -0
  14. package/dist/commands/admin/webhook/reveal-secret.js.map +1 -0
  15. package/dist/commands/admin/webhook/rotate-secret.d.ts +19 -0
  16. package/dist/commands/admin/webhook/rotate-secret.d.ts.map +1 -0
  17. package/dist/commands/admin/webhook/rotate-secret.js +92 -0
  18. package/dist/commands/admin/webhook/rotate-secret.js.map +1 -0
  19. package/dist/commands/admin/webhook/set-events.d.ts +18 -0
  20. package/dist/commands/admin/webhook/set-events.d.ts.map +1 -0
  21. package/dist/commands/admin/webhook/set-events.js +42 -0
  22. package/dist/commands/admin/webhook/set-events.js.map +1 -0
  23. package/dist/commands/admin/webhook/set-header.d.ts +19 -0
  24. package/dist/commands/admin/webhook/set-header.d.ts.map +1 -0
  25. package/dist/commands/admin/webhook/set-header.js +51 -0
  26. package/dist/commands/admin/webhook/set-header.js.map +1 -0
  27. package/dist/commands/admin/webhook/set-headers.d.ts +18 -0
  28. package/dist/commands/admin/webhook/set-headers.d.ts.map +1 -0
  29. package/dist/commands/admin/webhook/set-headers.js +43 -0
  30. package/dist/commands/admin/webhook/set-headers.js.map +1 -0
  31. package/dist/commands/admin/webhook/set-payload-mode.d.ts.map +1 -1
  32. package/dist/commands/admin/webhook/set-payload-mode.js +3 -3
  33. package/dist/commands/admin/webhook/set-payload-mode.js.map +1 -1
  34. package/dist/commands/admin/webhook/set-signing.d.ts +18 -0
  35. package/dist/commands/admin/webhook/set-signing.d.ts.map +1 -0
  36. package/dist/commands/admin/webhook/set-signing.js +36 -0
  37. package/dist/commands/admin/webhook/set-signing.js.map +1 -0
  38. package/dist/commands/admin/webhook/set.d.ts +3 -0
  39. package/dist/commands/admin/webhook/set.d.ts.map +1 -1
  40. package/dist/commands/admin/webhook/set.js +19 -3
  41. package/dist/commands/admin/webhook/set.js.map +1 -1
  42. package/dist/commands/changelog.d.ts +79 -0
  43. package/dist/commands/changelog.d.ts.map +1 -0
  44. package/dist/commands/changelog.js +56 -0
  45. package/dist/commands/changelog.js.map +1 -0
  46. package/dist/commands/post/search.d.ts.map +1 -1
  47. package/dist/commands/post/search.js +27 -10
  48. package/dist/commands/post/search.js.map +1 -1
  49. package/dist/core/webhooks/format-webhook-output.d.ts +7 -0
  50. package/dist/core/webhooks/format-webhook-output.d.ts.map +1 -0
  51. package/dist/core/webhooks/format-webhook-output.js +23 -0
  52. package/dist/core/webhooks/format-webhook-output.js.map +1 -0
  53. package/dist/core/webhooks/parse-webhook-events.d.ts +3 -0
  54. package/dist/core/webhooks/parse-webhook-events.d.ts.map +1 -0
  55. package/dist/core/webhooks/parse-webhook-events.js +12 -0
  56. package/dist/core/webhooks/parse-webhook-events.js.map +1 -0
  57. package/dist/core/webhooks/read-webhook-headers.d.ts +2 -0
  58. package/dist/core/webhooks/read-webhook-headers.d.ts.map +1 -0
  59. package/dist/core/webhooks/read-webhook-headers.js +26 -0
  60. package/dist/core/webhooks/read-webhook-headers.js.map +1 -0
  61. package/dist/core/webhooks/write-webhook-secret.d.ts +6 -0
  62. package/dist/core/webhooks/write-webhook-secret.d.ts.map +1 -0
  63. package/dist/core/webhooks/write-webhook-secret.js +26 -0
  64. package/dist/core/webhooks/write-webhook-secret.js.map +1 -0
  65. package/dist/utils/linkedin-identifier-pattern.d.ts +10 -0
  66. package/dist/utils/linkedin-identifier-pattern.d.ts.map +1 -0
  67. package/dist/utils/linkedin-identifier-pattern.js +15 -0
  68. package/dist/utils/linkedin-identifier-pattern.js.map +1 -0
  69. package/dist/utils/post-mention.d.ts.map +1 -1
  70. package/dist/utils/post-mention.js +6 -10
  71. package/dist/utils/post-mention.js.map +1 -1
  72. package/dist/utils/post-search-actor-filter.d.ts +24 -0
  73. package/dist/utils/post-search-actor-filter.d.ts.map +1 -0
  74. package/dist/utils/post-search-actor-filter.js +42 -0
  75. package/dist/utils/post-search-actor-filter.js.map +1 -0
  76. package/dist/utils/read-stdin.d.ts +2 -0
  77. package/dist/utils/read-stdin.d.ts.map +1 -0
  78. package/dist/utils/read-stdin.js +17 -0
  79. package/dist/utils/read-stdin.js.map +1 -0
  80. package/oclif.manifest.json +1077 -433
  81. package/package.json +2 -2
@@ -1,5 +1,73 @@
1
1
  {
2
2
  "commands": {
3
+ "changelog": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "Read the public Linked API changelog; no authentication is required",
7
+ "examples": [
8
+ "<%= config.bin %> changelog",
9
+ "<%= config.bin %> changelog --since 2026-10-01",
10
+ "<%= config.bin %> changelog --since 2026-10-01T12:00:00Z --json"
11
+ ],
12
+ "flags": {
13
+ "json": {
14
+ "description": "Output as JSON",
15
+ "name": "json",
16
+ "allowNo": false,
17
+ "type": "boolean"
18
+ },
19
+ "fields": {
20
+ "description": "Comma-separated list of fields to include in output",
21
+ "hidden": true,
22
+ "name": "fields",
23
+ "hasDynamicHelp": false,
24
+ "multiple": false,
25
+ "type": "option"
26
+ },
27
+ "quiet": {
28
+ "char": "q",
29
+ "description": "Suppress progress output on stderr",
30
+ "name": "quiet",
31
+ "allowNo": false,
32
+ "type": "boolean"
33
+ },
34
+ "no-color": {
35
+ "description": "Disable colored output",
36
+ "name": "no-color",
37
+ "allowNo": false,
38
+ "type": "boolean"
39
+ },
40
+ "account": {
41
+ "description": "Account name to use (when multiple accounts are configured)",
42
+ "hidden": true,
43
+ "name": "account",
44
+ "hasDynamicHelp": false,
45
+ "multiple": false,
46
+ "type": "option"
47
+ },
48
+ "since": {
49
+ "description": "Return releases since an ISO date or zoned instant",
50
+ "name": "since",
51
+ "hasDynamicHelp": false,
52
+ "multiple": false,
53
+ "type": "option"
54
+ }
55
+ },
56
+ "hasDynamicHelp": false,
57
+ "hiddenAliases": [],
58
+ "id": "changelog",
59
+ "pluginAlias": "@linkedapi/linkedin-cli",
60
+ "pluginName": "@linkedapi/linkedin-cli",
61
+ "pluginType": "core",
62
+ "strict": true,
63
+ "enableJsonFlag": false,
64
+ "isESM": false,
65
+ "relativePath": [
66
+ "dist",
67
+ "commands",
68
+ "changelog.js"
69
+ ]
70
+ },
3
71
  "feedback": {
4
72
  "aliases": [],
5
73
  "args": {
@@ -2179,142 +2247,6 @@
2179
2247
  "send.js"
2180
2248
  ]
2181
2249
  },
2182
- "network:events": {
2183
- "aliases": [],
2184
- "args": {},
2185
- "description": "Get connection events from the monitored network",
2186
- "examples": [
2187
- "<%= config.bin %> network events",
2188
- "<%= config.bin %> network events --since 2024-01-15T10:30:00Z --type connectionAccepted"
2189
- ],
2190
- "flags": {
2191
- "json": {
2192
- "description": "Output as JSON",
2193
- "name": "json",
2194
- "allowNo": false,
2195
- "type": "boolean"
2196
- },
2197
- "fields": {
2198
- "description": "Comma-separated list of fields to include in output",
2199
- "name": "fields",
2200
- "hasDynamicHelp": false,
2201
- "multiple": false,
2202
- "type": "option"
2203
- },
2204
- "quiet": {
2205
- "char": "q",
2206
- "description": "Suppress progress output on stderr",
2207
- "name": "quiet",
2208
- "allowNo": false,
2209
- "type": "boolean"
2210
- },
2211
- "no-color": {
2212
- "description": "Disable colored output",
2213
- "name": "no-color",
2214
- "allowNo": false,
2215
- "type": "boolean"
2216
- },
2217
- "account": {
2218
- "description": "Account name to use (when multiple accounts are configured)",
2219
- "name": "account",
2220
- "hasDynamicHelp": false,
2221
- "multiple": false,
2222
- "type": "option"
2223
- },
2224
- "since": {
2225
- "description": "Retrieve events after ISO timestamp",
2226
- "name": "since",
2227
- "hasDynamicHelp": false,
2228
- "multiple": false,
2229
- "type": "option"
2230
- },
2231
- "type": {
2232
- "description": "Filter by event type",
2233
- "name": "type",
2234
- "hasDynamicHelp": false,
2235
- "multiple": false,
2236
- "options": [
2237
- "connectionRequestReceived",
2238
- "connectionAccepted",
2239
- "connectionAdded"
2240
- ],
2241
- "type": "option"
2242
- }
2243
- },
2244
- "hasDynamicHelp": false,
2245
- "hiddenAliases": [],
2246
- "id": "network:events",
2247
- "pluginAlias": "@linkedapi/linkedin-cli",
2248
- "pluginName": "@linkedapi/linkedin-cli",
2249
- "pluginType": "core",
2250
- "strict": true,
2251
- "enableJsonFlag": false,
2252
- "isESM": false,
2253
- "relativePath": [
2254
- "dist",
2255
- "commands",
2256
- "network",
2257
- "events.js"
2258
- ]
2259
- },
2260
- "network:sync": {
2261
- "aliases": [],
2262
- "args": {},
2263
- "description": "Enable background network monitoring so connection events can be read with \"network events\"",
2264
- "examples": [
2265
- "<%= config.bin %> network sync"
2266
- ],
2267
- "flags": {
2268
- "json": {
2269
- "description": "Output as JSON",
2270
- "name": "json",
2271
- "allowNo": false,
2272
- "type": "boolean"
2273
- },
2274
- "fields": {
2275
- "description": "Comma-separated list of fields to include in output",
2276
- "name": "fields",
2277
- "hasDynamicHelp": false,
2278
- "multiple": false,
2279
- "type": "option"
2280
- },
2281
- "quiet": {
2282
- "char": "q",
2283
- "description": "Suppress progress output on stderr",
2284
- "name": "quiet",
2285
- "allowNo": false,
2286
- "type": "boolean"
2287
- },
2288
- "no-color": {
2289
- "description": "Disable colored output",
2290
- "name": "no-color",
2291
- "allowNo": false,
2292
- "type": "boolean"
2293
- },
2294
- "account": {
2295
- "description": "Account name to use (when multiple accounts are configured)",
2296
- "name": "account",
2297
- "hasDynamicHelp": false,
2298
- "multiple": false,
2299
- "type": "option"
2300
- }
2301
- },
2302
- "hasDynamicHelp": false,
2303
- "hiddenAliases": [],
2304
- "id": "network:sync",
2305
- "pluginAlias": "@linkedapi/linkedin-cli",
2306
- "pluginName": "@linkedapi/linkedin-cli",
2307
- "pluginType": "core",
2308
- "strict": true,
2309
- "enableJsonFlag": false,
2310
- "isESM": false,
2311
- "relativePath": [
2312
- "dist",
2313
- "commands",
2314
- "network",
2315
- "sync.js"
2316
- ]
2317
- },
2318
2250
  "person:fetch": {
2319
2251
  "aliases": [],
2320
2252
  "args": {
@@ -2601,23 +2533,13 @@
2601
2533
  "search.js"
2602
2534
  ]
2603
2535
  },
2604
- "post:comment": {
2536
+ "network:events": {
2605
2537
  "aliases": [],
2606
- "args": {
2607
- "url": {
2608
- "description": "LinkedIn post URL or URN",
2609
- "name": "url",
2610
- "required": true
2611
- },
2612
- "text": {
2613
- "description": "Comment text (up to 1000 characters)",
2614
- "name": "text",
2615
- "required": true
2616
- }
2617
- },
2618
- "description": "Comment on a LinkedIn post",
2538
+ "args": {},
2539
+ "description": "Get connection events from the monitored network",
2619
2540
  "examples": [
2620
- "<%= config.bin %> post comment https://www.linkedin.com/posts/john-doe_activity-123 \"Great insights!\""
2541
+ "<%= config.bin %> network events",
2542
+ "<%= config.bin %> network events --since 2024-01-15T10:30:00Z --type connectionAccepted"
2621
2543
  ],
2622
2544
  "flags": {
2623
2545
  "json": {
@@ -2653,17 +2575,29 @@
2653
2575
  "multiple": false,
2654
2576
  "type": "option"
2655
2577
  },
2656
- "company-url": {
2657
- "description": "Comment on behalf of a company page",
2658
- "name": "company-url",
2578
+ "since": {
2579
+ "description": "Retrieve events after ISO timestamp",
2580
+ "name": "since",
2581
+ "hasDynamicHelp": false,
2582
+ "multiple": false,
2583
+ "type": "option"
2584
+ },
2585
+ "type": {
2586
+ "description": "Filter by event type",
2587
+ "name": "type",
2659
2588
  "hasDynamicHelp": false,
2660
2589
  "multiple": false,
2590
+ "options": [
2591
+ "connectionRequestReceived",
2592
+ "connectionAccepted",
2593
+ "connectionAdded"
2594
+ ],
2661
2595
  "type": "option"
2662
2596
  }
2663
2597
  },
2664
2598
  "hasDynamicHelp": false,
2665
2599
  "hiddenAliases": [],
2666
- "id": "post:comment",
2600
+ "id": "network:events",
2667
2601
  "pluginAlias": "@linkedapi/linkedin-cli",
2668
2602
  "pluginName": "@linkedapi/linkedin-cli",
2669
2603
  "pluginType": "core",
@@ -2673,24 +2607,16 @@
2673
2607
  "relativePath": [
2674
2608
  "dist",
2675
2609
  "commands",
2676
- "post",
2677
- "comment.js"
2610
+ "network",
2611
+ "events.js"
2678
2612
  ]
2679
2613
  },
2680
- "post:create": {
2614
+ "network:sync": {
2681
2615
  "aliases": [],
2682
- "args": {
2683
- "text": {
2684
- "description": "Post text (up to 3000 characters)",
2685
- "name": "text",
2686
- "required": true
2687
- }
2688
- },
2689
- "description": "Create a LinkedIn post",
2616
+ "args": {},
2617
+ "description": "Enable background network monitoring so connection events can be read with \"network events\"",
2690
2618
  "examples": [
2691
- "<%= config.bin %> post create \"Excited to share our latest update!\"",
2692
- "<%= config.bin %> post create \"Check this out\" --attachments \"https://example.com/img.jpg:image\"",
2693
- "<%= config.bin %> post create \"Thanks @[author]!\" --mention \"author:Example Person:urn:li:member:123456789\""
2619
+ "<%= config.bin %> network sync"
2694
2620
  ],
2695
2621
  "flags": {
2696
2622
  "json": {
@@ -2725,8 +2651,150 @@
2725
2651
  "hasDynamicHelp": false,
2726
2652
  "multiple": false,
2727
2653
  "type": "option"
2728
- },
2729
- "company-url": {
2654
+ }
2655
+ },
2656
+ "hasDynamicHelp": false,
2657
+ "hiddenAliases": [],
2658
+ "id": "network:sync",
2659
+ "pluginAlias": "@linkedapi/linkedin-cli",
2660
+ "pluginName": "@linkedapi/linkedin-cli",
2661
+ "pluginType": "core",
2662
+ "strict": true,
2663
+ "enableJsonFlag": false,
2664
+ "isESM": false,
2665
+ "relativePath": [
2666
+ "dist",
2667
+ "commands",
2668
+ "network",
2669
+ "sync.js"
2670
+ ]
2671
+ },
2672
+ "post:comment": {
2673
+ "aliases": [],
2674
+ "args": {
2675
+ "url": {
2676
+ "description": "LinkedIn post URL or URN",
2677
+ "name": "url",
2678
+ "required": true
2679
+ },
2680
+ "text": {
2681
+ "description": "Comment text (up to 1000 characters)",
2682
+ "name": "text",
2683
+ "required": true
2684
+ }
2685
+ },
2686
+ "description": "Comment on a LinkedIn post",
2687
+ "examples": [
2688
+ "<%= config.bin %> post comment https://www.linkedin.com/posts/john-doe_activity-123 \"Great insights!\""
2689
+ ],
2690
+ "flags": {
2691
+ "json": {
2692
+ "description": "Output as JSON",
2693
+ "name": "json",
2694
+ "allowNo": false,
2695
+ "type": "boolean"
2696
+ },
2697
+ "fields": {
2698
+ "description": "Comma-separated list of fields to include in output",
2699
+ "name": "fields",
2700
+ "hasDynamicHelp": false,
2701
+ "multiple": false,
2702
+ "type": "option"
2703
+ },
2704
+ "quiet": {
2705
+ "char": "q",
2706
+ "description": "Suppress progress output on stderr",
2707
+ "name": "quiet",
2708
+ "allowNo": false,
2709
+ "type": "boolean"
2710
+ },
2711
+ "no-color": {
2712
+ "description": "Disable colored output",
2713
+ "name": "no-color",
2714
+ "allowNo": false,
2715
+ "type": "boolean"
2716
+ },
2717
+ "account": {
2718
+ "description": "Account name to use (when multiple accounts are configured)",
2719
+ "name": "account",
2720
+ "hasDynamicHelp": false,
2721
+ "multiple": false,
2722
+ "type": "option"
2723
+ },
2724
+ "company-url": {
2725
+ "description": "Comment on behalf of a company page",
2726
+ "name": "company-url",
2727
+ "hasDynamicHelp": false,
2728
+ "multiple": false,
2729
+ "type": "option"
2730
+ }
2731
+ },
2732
+ "hasDynamicHelp": false,
2733
+ "hiddenAliases": [],
2734
+ "id": "post:comment",
2735
+ "pluginAlias": "@linkedapi/linkedin-cli",
2736
+ "pluginName": "@linkedapi/linkedin-cli",
2737
+ "pluginType": "core",
2738
+ "strict": true,
2739
+ "enableJsonFlag": false,
2740
+ "isESM": false,
2741
+ "relativePath": [
2742
+ "dist",
2743
+ "commands",
2744
+ "post",
2745
+ "comment.js"
2746
+ ]
2747
+ },
2748
+ "post:create": {
2749
+ "aliases": [],
2750
+ "args": {
2751
+ "text": {
2752
+ "description": "Post text (up to 3000 characters)",
2753
+ "name": "text",
2754
+ "required": true
2755
+ }
2756
+ },
2757
+ "description": "Create a LinkedIn post",
2758
+ "examples": [
2759
+ "<%= config.bin %> post create \"Excited to share our latest update!\"",
2760
+ "<%= config.bin %> post create \"Check this out\" --attachments \"https://example.com/img.jpg:image\"",
2761
+ "<%= config.bin %> post create \"Thanks @[author]!\" --mention \"author:Example Person:urn:li:member:123456789\""
2762
+ ],
2763
+ "flags": {
2764
+ "json": {
2765
+ "description": "Output as JSON",
2766
+ "name": "json",
2767
+ "allowNo": false,
2768
+ "type": "boolean"
2769
+ },
2770
+ "fields": {
2771
+ "description": "Comma-separated list of fields to include in output",
2772
+ "name": "fields",
2773
+ "hasDynamicHelp": false,
2774
+ "multiple": false,
2775
+ "type": "option"
2776
+ },
2777
+ "quiet": {
2778
+ "char": "q",
2779
+ "description": "Suppress progress output on stderr",
2780
+ "name": "quiet",
2781
+ "allowNo": false,
2782
+ "type": "boolean"
2783
+ },
2784
+ "no-color": {
2785
+ "description": "Disable colored output",
2786
+ "name": "no-color",
2787
+ "allowNo": false,
2788
+ "type": "boolean"
2789
+ },
2790
+ "account": {
2791
+ "description": "Account name to use (when multiple accounts are configured)",
2792
+ "name": "account",
2793
+ "hasDynamicHelp": false,
2794
+ "multiple": false,
2795
+ "type": "option"
2796
+ },
2797
+ "company-url": {
2730
2798
  "description": "Post on behalf of a company page",
2731
2799
  "name": "company-url",
2732
2800
  "hasDynamicHelp": false,
@@ -3045,7 +3113,8 @@
3045
3113
  "examples": [
3046
3114
  "<%= config.bin %> post search --term \"climate tech\" --date-posted pastWeek --json",
3047
3115
  "<%= config.bin %> post search --term \"product launch\" --content-type images --sort latest --limit 20 --json",
3048
- "<%= config.bin %> post search --term \"hiring\" --from-companies \"Linked API\" --posted-by \"peopleYouFollow\" --json"
3116
+ "<%= config.bin %> post search --term \"hiring\" --from-companies \"Linked API\" --posted-by \"peopleYouFollow\" --json",
3117
+ "<%= config.bin %> post search --term \"ai\" --from-members \"Bill Gates,Example Person:urn:li:member:123456789\" --mentioning-companies \"Example Company:https://www.linkedin.com/company/example-company\" --json"
3049
3118
  ],
3050
3119
  "flags": {
3051
3120
  "json": {
@@ -3140,35 +3209,35 @@
3140
3209
  "type": "option"
3141
3210
  },
3142
3211
  "from-members": {
3143
- "description": "Filter by names of people whose posts to keep (comma-separated)",
3212
+ "description": "Filter by people whose posts to keep (comma-separated name or name:identifier, where the identifier is a member URN or profile URL)",
3144
3213
  "name": "from-members",
3145
3214
  "hasDynamicHelp": false,
3146
3215
  "multiple": false,
3147
3216
  "type": "option"
3148
3217
  },
3149
3218
  "from-companies": {
3150
- "description": "Filter by names of companies whose posts to keep (comma-separated)",
3219
+ "description": "Filter by companies whose posts to keep (comma-separated name or name:identifier, where the identifier is an organization URN or company URL)",
3151
3220
  "name": "from-companies",
3152
3221
  "hasDynamicHelp": false,
3153
3222
  "multiple": false,
3154
3223
  "type": "option"
3155
3224
  },
3156
3225
  "mentioning-members": {
3157
- "description": "Filter by names of people the post must mention (comma-separated)",
3226
+ "description": "Filter by people the post must mention (comma-separated name or name:identifier, where the identifier is a member URN or profile URL)",
3158
3227
  "name": "mentioning-members",
3159
3228
  "hasDynamicHelp": false,
3160
3229
  "multiple": false,
3161
3230
  "type": "option"
3162
3231
  },
3163
3232
  "mentioning-companies": {
3164
- "description": "Filter by names of companies the post must mention (comma-separated)",
3233
+ "description": "Filter by companies the post must mention (comma-separated name or name:identifier, where the identifier is an organization URN or company URL)",
3165
3234
  "name": "mentioning-companies",
3166
3235
  "hasDynamicHelp": false,
3167
3236
  "multiple": false,
3168
3237
  "type": "option"
3169
3238
  },
3170
3239
  "author-companies": {
3171
- "description": "Filter by names of companies the author works at (comma-separated)",
3240
+ "description": "Filter by companies the author works at (comma-separated name or name:identifier, where the identifier is an organization URN or company URL)",
3172
3241
  "name": "author-companies",
3173
3242
  "hasDynamicHelp": false,
3174
3243
  "multiple": false,
@@ -3600,18 +3669,12 @@
3600
3669
  "viewers.js"
3601
3670
  ]
3602
3671
  },
3603
- "admin:accounts:cancel-session": {
3672
+ "admin:limits:defaults": {
3604
3673
  "aliases": [],
3605
- "args": {
3606
- "sessionId": {
3607
- "description": "Session UUID",
3608
- "name": "sessionId",
3609
- "required": true
3610
- }
3611
- },
3612
- "description": "Cancel a pending connection session",
3674
+ "args": {},
3675
+ "description": "View system default limits",
3613
3676
  "examples": [
3614
- "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
3677
+ "<%= config.bin %> admin limits defaults"
3615
3678
  ],
3616
3679
  "flags": {
3617
3680
  "json": {
@@ -3643,7 +3706,7 @@
3643
3706
  },
3644
3707
  "hasDynamicHelp": false,
3645
3708
  "hiddenAliases": [],
3646
- "id": "admin:accounts:cancel-session",
3709
+ "id": "admin:limits:defaults",
3647
3710
  "pluginAlias": "@linkedapi/linkedin-cli",
3648
3711
  "pluginName": "@linkedapi/linkedin-cli",
3649
3712
  "pluginType": "core",
@@ -3654,16 +3717,22 @@
3654
3717
  "dist",
3655
3718
  "commands",
3656
3719
  "admin",
3657
- "accounts",
3658
- "cancel-session.js"
3720
+ "limits",
3721
+ "defaults.js"
3659
3722
  ]
3660
3723
  },
3661
- "admin:accounts:connect": {
3724
+ "admin:limits:delete": {
3662
3725
  "aliases": [],
3663
- "args": {},
3664
- "description": "Create a connection session to connect a new LinkedIn account",
3726
+ "args": {
3727
+ "accountId": {
3728
+ "description": "Account UUID",
3729
+ "name": "accountId",
3730
+ "required": true
3731
+ }
3732
+ },
3733
+ "description": "Delete specific limits (falls back to defaults)",
3665
3734
  "examples": [
3666
- "<%= config.bin %> admin accounts connect"
3735
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
3667
3736
  ],
3668
3737
  "flags": {
3669
3738
  "json": {
@@ -3691,11 +3760,32 @@
3691
3760
  "name": "no-color",
3692
3761
  "allowNo": false,
3693
3762
  "type": "boolean"
3763
+ },
3764
+ "category": {
3765
+ "description": "Limit category",
3766
+ "name": "category",
3767
+ "required": true,
3768
+ "hasDynamicHelp": false,
3769
+ "multiple": false,
3770
+ "type": "option"
3771
+ },
3772
+ "period": {
3773
+ "description": "Limit period",
3774
+ "name": "period",
3775
+ "required": true,
3776
+ "hasDynamicHelp": false,
3777
+ "multiple": false,
3778
+ "options": [
3779
+ "daily",
3780
+ "weekly",
3781
+ "monthly"
3782
+ ],
3783
+ "type": "option"
3694
3784
  }
3695
3785
  },
3696
3786
  "hasDynamicHelp": false,
3697
3787
  "hiddenAliases": [],
3698
- "id": "admin:accounts:connect",
3788
+ "id": "admin:limits:delete",
3699
3789
  "pluginAlias": "@linkedapi/linkedin-cli",
3700
3790
  "pluginName": "@linkedapi/linkedin-cli",
3701
3791
  "pluginType": "core",
@@ -3706,11 +3796,11 @@
3706
3796
  "dist",
3707
3797
  "commands",
3708
3798
  "admin",
3709
- "accounts",
3710
- "connect.js"
3799
+ "limits",
3800
+ "delete.js"
3711
3801
  ]
3712
3802
  },
3713
- "admin:accounts:disconnect": {
3803
+ "admin:limits:get": {
3714
3804
  "aliases": [],
3715
3805
  "args": {
3716
3806
  "accountId": {
@@ -3719,9 +3809,9 @@
3719
3809
  "required": true
3720
3810
  }
3721
3811
  },
3722
- "description": "Disconnect a LinkedIn account (irreversible)",
3812
+ "description": "View current limits for an account",
3723
3813
  "examples": [
3724
- "<%= config.bin %> admin accounts disconnect f9b4346a-..."
3814
+ "<%= config.bin %> admin limits get f9b4346a-..."
3725
3815
  ],
3726
3816
  "flags": {
3727
3817
  "json": {
@@ -3753,7 +3843,7 @@
3753
3843
  },
3754
3844
  "hasDynamicHelp": false,
3755
3845
  "hiddenAliases": [],
3756
- "id": "admin:accounts:disconnect",
3846
+ "id": "admin:limits:get",
3757
3847
  "pluginAlias": "@linkedapi/linkedin-cli",
3758
3848
  "pluginName": "@linkedapi/linkedin-cli",
3759
3849
  "pluginType": "core",
@@ -3764,16 +3854,22 @@
3764
3854
  "dist",
3765
3855
  "commands",
3766
3856
  "admin",
3767
- "accounts",
3768
- "disconnect.js"
3857
+ "limits",
3858
+ "get.js"
3769
3859
  ]
3770
3860
  },
3771
- "admin:accounts:list": {
3861
+ "admin:limits:reset": {
3772
3862
  "aliases": [],
3773
- "args": {},
3774
- "description": "List all connected accounts and pending sessions",
3863
+ "args": {
3864
+ "accountId": {
3865
+ "description": "Account UUID",
3866
+ "name": "accountId",
3867
+ "required": true
3868
+ }
3869
+ },
3870
+ "description": "Reset all limits to defaults",
3775
3871
  "examples": [
3776
- "<%= config.bin %> admin accounts list"
3872
+ "<%= config.bin %> admin limits reset f9b4346a-..."
3777
3873
  ],
3778
3874
  "flags": {
3779
3875
  "json": {
@@ -3805,7 +3901,7 @@
3805
3901
  },
3806
3902
  "hasDynamicHelp": false,
3807
3903
  "hiddenAliases": [],
3808
- "id": "admin:accounts:list",
3904
+ "id": "admin:limits:reset",
3809
3905
  "pluginAlias": "@linkedapi/linkedin-cli",
3810
3906
  "pluginName": "@linkedapi/linkedin-cli",
3811
3907
  "pluginType": "core",
@@ -3816,11 +3912,11 @@
3816
3912
  "dist",
3817
3913
  "commands",
3818
3914
  "admin",
3819
- "accounts",
3820
- "list.js"
3915
+ "limits",
3916
+ "reset.js"
3821
3917
  ]
3822
3918
  },
3823
- "admin:accounts:reconnect": {
3919
+ "admin:limits:set": {
3824
3920
  "aliases": [],
3825
3921
  "args": {
3826
3922
  "accountId": {
@@ -3829,9 +3925,9 @@
3829
3925
  "required": true
3830
3926
  }
3831
3927
  },
3832
- "description": "Create a reconnection session for an account",
3928
+ "description": "Set limits for an account",
3833
3929
  "examples": [
3834
- "<%= config.bin %> admin accounts reconnect f9b4346a-..."
3930
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
3835
3931
  ],
3836
3932
  "flags": {
3837
3933
  "json": {
@@ -3859,26 +3955,411 @@
3859
3955
  "name": "no-color",
3860
3956
  "allowNo": false,
3861
3957
  "type": "boolean"
3862
- }
3863
- },
3864
- "hasDynamicHelp": false,
3865
- "hiddenAliases": [],
3866
- "id": "admin:accounts:reconnect",
3867
- "pluginAlias": "@linkedapi/linkedin-cli",
3868
- "pluginName": "@linkedapi/linkedin-cli",
3869
- "pluginType": "core",
3870
- "strict": true,
3871
- "enableJsonFlag": false,
3872
- "isESM": false,
3873
- "relativePath": [
3874
- "dist",
3958
+ },
3959
+ "category": {
3960
+ "description": "Limit category",
3961
+ "name": "category",
3962
+ "required": true,
3963
+ "hasDynamicHelp": false,
3964
+ "multiple": false,
3965
+ "type": "option"
3966
+ },
3967
+ "period": {
3968
+ "description": "Limit period",
3969
+ "name": "period",
3970
+ "required": true,
3971
+ "hasDynamicHelp": false,
3972
+ "multiple": false,
3973
+ "options": [
3974
+ "daily",
3975
+ "weekly",
3976
+ "monthly"
3977
+ ],
3978
+ "type": "option"
3979
+ },
3980
+ "max": {
3981
+ "description": "Maximum allowed actions (>= 0)",
3982
+ "name": "max",
3983
+ "required": true,
3984
+ "hasDynamicHelp": false,
3985
+ "multiple": false,
3986
+ "type": "option"
3987
+ }
3988
+ },
3989
+ "hasDynamicHelp": false,
3990
+ "hiddenAliases": [],
3991
+ "id": "admin:limits:set",
3992
+ "pluginAlias": "@linkedapi/linkedin-cli",
3993
+ "pluginName": "@linkedapi/linkedin-cli",
3994
+ "pluginType": "core",
3995
+ "strict": true,
3996
+ "enableJsonFlag": false,
3997
+ "isESM": false,
3998
+ "relativePath": [
3999
+ "dist",
4000
+ "commands",
4001
+ "admin",
4002
+ "limits",
4003
+ "set.js"
4004
+ ]
4005
+ },
4006
+ "admin:limits:usage": {
4007
+ "aliases": [],
4008
+ "args": {
4009
+ "accountId": {
4010
+ "description": "Account UUID",
4011
+ "name": "accountId",
4012
+ "required": true
4013
+ }
4014
+ },
4015
+ "description": "View current usage against limits",
4016
+ "examples": [
4017
+ "<%= config.bin %> admin limits usage f9b4346a-..."
4018
+ ],
4019
+ "flags": {
4020
+ "json": {
4021
+ "description": "Output as JSON",
4022
+ "name": "json",
4023
+ "allowNo": false,
4024
+ "type": "boolean"
4025
+ },
4026
+ "fields": {
4027
+ "description": "Comma-separated list of fields to include in output",
4028
+ "name": "fields",
4029
+ "hasDynamicHelp": false,
4030
+ "multiple": false,
4031
+ "type": "option"
4032
+ },
4033
+ "quiet": {
4034
+ "char": "q",
4035
+ "description": "Suppress progress output on stderr",
4036
+ "name": "quiet",
4037
+ "allowNo": false,
4038
+ "type": "boolean"
4039
+ },
4040
+ "no-color": {
4041
+ "description": "Disable colored output",
4042
+ "name": "no-color",
4043
+ "allowNo": false,
4044
+ "type": "boolean"
4045
+ }
4046
+ },
4047
+ "hasDynamicHelp": false,
4048
+ "hiddenAliases": [],
4049
+ "id": "admin:limits:usage",
4050
+ "pluginAlias": "@linkedapi/linkedin-cli",
4051
+ "pluginName": "@linkedapi/linkedin-cli",
4052
+ "pluginType": "core",
4053
+ "strict": true,
4054
+ "enableJsonFlag": false,
4055
+ "isESM": false,
4056
+ "relativePath": [
4057
+ "dist",
4058
+ "commands",
4059
+ "admin",
4060
+ "limits",
4061
+ "usage.js"
4062
+ ]
4063
+ },
4064
+ "admin:subscription:seats": {
4065
+ "aliases": [],
4066
+ "args": {},
4067
+ "description": "View current subscription seats",
4068
+ "examples": [
4069
+ "<%= config.bin %> admin subscription seats"
4070
+ ],
4071
+ "flags": {
4072
+ "json": {
4073
+ "description": "Output as JSON",
4074
+ "name": "json",
4075
+ "allowNo": false,
4076
+ "type": "boolean"
4077
+ },
4078
+ "fields": {
4079
+ "description": "Comma-separated list of fields to include in output",
4080
+ "name": "fields",
4081
+ "hasDynamicHelp": false,
4082
+ "multiple": false,
4083
+ "type": "option"
4084
+ },
4085
+ "quiet": {
4086
+ "char": "q",
4087
+ "description": "Suppress progress output on stderr",
4088
+ "name": "quiet",
4089
+ "allowNo": false,
4090
+ "type": "boolean"
4091
+ },
4092
+ "no-color": {
4093
+ "description": "Disable colored output",
4094
+ "name": "no-color",
4095
+ "allowNo": false,
4096
+ "type": "boolean"
4097
+ }
4098
+ },
4099
+ "hasDynamicHelp": false,
4100
+ "hiddenAliases": [],
4101
+ "id": "admin:subscription:seats",
4102
+ "pluginAlias": "@linkedapi/linkedin-cli",
4103
+ "pluginName": "@linkedapi/linkedin-cli",
4104
+ "pluginType": "core",
4105
+ "strict": true,
4106
+ "enableJsonFlag": false,
4107
+ "isESM": false,
4108
+ "relativePath": [
4109
+ "dist",
4110
+ "commands",
4111
+ "admin",
4112
+ "subscription",
4113
+ "seats.js"
4114
+ ]
4115
+ },
4116
+ "admin:subscription:set-seats": {
4117
+ "aliases": [],
4118
+ "args": {},
4119
+ "description": "Set subscription seats (updates existing or returns checkout link)",
4120
+ "examples": [
4121
+ "<%= config.bin %> admin subscription set-seats --quantity 5 --type plus --period year"
4122
+ ],
4123
+ "flags": {
4124
+ "json": {
4125
+ "description": "Output as JSON",
4126
+ "name": "json",
4127
+ "allowNo": false,
4128
+ "type": "boolean"
4129
+ },
4130
+ "fields": {
4131
+ "description": "Comma-separated list of fields to include in output",
4132
+ "name": "fields",
4133
+ "hasDynamicHelp": false,
4134
+ "multiple": false,
4135
+ "type": "option"
4136
+ },
4137
+ "quiet": {
4138
+ "char": "q",
4139
+ "description": "Suppress progress output on stderr",
4140
+ "name": "quiet",
4141
+ "allowNo": false,
4142
+ "type": "boolean"
4143
+ },
4144
+ "no-color": {
4145
+ "description": "Disable colored output",
4146
+ "name": "no-color",
4147
+ "allowNo": false,
4148
+ "type": "boolean"
4149
+ },
4150
+ "quantity": {
4151
+ "description": "Number of seats (1-1000)",
4152
+ "name": "quantity",
4153
+ "required": true,
4154
+ "hasDynamicHelp": false,
4155
+ "multiple": false,
4156
+ "type": "option"
4157
+ },
4158
+ "type": {
4159
+ "description": "Seat type",
4160
+ "name": "type",
4161
+ "required": true,
4162
+ "hasDynamicHelp": false,
4163
+ "multiple": false,
4164
+ "options": [
4165
+ "core",
4166
+ "plus"
4167
+ ],
4168
+ "type": "option"
4169
+ },
4170
+ "period": {
4171
+ "description": "Billing period",
4172
+ "name": "period",
4173
+ "required": true,
4174
+ "hasDynamicHelp": false,
4175
+ "multiple": false,
4176
+ "options": [
4177
+ "month",
4178
+ "year"
4179
+ ],
4180
+ "type": "option"
4181
+ }
4182
+ },
4183
+ "hasDynamicHelp": false,
4184
+ "hiddenAliases": [],
4185
+ "id": "admin:subscription:set-seats",
4186
+ "pluginAlias": "@linkedapi/linkedin-cli",
4187
+ "pluginName": "@linkedapi/linkedin-cli",
4188
+ "pluginType": "core",
4189
+ "strict": true,
4190
+ "enableJsonFlag": false,
4191
+ "isESM": false,
4192
+ "relativePath": [
4193
+ "dist",
4194
+ "commands",
4195
+ "admin",
4196
+ "subscription",
4197
+ "set-seats.js"
4198
+ ]
4199
+ },
4200
+ "admin:subscription:status": {
4201
+ "aliases": [],
4202
+ "args": {},
4203
+ "description": "Check subscription status",
4204
+ "examples": [
4205
+ "<%= config.bin %> admin subscription status"
4206
+ ],
4207
+ "flags": {
4208
+ "json": {
4209
+ "description": "Output as JSON",
4210
+ "name": "json",
4211
+ "allowNo": false,
4212
+ "type": "boolean"
4213
+ },
4214
+ "fields": {
4215
+ "description": "Comma-separated list of fields to include in output",
4216
+ "name": "fields",
4217
+ "hasDynamicHelp": false,
4218
+ "multiple": false,
4219
+ "type": "option"
4220
+ },
4221
+ "quiet": {
4222
+ "char": "q",
4223
+ "description": "Suppress progress output on stderr",
4224
+ "name": "quiet",
4225
+ "allowNo": false,
4226
+ "type": "boolean"
4227
+ },
4228
+ "no-color": {
4229
+ "description": "Disable colored output",
4230
+ "name": "no-color",
4231
+ "allowNo": false,
4232
+ "type": "boolean"
4233
+ }
4234
+ },
4235
+ "hasDynamicHelp": false,
4236
+ "hiddenAliases": [],
4237
+ "id": "admin:subscription:status",
4238
+ "pluginAlias": "@linkedapi/linkedin-cli",
4239
+ "pluginName": "@linkedapi/linkedin-cli",
4240
+ "pluginType": "core",
4241
+ "strict": true,
4242
+ "enableJsonFlag": false,
4243
+ "isESM": false,
4244
+ "relativePath": [
4245
+ "dist",
4246
+ "commands",
4247
+ "admin",
4248
+ "subscription",
4249
+ "status.js"
4250
+ ]
4251
+ },
4252
+ "admin:accounts:cancel-session": {
4253
+ "aliases": [],
4254
+ "args": {
4255
+ "sessionId": {
4256
+ "description": "Session UUID",
4257
+ "name": "sessionId",
4258
+ "required": true
4259
+ }
4260
+ },
4261
+ "description": "Cancel a pending connection session",
4262
+ "examples": [
4263
+ "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
4264
+ ],
4265
+ "flags": {
4266
+ "json": {
4267
+ "description": "Output as JSON",
4268
+ "name": "json",
4269
+ "allowNo": false,
4270
+ "type": "boolean"
4271
+ },
4272
+ "fields": {
4273
+ "description": "Comma-separated list of fields to include in output",
4274
+ "name": "fields",
4275
+ "hasDynamicHelp": false,
4276
+ "multiple": false,
4277
+ "type": "option"
4278
+ },
4279
+ "quiet": {
4280
+ "char": "q",
4281
+ "description": "Suppress progress output on stderr",
4282
+ "name": "quiet",
4283
+ "allowNo": false,
4284
+ "type": "boolean"
4285
+ },
4286
+ "no-color": {
4287
+ "description": "Disable colored output",
4288
+ "name": "no-color",
4289
+ "allowNo": false,
4290
+ "type": "boolean"
4291
+ }
4292
+ },
4293
+ "hasDynamicHelp": false,
4294
+ "hiddenAliases": [],
4295
+ "id": "admin:accounts:cancel-session",
4296
+ "pluginAlias": "@linkedapi/linkedin-cli",
4297
+ "pluginName": "@linkedapi/linkedin-cli",
4298
+ "pluginType": "core",
4299
+ "strict": true,
4300
+ "enableJsonFlag": false,
4301
+ "isESM": false,
4302
+ "relativePath": [
4303
+ "dist",
4304
+ "commands",
4305
+ "admin",
4306
+ "accounts",
4307
+ "cancel-session.js"
4308
+ ]
4309
+ },
4310
+ "admin:accounts:connect": {
4311
+ "aliases": [],
4312
+ "args": {},
4313
+ "description": "Create a connection session to connect a new LinkedIn account",
4314
+ "examples": [
4315
+ "<%= config.bin %> admin accounts connect"
4316
+ ],
4317
+ "flags": {
4318
+ "json": {
4319
+ "description": "Output as JSON",
4320
+ "name": "json",
4321
+ "allowNo": false,
4322
+ "type": "boolean"
4323
+ },
4324
+ "fields": {
4325
+ "description": "Comma-separated list of fields to include in output",
4326
+ "name": "fields",
4327
+ "hasDynamicHelp": false,
4328
+ "multiple": false,
4329
+ "type": "option"
4330
+ },
4331
+ "quiet": {
4332
+ "char": "q",
4333
+ "description": "Suppress progress output on stderr",
4334
+ "name": "quiet",
4335
+ "allowNo": false,
4336
+ "type": "boolean"
4337
+ },
4338
+ "no-color": {
4339
+ "description": "Disable colored output",
4340
+ "name": "no-color",
4341
+ "allowNo": false,
4342
+ "type": "boolean"
4343
+ }
4344
+ },
4345
+ "hasDynamicHelp": false,
4346
+ "hiddenAliases": [],
4347
+ "id": "admin:accounts:connect",
4348
+ "pluginAlias": "@linkedapi/linkedin-cli",
4349
+ "pluginName": "@linkedapi/linkedin-cli",
4350
+ "pluginType": "core",
4351
+ "strict": true,
4352
+ "enableJsonFlag": false,
4353
+ "isESM": false,
4354
+ "relativePath": [
4355
+ "dist",
3875
4356
  "commands",
3876
4357
  "admin",
3877
4358
  "accounts",
3878
- "reconnect.js"
4359
+ "connect.js"
3879
4360
  ]
3880
4361
  },
3881
- "admin:accounts:regenerate-token": {
4362
+ "admin:accounts:disconnect": {
3882
4363
  "aliases": [],
3883
4364
  "args": {
3884
4365
  "accountId": {
@@ -3887,9 +4368,9 @@
3887
4368
  "required": true
3888
4369
  }
3889
4370
  },
3890
- "description": "Regenerate identification token for an account",
4371
+ "description": "Disconnect a LinkedIn account (irreversible)",
3891
4372
  "examples": [
3892
- "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
4373
+ "<%= config.bin %> admin accounts disconnect f9b4346a-..."
3893
4374
  ],
3894
4375
  "flags": {
3895
4376
  "json": {
@@ -3921,7 +4402,7 @@
3921
4402
  },
3922
4403
  "hasDynamicHelp": false,
3923
4404
  "hiddenAliases": [],
3924
- "id": "admin:accounts:regenerate-token",
4405
+ "id": "admin:accounts:disconnect",
3925
4406
  "pluginAlias": "@linkedapi/linkedin-cli",
3926
4407
  "pluginName": "@linkedapi/linkedin-cli",
3927
4408
  "pluginType": "core",
@@ -3933,21 +4414,15 @@
3933
4414
  "commands",
3934
4415
  "admin",
3935
4416
  "accounts",
3936
- "regenerate-token.js"
4417
+ "disconnect.js"
3937
4418
  ]
3938
4419
  },
3939
- "admin:accounts:reparse": {
4420
+ "admin:accounts:list": {
3940
4421
  "aliases": [],
3941
- "args": {
3942
- "accountId": {
3943
- "description": "Account UUID",
3944
- "name": "accountId",
3945
- "required": true
3946
- }
3947
- },
3948
- "description": "Refresh stored profile info for an account",
4422
+ "args": {},
4423
+ "description": "List all connected accounts and pending sessions",
3949
4424
  "examples": [
3950
- "<%= config.bin %> admin accounts reparse f9b4346a-..."
4425
+ "<%= config.bin %> admin accounts list"
3951
4426
  ],
3952
4427
  "flags": {
3953
4428
  "json": {
@@ -3979,7 +4454,7 @@
3979
4454
  },
3980
4455
  "hasDynamicHelp": false,
3981
4456
  "hiddenAliases": [],
3982
- "id": "admin:accounts:reparse",
4457
+ "id": "admin:accounts:list",
3983
4458
  "pluginAlias": "@linkedapi/linkedin-cli",
3984
4459
  "pluginName": "@linkedapi/linkedin-cli",
3985
4460
  "pluginType": "core",
@@ -3991,21 +4466,21 @@
3991
4466
  "commands",
3992
4467
  "admin",
3993
4468
  "accounts",
3994
- "reparse.js"
4469
+ "list.js"
3995
4470
  ]
3996
4471
  },
3997
- "admin:accounts:session": {
4472
+ "admin:accounts:reconnect": {
3998
4473
  "aliases": [],
3999
4474
  "args": {
4000
- "sessionId": {
4001
- "description": "Session UUID",
4002
- "name": "sessionId",
4475
+ "accountId": {
4476
+ "description": "Account UUID",
4477
+ "name": "accountId",
4003
4478
  "required": true
4004
4479
  }
4005
4480
  },
4006
- "description": "Check connection session status",
4481
+ "description": "Create a reconnection session for an account",
4007
4482
  "examples": [
4008
- "<%= config.bin %> admin accounts session 990eef7a-..."
4483
+ "<%= config.bin %> admin accounts reconnect f9b4346a-..."
4009
4484
  ],
4010
4485
  "flags": {
4011
4486
  "json": {
@@ -4037,7 +4512,7 @@
4037
4512
  },
4038
4513
  "hasDynamicHelp": false,
4039
4514
  "hiddenAliases": [],
4040
- "id": "admin:accounts:session",
4515
+ "id": "admin:accounts:reconnect",
4041
4516
  "pluginAlias": "@linkedapi/linkedin-cli",
4042
4517
  "pluginName": "@linkedapi/linkedin-cli",
4043
4518
  "pluginType": "core",
@@ -4049,15 +4524,21 @@
4049
4524
  "commands",
4050
4525
  "admin",
4051
4526
  "accounts",
4052
- "session.js"
4527
+ "reconnect.js"
4053
4528
  ]
4054
4529
  },
4055
- "admin:limits:defaults": {
4530
+ "admin:accounts:regenerate-token": {
4056
4531
  "aliases": [],
4057
- "args": {},
4058
- "description": "View system default limits",
4532
+ "args": {
4533
+ "accountId": {
4534
+ "description": "Account UUID",
4535
+ "name": "accountId",
4536
+ "required": true
4537
+ }
4538
+ },
4539
+ "description": "Regenerate identification token for an account",
4059
4540
  "examples": [
4060
- "<%= config.bin %> admin limits defaults"
4541
+ "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
4061
4542
  ],
4062
4543
  "flags": {
4063
4544
  "json": {
@@ -4089,7 +4570,7 @@
4089
4570
  },
4090
4571
  "hasDynamicHelp": false,
4091
4572
  "hiddenAliases": [],
4092
- "id": "admin:limits:defaults",
4573
+ "id": "admin:accounts:regenerate-token",
4093
4574
  "pluginAlias": "@linkedapi/linkedin-cli",
4094
4575
  "pluginName": "@linkedapi/linkedin-cli",
4095
4576
  "pluginType": "core",
@@ -4100,11 +4581,11 @@
4100
4581
  "dist",
4101
4582
  "commands",
4102
4583
  "admin",
4103
- "limits",
4104
- "defaults.js"
4584
+ "accounts",
4585
+ "regenerate-token.js"
4105
4586
  ]
4106
4587
  },
4107
- "admin:limits:delete": {
4588
+ "admin:accounts:reparse": {
4108
4589
  "aliases": [],
4109
4590
  "args": {
4110
4591
  "accountId": {
@@ -4113,9 +4594,9 @@
4113
4594
  "required": true
4114
4595
  }
4115
4596
  },
4116
- "description": "Delete specific limits (falls back to defaults)",
4597
+ "description": "Refresh stored profile info for an account",
4117
4598
  "examples": [
4118
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
4599
+ "<%= config.bin %> admin accounts reparse f9b4346a-..."
4119
4600
  ],
4120
4601
  "flags": {
4121
4602
  "json": {
@@ -4143,32 +4624,11 @@
4143
4624
  "name": "no-color",
4144
4625
  "allowNo": false,
4145
4626
  "type": "boolean"
4146
- },
4147
- "category": {
4148
- "description": "Limit category",
4149
- "name": "category",
4150
- "required": true,
4151
- "hasDynamicHelp": false,
4152
- "multiple": false,
4153
- "type": "option"
4154
- },
4155
- "period": {
4156
- "description": "Limit period",
4157
- "name": "period",
4158
- "required": true,
4159
- "hasDynamicHelp": false,
4160
- "multiple": false,
4161
- "options": [
4162
- "daily",
4163
- "weekly",
4164
- "monthly"
4165
- ],
4166
- "type": "option"
4167
4627
  }
4168
4628
  },
4169
4629
  "hasDynamicHelp": false,
4170
4630
  "hiddenAliases": [],
4171
- "id": "admin:limits:delete",
4631
+ "id": "admin:accounts:reparse",
4172
4632
  "pluginAlias": "@linkedapi/linkedin-cli",
4173
4633
  "pluginName": "@linkedapi/linkedin-cli",
4174
4634
  "pluginType": "core",
@@ -4179,22 +4639,22 @@
4179
4639
  "dist",
4180
4640
  "commands",
4181
4641
  "admin",
4182
- "limits",
4183
- "delete.js"
4642
+ "accounts",
4643
+ "reparse.js"
4184
4644
  ]
4185
4645
  },
4186
- "admin:limits:get": {
4646
+ "admin:accounts:session": {
4187
4647
  "aliases": [],
4188
4648
  "args": {
4189
- "accountId": {
4190
- "description": "Account UUID",
4191
- "name": "accountId",
4649
+ "sessionId": {
4650
+ "description": "Session UUID",
4651
+ "name": "sessionId",
4192
4652
  "required": true
4193
4653
  }
4194
4654
  },
4195
- "description": "View current limits for an account",
4655
+ "description": "Check connection session status",
4196
4656
  "examples": [
4197
- "<%= config.bin %> admin limits get f9b4346a-..."
4657
+ "<%= config.bin %> admin accounts session 990eef7a-..."
4198
4658
  ],
4199
4659
  "flags": {
4200
4660
  "json": {
@@ -4226,7 +4686,7 @@
4226
4686
  },
4227
4687
  "hasDynamicHelp": false,
4228
4688
  "hiddenAliases": [],
4229
- "id": "admin:limits:get",
4689
+ "id": "admin:accounts:session",
4230
4690
  "pluginAlias": "@linkedapi/linkedin-cli",
4231
4691
  "pluginName": "@linkedapi/linkedin-cli",
4232
4692
  "pluginType": "core",
@@ -4237,22 +4697,27 @@
4237
4697
  "dist",
4238
4698
  "commands",
4239
4699
  "admin",
4240
- "limits",
4241
- "get.js"
4700
+ "accounts",
4701
+ "session.js"
4242
4702
  ]
4243
4703
  },
4244
- "admin:limits:reset": {
4704
+ "admin:webhook:delete-header": {
4245
4705
  "aliases": [],
4246
4706
  "args": {
4247
- "accountId": {
4248
- "description": "Account UUID",
4249
- "name": "accountId",
4707
+ "id": {
4708
+ "description": "Webhook subscription id",
4709
+ "name": "id",
4710
+ "required": true
4711
+ },
4712
+ "name": {
4713
+ "description": "Custom header name",
4714
+ "name": "name",
4250
4715
  "required": true
4251
4716
  }
4252
4717
  },
4253
- "description": "Reset all limits to defaults",
4718
+ "description": "Delete a custom webhook header by its case-insensitive name",
4254
4719
  "examples": [
4255
- "<%= config.bin %> admin limits reset f9b4346a-..."
4720
+ "<%= config.bin %> admin webhook delete-header whs-123 x-receiver-token"
4256
4721
  ],
4257
4722
  "flags": {
4258
4723
  "json": {
@@ -4284,7 +4749,7 @@
4284
4749
  },
4285
4750
  "hasDynamicHelp": false,
4286
4751
  "hiddenAliases": [],
4287
- "id": "admin:limits:reset",
4752
+ "id": "admin:webhook:delete-header",
4288
4753
  "pluginAlias": "@linkedapi/linkedin-cli",
4289
4754
  "pluginName": "@linkedapi/linkedin-cli",
4290
4755
  "pluginType": "core",
@@ -4295,22 +4760,22 @@
4295
4760
  "dist",
4296
4761
  "commands",
4297
4762
  "admin",
4298
- "limits",
4299
- "reset.js"
4763
+ "webhook",
4764
+ "delete-header.js"
4300
4765
  ]
4301
4766
  },
4302
- "admin:limits:set": {
4767
+ "admin:webhook:delete": {
4303
4768
  "aliases": [],
4304
4769
  "args": {
4305
- "accountId": {
4306
- "description": "Account UUID",
4307
- "name": "accountId",
4770
+ "id": {
4771
+ "description": "Webhook subscription id",
4772
+ "name": "id",
4308
4773
  "required": true
4309
4774
  }
4310
4775
  },
4311
- "description": "Set limits for an account",
4776
+ "description": "Delete the webhook (soft-delete: delivery history is kept, pending deliveries are dropped)",
4312
4777
  "examples": [
4313
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
4778
+ "<%= config.bin %> admin webhook delete whs-123"
4314
4779
  ],
4315
4780
  "flags": {
4316
4781
  "json": {
@@ -4338,40 +4803,63 @@
4338
4803
  "name": "no-color",
4339
4804
  "allowNo": false,
4340
4805
  "type": "boolean"
4806
+ }
4807
+ },
4808
+ "hasDynamicHelp": false,
4809
+ "hiddenAliases": [],
4810
+ "id": "admin:webhook:delete",
4811
+ "pluginAlias": "@linkedapi/linkedin-cli",
4812
+ "pluginName": "@linkedapi/linkedin-cli",
4813
+ "pluginType": "core",
4814
+ "strict": true,
4815
+ "enableJsonFlag": false,
4816
+ "isESM": false,
4817
+ "relativePath": [
4818
+ "dist",
4819
+ "commands",
4820
+ "admin",
4821
+ "webhook",
4822
+ "delete.js"
4823
+ ]
4824
+ },
4825
+ "admin:webhook:deliveries": {
4826
+ "aliases": [],
4827
+ "args": {},
4828
+ "description": "Show the most recent webhook deliveries (debug feed, newest first)",
4829
+ "examples": [
4830
+ "<%= config.bin %> admin webhook deliveries"
4831
+ ],
4832
+ "flags": {
4833
+ "json": {
4834
+ "description": "Output as JSON",
4835
+ "name": "json",
4836
+ "allowNo": false,
4837
+ "type": "boolean"
4341
4838
  },
4342
- "category": {
4343
- "description": "Limit category",
4344
- "name": "category",
4345
- "required": true,
4839
+ "fields": {
4840
+ "description": "Comma-separated list of fields to include in output",
4841
+ "name": "fields",
4346
4842
  "hasDynamicHelp": false,
4347
4843
  "multiple": false,
4348
4844
  "type": "option"
4349
4845
  },
4350
- "period": {
4351
- "description": "Limit period",
4352
- "name": "period",
4353
- "required": true,
4354
- "hasDynamicHelp": false,
4355
- "multiple": false,
4356
- "options": [
4357
- "daily",
4358
- "weekly",
4359
- "monthly"
4360
- ],
4361
- "type": "option"
4846
+ "quiet": {
4847
+ "char": "q",
4848
+ "description": "Suppress progress output on stderr",
4849
+ "name": "quiet",
4850
+ "allowNo": false,
4851
+ "type": "boolean"
4362
4852
  },
4363
- "max": {
4364
- "description": "Maximum allowed actions (>= 0)",
4365
- "name": "max",
4366
- "required": true,
4367
- "hasDynamicHelp": false,
4368
- "multiple": false,
4369
- "type": "option"
4853
+ "no-color": {
4854
+ "description": "Disable colored output",
4855
+ "name": "no-color",
4856
+ "allowNo": false,
4857
+ "type": "boolean"
4370
4858
  }
4371
4859
  },
4372
4860
  "hasDynamicHelp": false,
4373
4861
  "hiddenAliases": [],
4374
- "id": "admin:limits:set",
4862
+ "id": "admin:webhook:deliveries",
4375
4863
  "pluginAlias": "@linkedapi/linkedin-cli",
4376
4864
  "pluginName": "@linkedapi/linkedin-cli",
4377
4865
  "pluginType": "core",
@@ -4382,22 +4870,16 @@
4382
4870
  "dist",
4383
4871
  "commands",
4384
4872
  "admin",
4385
- "limits",
4386
- "set.js"
4873
+ "webhook",
4874
+ "deliveries.js"
4387
4875
  ]
4388
4876
  },
4389
- "admin:limits:usage": {
4877
+ "admin:webhook:event-types": {
4390
4878
  "aliases": [],
4391
- "args": {
4392
- "accountId": {
4393
- "description": "Account UUID",
4394
- "name": "accountId",
4395
- "required": true
4396
- }
4397
- },
4398
- "description": "View current usage against limits",
4879
+ "args": {},
4880
+ "description": "List selectable webhook event types (webhook.test always delivers)",
4399
4881
  "examples": [
4400
- "<%= config.bin %> admin limits usage f9b4346a-..."
4882
+ "<%= config.bin %> admin webhook event-types"
4401
4883
  ],
4402
4884
  "flags": {
4403
4885
  "json": {
@@ -4429,7 +4911,7 @@
4429
4911
  },
4430
4912
  "hasDynamicHelp": false,
4431
4913
  "hiddenAliases": [],
4432
- "id": "admin:limits:usage",
4914
+ "id": "admin:webhook:event-types",
4433
4915
  "pluginAlias": "@linkedapi/linkedin-cli",
4434
4916
  "pluginName": "@linkedapi/linkedin-cli",
4435
4917
  "pluginType": "core",
@@ -4440,16 +4922,16 @@
4440
4922
  "dist",
4441
4923
  "commands",
4442
4924
  "admin",
4443
- "limits",
4444
- "usage.js"
4925
+ "webhook",
4926
+ "event-types.js"
4445
4927
  ]
4446
4928
  },
4447
- "admin:subscription:seats": {
4929
+ "admin:webhook:get": {
4448
4930
  "aliases": [],
4449
4931
  "args": {},
4450
- "description": "View current subscription seats",
4932
+ "description": "List the active webhook subscription for this client",
4451
4933
  "examples": [
4452
- "<%= config.bin %> admin subscription seats"
4934
+ "<%= config.bin %> admin webhook get"
4453
4935
  ],
4454
4936
  "flags": {
4455
4937
  "json": {
@@ -4481,7 +4963,7 @@
4481
4963
  },
4482
4964
  "hasDynamicHelp": false,
4483
4965
  "hiddenAliases": [],
4484
- "id": "admin:subscription:seats",
4966
+ "id": "admin:webhook:get",
4485
4967
  "pluginAlias": "@linkedapi/linkedin-cli",
4486
4968
  "pluginName": "@linkedapi/linkedin-cli",
4487
4969
  "pluginType": "core",
@@ -4492,16 +4974,22 @@
4492
4974
  "dist",
4493
4975
  "commands",
4494
4976
  "admin",
4495
- "subscription",
4496
- "seats.js"
4977
+ "webhook",
4978
+ "get.js"
4497
4979
  ]
4498
4980
  },
4499
- "admin:subscription:set-seats": {
4981
+ "admin:webhook:replay": {
4500
4982
  "aliases": [],
4501
- "args": {},
4502
- "description": "Set subscription seats (updates existing or returns checkout link)",
4983
+ "args": {
4984
+ "deliveryId": {
4985
+ "description": "Webhook delivery id (from `webhook deliveries`)",
4986
+ "name": "deliveryId",
4987
+ "required": true
4988
+ }
4989
+ },
4990
+ "description": "Re-arm an already-settled delivery for redelivery (reuses the same event id)",
4503
4991
  "examples": [
4504
- "<%= config.bin %> admin subscription set-seats --quantity 5 --type plus --period year"
4992
+ "<%= config.bin %> admin webhook replay whd-123"
4505
4993
  ],
4506
4994
  "flags": {
4507
4995
  "json": {
@@ -4529,43 +5017,11 @@
4529
5017
  "name": "no-color",
4530
5018
  "allowNo": false,
4531
5019
  "type": "boolean"
4532
- },
4533
- "quantity": {
4534
- "description": "Number of seats (1-1000)",
4535
- "name": "quantity",
4536
- "required": true,
4537
- "hasDynamicHelp": false,
4538
- "multiple": false,
4539
- "type": "option"
4540
- },
4541
- "type": {
4542
- "description": "Seat type",
4543
- "name": "type",
4544
- "required": true,
4545
- "hasDynamicHelp": false,
4546
- "multiple": false,
4547
- "options": [
4548
- "core",
4549
- "plus"
4550
- ],
4551
- "type": "option"
4552
- },
4553
- "period": {
4554
- "description": "Billing period",
4555
- "name": "period",
4556
- "required": true,
4557
- "hasDynamicHelp": false,
4558
- "multiple": false,
4559
- "options": [
4560
- "month",
4561
- "year"
4562
- ],
4563
- "type": "option"
4564
5020
  }
4565
5021
  },
4566
5022
  "hasDynamicHelp": false,
4567
5023
  "hiddenAliases": [],
4568
- "id": "admin:subscription:set-seats",
5024
+ "id": "admin:webhook:replay",
4569
5025
  "pluginAlias": "@linkedapi/linkedin-cli",
4570
5026
  "pluginName": "@linkedapi/linkedin-cli",
4571
5027
  "pluginType": "core",
@@ -4576,16 +5032,23 @@
4576
5032
  "dist",
4577
5033
  "commands",
4578
5034
  "admin",
4579
- "subscription",
4580
- "set-seats.js"
5035
+ "webhook",
5036
+ "replay.js"
4581
5037
  ]
4582
5038
  },
4583
- "admin:subscription:status": {
5039
+ "admin:webhook:reveal-secret": {
4584
5040
  "aliases": [],
4585
- "args": {},
4586
- "description": "Check subscription status",
5041
+ "args": {
5042
+ "id": {
5043
+ "description": "Webhook subscription id",
5044
+ "name": "id",
5045
+ "required": true
5046
+ }
5047
+ },
5048
+ "description": "Retrieve the signing secret through an explicit secure output choice",
4587
5049
  "examples": [
4588
- "<%= config.bin %> admin subscription status"
5050
+ "<%= config.bin %> admin webhook reveal-secret whs-123 --secret-file webhook-secret.txt",
5051
+ "<%= config.bin %> admin webhook reveal-secret whs-123 --print-secret"
4589
5052
  ],
4590
5053
  "flags": {
4591
5054
  "json": {
@@ -4613,11 +5076,24 @@
4613
5076
  "name": "no-color",
4614
5077
  "allowNo": false,
4615
5078
  "type": "boolean"
5079
+ },
5080
+ "print-secret": {
5081
+ "description": "Print only the raw signing secret to stdout, overriding output formatting",
5082
+ "name": "print-secret",
5083
+ "allowNo": false,
5084
+ "type": "boolean"
5085
+ },
5086
+ "secret-file": {
5087
+ "description": "Create a new secret file with mode 0600; never print the secret",
5088
+ "name": "secret-file",
5089
+ "hasDynamicHelp": false,
5090
+ "multiple": false,
5091
+ "type": "option"
4616
5092
  }
4617
5093
  },
4618
5094
  "hasDynamicHelp": false,
4619
5095
  "hiddenAliases": [],
4620
- "id": "admin:subscription:status",
5096
+ "id": "admin:webhook:reveal-secret",
4621
5097
  "pluginAlias": "@linkedapi/linkedin-cli",
4622
5098
  "pluginName": "@linkedapi/linkedin-cli",
4623
5099
  "pluginType": "core",
@@ -4628,11 +5104,11 @@
4628
5104
  "dist",
4629
5105
  "commands",
4630
5106
  "admin",
4631
- "subscription",
4632
- "status.js"
5107
+ "webhook",
5108
+ "reveal-secret.js"
4633
5109
  ]
4634
5110
  },
4635
- "admin:webhook:delete": {
5111
+ "admin:webhook:rotate-secret": {
4636
5112
  "aliases": [],
4637
5113
  "args": {
4638
5114
  "id": {
@@ -4641,9 +5117,11 @@
4641
5117
  "required": true
4642
5118
  }
4643
5119
  },
4644
- "description": "Delete the webhook (soft-delete: delivery history is kept, pending deliveries are dropped)",
5120
+ "description": "Rotate the signing secret; the old secret stops working immediately",
4645
5121
  "examples": [
4646
- "<%= config.bin %> admin webhook delete whs-123"
5122
+ "<%= config.bin %> admin webhook rotate-secret whs-123",
5123
+ "<%= config.bin %> admin webhook rotate-secret whs-123 --secret-file webhook-secret.txt",
5124
+ "<%= config.bin %> admin webhook rotate-secret whs-123 --print-secret"
4647
5125
  ],
4648
5126
  "flags": {
4649
5127
  "json": {
@@ -4671,11 +5149,30 @@
4671
5149
  "name": "no-color",
4672
5150
  "allowNo": false,
4673
5151
  "type": "boolean"
5152
+ },
5153
+ "print-secret": {
5154
+ "description": "Print only the raw new signing secret to stdout, overriding output formatting",
5155
+ "exclusive": [
5156
+ "secret-file"
5157
+ ],
5158
+ "name": "print-secret",
5159
+ "allowNo": false,
5160
+ "type": "boolean"
5161
+ },
5162
+ "secret-file": {
5163
+ "description": "Create a new secret file with mode 0600; never print the secret",
5164
+ "exclusive": [
5165
+ "print-secret"
5166
+ ],
5167
+ "name": "secret-file",
5168
+ "hasDynamicHelp": false,
5169
+ "multiple": false,
5170
+ "type": "option"
4674
5171
  }
4675
5172
  },
4676
5173
  "hasDynamicHelp": false,
4677
5174
  "hiddenAliases": [],
4678
- "id": "admin:webhook:delete",
5175
+ "id": "admin:webhook:rotate-secret",
4679
5176
  "pluginAlias": "@linkedapi/linkedin-cli",
4680
5177
  "pluginName": "@linkedapi/linkedin-cli",
4681
5178
  "pluginType": "core",
@@ -4687,15 +5184,15 @@
4687
5184
  "commands",
4688
5185
  "admin",
4689
5186
  "webhook",
4690
- "delete.js"
5187
+ "rotate-secret.js"
4691
5188
  ]
4692
5189
  },
4693
- "admin:webhook:deliveries": {
5190
+ "admin:webhook:send-test": {
4694
5191
  "aliases": [],
4695
5192
  "args": {},
4696
- "description": "Show the most recent webhook deliveries (debug feed, newest first)",
5193
+ "description": "Emit a synthetic webhook.test event to verify the endpoint end-to-end",
4697
5194
  "examples": [
4698
- "<%= config.bin %> admin webhook deliveries"
5195
+ "<%= config.bin %> admin webhook send-test"
4699
5196
  ],
4700
5197
  "flags": {
4701
5198
  "json": {
@@ -4727,7 +5224,7 @@
4727
5224
  },
4728
5225
  "hasDynamicHelp": false,
4729
5226
  "hiddenAliases": [],
4730
- "id": "admin:webhook:deliveries",
5227
+ "id": "admin:webhook:send-test",
4731
5228
  "pluginAlias": "@linkedapi/linkedin-cli",
4732
5229
  "pluginName": "@linkedapi/linkedin-cli",
4733
5230
  "pluginType": "core",
@@ -4739,15 +5236,26 @@
4739
5236
  "commands",
4740
5237
  "admin",
4741
5238
  "webhook",
4742
- "deliveries.js"
5239
+ "send-test.js"
4743
5240
  ]
4744
5241
  },
4745
- "admin:webhook:get": {
5242
+ "admin:webhook:set-events": {
4746
5243
  "aliases": [],
4747
- "args": {},
4748
- "description": "List the active webhook subscription for this client",
5244
+ "args": {
5245
+ "id": {
5246
+ "description": "Webhook subscription id",
5247
+ "name": "id",
5248
+ "required": true
5249
+ },
5250
+ "events": {
5251
+ "description": "Comma-separated list of event selectors",
5252
+ "name": "events"
5253
+ }
5254
+ },
5255
+ "description": "Select webhook event types or namespace wildcards; tests always deliver",
4749
5256
  "examples": [
4750
- "<%= config.bin %> admin webhook get"
5257
+ "<%= config.bin %> admin webhook set-events whs-123 \"workflow.*,inbox.messageReceived\"",
5258
+ "<%= config.bin %> admin webhook set-events whs-123 --all"
4751
5259
  ],
4752
5260
  "flags": {
4753
5261
  "json": {
@@ -4775,11 +5283,17 @@
4775
5283
  "name": "no-color",
4776
5284
  "allowNo": false,
4777
5285
  "type": "boolean"
5286
+ },
5287
+ "all": {
5288
+ "description": "Deliver all current and future event types",
5289
+ "name": "all",
5290
+ "allowNo": false,
5291
+ "type": "boolean"
4778
5292
  }
4779
5293
  },
4780
5294
  "hasDynamicHelp": false,
4781
5295
  "hiddenAliases": [],
4782
- "id": "admin:webhook:get",
5296
+ "id": "admin:webhook:set-events",
4783
5297
  "pluginAlias": "@linkedapi/linkedin-cli",
4784
5298
  "pluginName": "@linkedapi/linkedin-cli",
4785
5299
  "pluginType": "core",
@@ -4791,21 +5305,27 @@
4791
5305
  "commands",
4792
5306
  "admin",
4793
5307
  "webhook",
4794
- "get.js"
5308
+ "set-events.js"
4795
5309
  ]
4796
5310
  },
4797
- "admin:webhook:replay": {
5311
+ "admin:webhook:set-header": {
4798
5312
  "aliases": [],
4799
5313
  "args": {
4800
- "deliveryId": {
4801
- "description": "Webhook delivery id (from `webhook deliveries`)",
4802
- "name": "deliveryId",
5314
+ "id": {
5315
+ "description": "Webhook subscription id",
5316
+ "name": "id",
5317
+ "required": true
5318
+ },
5319
+ "name": {
5320
+ "description": "Custom header name (case-insensitive)",
5321
+ "name": "name",
4803
5322
  "required": true
4804
5323
  }
4805
5324
  },
4806
- "description": "Re-arm an already-settled delivery for redelivery (reuses the same event id)",
5325
+ "description": "Set one custom webhook header without passing its value in argv",
4807
5326
  "examples": [
4808
- "<%= config.bin %> admin webhook replay whd-123"
5327
+ "cat header-token.txt | <%= config.bin %> admin webhook set-header whs-123 x-receiver-token --value-stdin",
5328
+ "<%= config.bin %> admin webhook set-header whs-123 x-receiver-token --value-env WEBHOOK_HEADER_TOKEN"
4809
5329
  ],
4810
5330
  "flags": {
4811
5331
  "json": {
@@ -4833,11 +5353,24 @@
4833
5353
  "name": "no-color",
4834
5354
  "allowNo": false,
4835
5355
  "type": "boolean"
5356
+ },
5357
+ "value-stdin": {
5358
+ "description": "Read the value from stdin; one trailing newline is removed",
5359
+ "name": "value-stdin",
5360
+ "allowNo": false,
5361
+ "type": "boolean"
5362
+ },
5363
+ "value-env": {
5364
+ "description": "Name of the environment variable containing the header value",
5365
+ "name": "value-env",
5366
+ "hasDynamicHelp": false,
5367
+ "multiple": false,
5368
+ "type": "option"
4836
5369
  }
4837
5370
  },
4838
5371
  "hasDynamicHelp": false,
4839
5372
  "hiddenAliases": [],
4840
- "id": "admin:webhook:replay",
5373
+ "id": "admin:webhook:set-header",
4841
5374
  "pluginAlias": "@linkedapi/linkedin-cli",
4842
5375
  "pluginName": "@linkedapi/linkedin-cli",
4843
5376
  "pluginType": "core",
@@ -4849,15 +5382,22 @@
4849
5382
  "commands",
4850
5383
  "admin",
4851
5384
  "webhook",
4852
- "replay.js"
5385
+ "set-header.js"
4853
5386
  ]
4854
5387
  },
4855
- "admin:webhook:send-test": {
5388
+ "admin:webhook:set-headers": {
4856
5389
  "aliases": [],
4857
- "args": {},
4858
- "description": "Emit a synthetic webhook.test event to verify the endpoint end-to-end",
5390
+ "args": {
5391
+ "id": {
5392
+ "description": "Webhook subscription id",
5393
+ "name": "id",
5394
+ "required": true
5395
+ }
5396
+ },
5397
+ "description": "Replace all custom webhook headers, or clear them",
4859
5398
  "examples": [
4860
- "<%= config.bin %> admin webhook send-test"
5399
+ "cat headers.json | <%= config.bin %> admin webhook set-headers whs-123 --stdin",
5400
+ "<%= config.bin %> admin webhook set-headers whs-123 --clear"
4861
5401
  ],
4862
5402
  "flags": {
4863
5403
  "json": {
@@ -4885,11 +5425,23 @@
4885
5425
  "name": "no-color",
4886
5426
  "allowNo": false,
4887
5427
  "type": "boolean"
5428
+ },
5429
+ "stdin": {
5430
+ "description": "Read a JSON object of header names and values from stdin",
5431
+ "name": "stdin",
5432
+ "allowNo": false,
5433
+ "type": "boolean"
5434
+ },
5435
+ "clear": {
5436
+ "description": "Clear all custom headers",
5437
+ "name": "clear",
5438
+ "allowNo": false,
5439
+ "type": "boolean"
4888
5440
  }
4889
5441
  },
4890
5442
  "hasDynamicHelp": false,
4891
5443
  "hiddenAliases": [],
4892
- "id": "admin:webhook:send-test",
5444
+ "id": "admin:webhook:set-headers",
4893
5445
  "pluginAlias": "@linkedapi/linkedin-cli",
4894
5446
  "pluginName": "@linkedapi/linkedin-cli",
4895
5447
  "pluginType": "core",
@@ -4901,7 +5453,7 @@
4901
5453
  "commands",
4902
5454
  "admin",
4903
5455
  "webhook",
4904
- "send-test.js"
5456
+ "set-headers.js"
4905
5457
  ]
4906
5458
  },
4907
5459
  "admin:webhook:set-payload-mode": {
@@ -4971,6 +5523,77 @@
4971
5523
  "set-payload-mode.js"
4972
5524
  ]
4973
5525
  },
5526
+ "admin:webhook:set-signing": {
5527
+ "aliases": [],
5528
+ "args": {
5529
+ "id": {
5530
+ "description": "Webhook subscription id",
5531
+ "name": "id",
5532
+ "required": true
5533
+ }
5534
+ },
5535
+ "description": "Enable or disable webhook signing; the returned secret is redacted",
5536
+ "examples": [
5537
+ "<%= config.bin %> admin webhook set-signing whs-123 --on",
5538
+ "<%= config.bin %> admin webhook set-signing whs-123 --off"
5539
+ ],
5540
+ "flags": {
5541
+ "json": {
5542
+ "description": "Output as JSON",
5543
+ "name": "json",
5544
+ "allowNo": false,
5545
+ "type": "boolean"
5546
+ },
5547
+ "fields": {
5548
+ "description": "Comma-separated list of fields to include in output",
5549
+ "name": "fields",
5550
+ "hasDynamicHelp": false,
5551
+ "multiple": false,
5552
+ "type": "option"
5553
+ },
5554
+ "quiet": {
5555
+ "char": "q",
5556
+ "description": "Suppress progress output on stderr",
5557
+ "name": "quiet",
5558
+ "allowNo": false,
5559
+ "type": "boolean"
5560
+ },
5561
+ "no-color": {
5562
+ "description": "Disable colored output",
5563
+ "name": "no-color",
5564
+ "allowNo": false,
5565
+ "type": "boolean"
5566
+ },
5567
+ "on": {
5568
+ "description": "Enable signing",
5569
+ "name": "on",
5570
+ "allowNo": false,
5571
+ "type": "boolean"
5572
+ },
5573
+ "off": {
5574
+ "description": "Disable signing",
5575
+ "name": "off",
5576
+ "allowNo": false,
5577
+ "type": "boolean"
5578
+ }
5579
+ },
5580
+ "hasDynamicHelp": false,
5581
+ "hiddenAliases": [],
5582
+ "id": "admin:webhook:set-signing",
5583
+ "pluginAlias": "@linkedapi/linkedin-cli",
5584
+ "pluginName": "@linkedapi/linkedin-cli",
5585
+ "pluginType": "core",
5586
+ "strict": true,
5587
+ "enableJsonFlag": false,
5588
+ "isESM": false,
5589
+ "relativePath": [
5590
+ "dist",
5591
+ "commands",
5592
+ "admin",
5593
+ "webhook",
5594
+ "set-signing.js"
5595
+ ]
5596
+ },
4974
5597
  "admin:webhook:set": {
4975
5598
  "aliases": [],
4976
5599
  "args": {
@@ -4983,7 +5606,9 @@
4983
5606
  "description": "Register the outbound webhook that receives event deliveries (max one active per client)",
4984
5607
  "examples": [
4985
5608
  "<%= config.bin %> admin webhook set https://example.com/hooks/linkedapi",
4986
- "<%= config.bin %> admin webhook set https://example.com/hooks --payload-mode thin"
5609
+ "<%= config.bin %> admin webhook set https://example.com/hooks --payload-mode thin",
5610
+ "<%= config.bin %> admin webhook set https://example.com/hooks --signing --events \"workflow.*,inbox.messageReceived\"",
5611
+ "cat headers.json | <%= config.bin %> admin webhook set https://example.com/hooks --headers-stdin"
4987
5612
  ],
4988
5613
  "flags": {
4989
5614
  "json": {
@@ -5023,6 +5648,25 @@
5023
5648
  "thin"
5024
5649
  ],
5025
5650
  "type": "option"
5651
+ },
5652
+ "signing": {
5653
+ "description": "Enable webhook signing; the returned secret is redacted",
5654
+ "name": "signing",
5655
+ "allowNo": false,
5656
+ "type": "boolean"
5657
+ },
5658
+ "events": {
5659
+ "description": "Comma-separated event types or namespace wildcards; omitted selects all events",
5660
+ "name": "events",
5661
+ "hasDynamicHelp": false,
5662
+ "multiple": false,
5663
+ "type": "option"
5664
+ },
5665
+ "headers-stdin": {
5666
+ "description": "Read a JSON object of custom header names and values from stdin",
5667
+ "name": "headers-stdin",
5668
+ "allowNo": false,
5669
+ "type": "boolean"
5026
5670
  }
5027
5671
  },
5028
5672
  "hasDynamicHelp": false,
@@ -5737,5 +6381,5 @@
5737
6381
  ]
5738
6382
  }
5739
6383
  },
5740
- "version": "1.2.18"
6384
+ "version": "1.2.20"
5741
6385
  }