@linkedapi/linkedin-cli 1.0.16 → 1.1.0

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 (38) hide show
  1. package/README.md +1 -4
  2. package/dist/commands/admin/webhook/delete.d.ts +16 -0
  3. package/dist/commands/admin/webhook/delete.d.ts.map +1 -0
  4. package/dist/commands/admin/webhook/delete.js +35 -0
  5. package/dist/commands/admin/webhook/delete.js.map +1 -0
  6. package/dist/commands/admin/{subscription/cancel.d.ts → webhook/deliveries.d.ts} +2 -2
  7. package/dist/commands/admin/webhook/deliveries.d.ts.map +1 -0
  8. package/dist/commands/admin/{subscription/pricing.js → webhook/deliveries.js} +8 -8
  9. package/dist/commands/admin/webhook/deliveries.js.map +1 -0
  10. package/dist/commands/admin/{subscription/pricing.d.ts → webhook/get.d.ts} +2 -2
  11. package/dist/commands/admin/webhook/get.d.ts.map +1 -0
  12. package/dist/commands/admin/{subscription/cancel.js → webhook/get.js} +8 -8
  13. package/dist/commands/admin/webhook/get.js.map +1 -0
  14. package/dist/commands/admin/webhook/replay.d.ts +16 -0
  15. package/dist/commands/admin/webhook/replay.d.ts.map +1 -0
  16. package/dist/commands/admin/webhook/replay.js +35 -0
  17. package/dist/commands/admin/webhook/replay.js.map +1 -0
  18. package/dist/commands/admin/{subscription/billing-link.d.ts → webhook/send-test.d.ts} +2 -2
  19. package/dist/commands/admin/webhook/send-test.d.ts.map +1 -0
  20. package/dist/commands/admin/webhook/send-test.js +28 -0
  21. package/dist/commands/admin/webhook/send-test.js.map +1 -0
  22. package/dist/commands/admin/webhook/set-payload-mode.d.ts +17 -0
  23. package/dist/commands/admin/webhook/set-payload-mode.d.ts.map +1 -0
  24. package/dist/commands/admin/webhook/set-payload-mode.js +43 -0
  25. package/dist/commands/admin/webhook/set-payload-mode.js.map +1 -0
  26. package/dist/commands/admin/webhook/set.d.ts +17 -0
  27. package/dist/commands/admin/webhook/set.d.ts.map +1 -0
  28. package/dist/commands/admin/webhook/set.js +46 -0
  29. package/dist/commands/admin/webhook/set.js.map +1 -0
  30. package/oclif.manifest.json +706 -452
  31. package/package.json +6 -3
  32. package/dist/commands/admin/subscription/billing-link.d.ts.map +0 -1
  33. package/dist/commands/admin/subscription/billing-link.js +0 -28
  34. package/dist/commands/admin/subscription/billing-link.js.map +0 -1
  35. package/dist/commands/admin/subscription/cancel.d.ts.map +0 -1
  36. package/dist/commands/admin/subscription/cancel.js.map +0 -1
  37. package/dist/commands/admin/subscription/pricing.d.ts.map +0 -1
  38. package/dist/commands/admin/subscription/pricing.js.map +0 -1
@@ -209,6 +209,253 @@
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
+ },
212
459
  "connection:list": {
213
460
  "aliases": [],
214
461
  "args": {},
@@ -903,259 +1150,12 @@
903
1150
  "search.js"
904
1151
  ]
905
1152
  },
906
- "company:fetch": {
1153
+ "message:get": {
907
1154
  "aliases": [],
908
1155
  "args": {
909
- "url": {
910
- "description": "LinkedIn company URL",
911
- "name": "url",
912
- "required": true
913
- }
914
- },
915
- "description": "Fetch a LinkedIn company profile",
916
- "examples": [
917
- "<%= config.bin %> company fetch https://www.linkedin.com/company/microsoft",
918
- "<%= config.bin %> company fetch https://www.linkedin.com/company/google --employees --dms --json"
919
- ],
920
- "flags": {
921
- "json": {
922
- "description": "Output as JSON",
923
- "name": "json",
924
- "allowNo": false,
925
- "type": "boolean"
926
- },
927
- "fields": {
928
- "description": "Comma-separated list of fields to include in output",
929
- "name": "fields",
930
- "hasDynamicHelp": false,
931
- "multiple": false,
932
- "type": "option"
933
- },
934
- "quiet": {
935
- "char": "q",
936
- "description": "Suppress progress output on stderr",
937
- "name": "quiet",
938
- "allowNo": false,
939
- "type": "boolean"
940
- },
941
- "no-color": {
942
- "description": "Disable colored output",
943
- "name": "no-color",
944
- "allowNo": false,
945
- "type": "boolean"
946
- },
947
- "account": {
948
- "description": "Account name to use (when multiple accounts are configured)",
949
- "name": "account",
950
- "hasDynamicHelp": false,
951
- "multiple": false,
952
- "type": "option"
953
- },
954
- "employees": {
955
- "description": "Include employee data",
956
- "name": "employees",
957
- "allowNo": false,
958
- "type": "boolean"
959
- },
960
- "dms": {
961
- "description": "Include decision makers",
962
- "name": "dms",
963
- "allowNo": false,
964
- "type": "boolean"
965
- },
966
- "posts": {
967
- "description": "Include company posts",
968
- "name": "posts",
969
- "allowNo": false,
970
- "type": "boolean"
971
- },
972
- "employees-limit": {
973
- "description": "Max employees to retrieve",
974
- "name": "employees-limit",
975
- "hasDynamicHelp": false,
976
- "multiple": false,
977
- "type": "option"
978
- },
979
- "employees-first-name": {
980
- "description": "Filter employees by first name",
981
- "name": "employees-first-name",
982
- "hasDynamicHelp": false,
983
- "multiple": false,
984
- "type": "option"
985
- },
986
- "employees-last-name": {
987
- "description": "Filter employees by last name",
988
- "name": "employees-last-name",
989
- "hasDynamicHelp": false,
990
- "multiple": false,
991
- "type": "option"
992
- },
993
- "employees-position": {
994
- "description": "Filter employees by position",
995
- "name": "employees-position",
996
- "hasDynamicHelp": false,
997
- "multiple": false,
998
- "type": "option"
999
- },
1000
- "employees-locations": {
1001
- "description": "Filter employees by locations (comma-separated)",
1002
- "name": "employees-locations",
1003
- "hasDynamicHelp": false,
1004
- "multiple": false,
1005
- "type": "option"
1006
- },
1007
- "employees-industries": {
1008
- "description": "Filter employees by industries (comma-separated)",
1009
- "name": "employees-industries",
1010
- "hasDynamicHelp": false,
1011
- "multiple": false,
1012
- "type": "option"
1013
- },
1014
- "employees-schools": {
1015
- "description": "Filter employees by schools (comma-separated)",
1016
- "name": "employees-schools",
1017
- "hasDynamicHelp": false,
1018
- "multiple": false,
1019
- "type": "option"
1020
- },
1021
- "dms-limit": {
1022
- "description": "Max decision makers to retrieve",
1023
- "name": "dms-limit",
1024
- "hasDynamicHelp": false,
1025
- "multiple": false,
1026
- "type": "option"
1027
- },
1028
- "posts-limit": {
1029
- "description": "Max posts to retrieve",
1030
- "name": "posts-limit",
1031
- "hasDynamicHelp": false,
1032
- "multiple": false,
1033
- "type": "option"
1034
- },
1035
- "posts-since": {
1036
- "description": "Retrieve posts since ISO timestamp",
1037
- "name": "posts-since",
1038
- "hasDynamicHelp": false,
1039
- "multiple": false,
1040
- "type": "option"
1041
- }
1042
- },
1043
- "hasDynamicHelp": false,
1044
- "hiddenAliases": [],
1045
- "id": "company:fetch",
1046
- "pluginAlias": "@linkedapi/linkedin-cli",
1047
- "pluginName": "@linkedapi/linkedin-cli",
1048
- "pluginType": "core",
1049
- "strict": true,
1050
- "enableJsonFlag": false,
1051
- "isESM": false,
1052
- "relativePath": [
1053
- "dist",
1054
- "commands",
1055
- "company",
1056
- "fetch.js"
1057
- ]
1058
- },
1059
- "company:search": {
1060
- "aliases": [],
1061
- "args": {},
1062
- "description": "Search for companies on LinkedIn",
1063
- "examples": [
1064
- "<%= config.bin %> company search --term \"fintech\" --sizes \"11-50,51-200\"",
1065
- "<%= config.bin %> company search --industries \"Software Development\" --json"
1066
- ],
1067
- "flags": {
1068
- "json": {
1069
- "description": "Output as JSON",
1070
- "name": "json",
1071
- "allowNo": false,
1072
- "type": "boolean"
1073
- },
1074
- "fields": {
1075
- "description": "Comma-separated list of fields to include in output",
1076
- "name": "fields",
1077
- "hasDynamicHelp": false,
1078
- "multiple": false,
1079
- "type": "option"
1080
- },
1081
- "quiet": {
1082
- "char": "q",
1083
- "description": "Suppress progress output on stderr",
1084
- "name": "quiet",
1085
- "allowNo": false,
1086
- "type": "boolean"
1087
- },
1088
- "no-color": {
1089
- "description": "Disable colored output",
1090
- "name": "no-color",
1091
- "allowNo": false,
1092
- "type": "boolean"
1093
- },
1094
- "account": {
1095
- "description": "Account name to use (when multiple accounts are configured)",
1096
- "name": "account",
1097
- "hasDynamicHelp": false,
1098
- "multiple": false,
1099
- "type": "option"
1100
- },
1101
- "term": {
1102
- "description": "Search keyword or phrase",
1103
- "name": "term",
1104
- "hasDynamicHelp": false,
1105
- "multiple": false,
1106
- "type": "option"
1107
- },
1108
- "limit": {
1109
- "description": "Max results to return",
1110
- "name": "limit",
1111
- "hasDynamicHelp": false,
1112
- "multiple": false,
1113
- "type": "option"
1114
- },
1115
- "sizes": {
1116
- "description": "Filter by company sizes (comma-separated, e.g. \"1-10,11-50,51-200\")",
1117
- "name": "sizes",
1118
- "hasDynamicHelp": false,
1119
- "multiple": false,
1120
- "type": "option"
1121
- },
1122
- "locations": {
1123
- "description": "Filter by locations (comma-separated)",
1124
- "name": "locations",
1125
- "hasDynamicHelp": false,
1126
- "multiple": false,
1127
- "type": "option"
1128
- },
1129
- "industries": {
1130
- "description": "Filter by industries (comma-separated)",
1131
- "name": "industries",
1132
- "hasDynamicHelp": false,
1133
- "multiple": false,
1134
- "type": "option"
1135
- }
1136
- },
1137
- "hasDynamicHelp": false,
1138
- "hiddenAliases": [],
1139
- "id": "company:search",
1140
- "pluginAlias": "@linkedapi/linkedin-cli",
1141
- "pluginName": "@linkedapi/linkedin-cli",
1142
- "pluginType": "core",
1143
- "strict": true,
1144
- "enableJsonFlag": false,
1145
- "isESM": false,
1146
- "relativePath": [
1147
- "dist",
1148
- "commands",
1149
- "company",
1150
- "search.js"
1151
- ]
1152
- },
1153
- "message:get": {
1154
- "aliases": [],
1155
- "args": {
1156
- "person-url": {
1157
- "description": "LinkedIn profile URL",
1158
- "name": "person-url",
1156
+ "person-url": {
1157
+ "description": "LinkedIn profile URL",
1158
+ "name": "person-url",
1159
1159
  "required": true
1160
1160
  }
1161
1161
  },
@@ -2247,16 +2247,22 @@
2247
2247
  "status.js"
2248
2248
  ]
2249
2249
  },
2250
- "admin:limits:defaults": {
2250
+ "admin:accounts:cancel-session": {
2251
2251
  "aliases": [],
2252
- "args": {},
2253
- "description": "View system default limits",
2254
- "examples": [
2255
- "<%= config.bin %> admin limits defaults"
2256
- ],
2257
- "flags": {
2258
- "json": {
2259
- "description": "Output as JSON",
2252
+ "args": {
2253
+ "sessionId": {
2254
+ "description": "Session UUID",
2255
+ "name": "sessionId",
2256
+ "required": true
2257
+ }
2258
+ },
2259
+ "description": "Cancel a pending connection session",
2260
+ "examples": [
2261
+ "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
2262
+ ],
2263
+ "flags": {
2264
+ "json": {
2265
+ "description": "Output as JSON",
2260
2266
  "name": "json",
2261
2267
  "allowNo": false,
2262
2268
  "type": "boolean"
@@ -2284,7 +2290,7 @@
2284
2290
  },
2285
2291
  "hasDynamicHelp": false,
2286
2292
  "hiddenAliases": [],
2287
- "id": "admin:limits:defaults",
2293
+ "id": "admin:accounts:cancel-session",
2288
2294
  "pluginAlias": "@linkedapi/linkedin-cli",
2289
2295
  "pluginName": "@linkedapi/linkedin-cli",
2290
2296
  "pluginType": "core",
@@ -2295,11 +2301,63 @@
2295
2301
  "dist",
2296
2302
  "commands",
2297
2303
  "admin",
2298
- "limits",
2299
- "defaults.js"
2304
+ "accounts",
2305
+ "cancel-session.js"
2300
2306
  ]
2301
2307
  },
2302
- "admin:limits:delete": {
2308
+ "admin:accounts:connect": {
2309
+ "aliases": [],
2310
+ "args": {},
2311
+ "description": "Create a connection session to connect a new LinkedIn account",
2312
+ "examples": [
2313
+ "<%= config.bin %> admin accounts connect"
2314
+ ],
2315
+ "flags": {
2316
+ "json": {
2317
+ "description": "Output as JSON",
2318
+ "name": "json",
2319
+ "allowNo": false,
2320
+ "type": "boolean"
2321
+ },
2322
+ "fields": {
2323
+ "description": "Comma-separated list of fields to include in output",
2324
+ "name": "fields",
2325
+ "hasDynamicHelp": false,
2326
+ "multiple": false,
2327
+ "type": "option"
2328
+ },
2329
+ "quiet": {
2330
+ "char": "q",
2331
+ "description": "Suppress progress output on stderr",
2332
+ "name": "quiet",
2333
+ "allowNo": false,
2334
+ "type": "boolean"
2335
+ },
2336
+ "no-color": {
2337
+ "description": "Disable colored output",
2338
+ "name": "no-color",
2339
+ "allowNo": false,
2340
+ "type": "boolean"
2341
+ }
2342
+ },
2343
+ "hasDynamicHelp": false,
2344
+ "hiddenAliases": [],
2345
+ "id": "admin:accounts:connect",
2346
+ "pluginAlias": "@linkedapi/linkedin-cli",
2347
+ "pluginName": "@linkedapi/linkedin-cli",
2348
+ "pluginType": "core",
2349
+ "strict": true,
2350
+ "enableJsonFlag": false,
2351
+ "isESM": false,
2352
+ "relativePath": [
2353
+ "dist",
2354
+ "commands",
2355
+ "admin",
2356
+ "accounts",
2357
+ "connect.js"
2358
+ ]
2359
+ },
2360
+ "admin:accounts:disconnect": {
2303
2361
  "aliases": [],
2304
2362
  "args": {
2305
2363
  "accountId": {
@@ -2308,9 +2366,9 @@
2308
2366
  "required": true
2309
2367
  }
2310
2368
  },
2311
- "description": "Delete specific limits (falls back to defaults)",
2369
+ "description": "Disconnect a LinkedIn account (irreversible)",
2312
2370
  "examples": [
2313
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2371
+ "<%= config.bin %> admin accounts disconnect f9b4346a-..."
2314
2372
  ],
2315
2373
  "flags": {
2316
2374
  "json": {
@@ -2338,32 +2396,121 @@
2338
2396
  "name": "no-color",
2339
2397
  "allowNo": false,
2340
2398
  "type": "boolean"
2399
+ }
2400
+ },
2401
+ "hasDynamicHelp": false,
2402
+ "hiddenAliases": [],
2403
+ "id": "admin:accounts:disconnect",
2404
+ "pluginAlias": "@linkedapi/linkedin-cli",
2405
+ "pluginName": "@linkedapi/linkedin-cli",
2406
+ "pluginType": "core",
2407
+ "strict": true,
2408
+ "enableJsonFlag": false,
2409
+ "isESM": false,
2410
+ "relativePath": [
2411
+ "dist",
2412
+ "commands",
2413
+ "admin",
2414
+ "accounts",
2415
+ "disconnect.js"
2416
+ ]
2417
+ },
2418
+ "admin:accounts:list": {
2419
+ "aliases": [],
2420
+ "args": {},
2421
+ "description": "List all connected accounts and pending sessions",
2422
+ "examples": [
2423
+ "<%= config.bin %> admin accounts list"
2424
+ ],
2425
+ "flags": {
2426
+ "json": {
2427
+ "description": "Output as JSON",
2428
+ "name": "json",
2429
+ "allowNo": false,
2430
+ "type": "boolean"
2341
2431
  },
2342
- "category": {
2343
- "description": "Limit category",
2344
- "name": "category",
2345
- "required": true,
2432
+ "fields": {
2433
+ "description": "Comma-separated list of fields to include in output",
2434
+ "name": "fields",
2346
2435
  "hasDynamicHelp": false,
2347
2436
  "multiple": false,
2348
2437
  "type": "option"
2349
2438
  },
2350
- "period": {
2351
- "description": "Limit period",
2352
- "name": "period",
2353
- "required": true,
2439
+ "quiet": {
2440
+ "char": "q",
2441
+ "description": "Suppress progress output on stderr",
2442
+ "name": "quiet",
2443
+ "allowNo": false,
2444
+ "type": "boolean"
2445
+ },
2446
+ "no-color": {
2447
+ "description": "Disable colored output",
2448
+ "name": "no-color",
2449
+ "allowNo": false,
2450
+ "type": "boolean"
2451
+ }
2452
+ },
2453
+ "hasDynamicHelp": false,
2454
+ "hiddenAliases": [],
2455
+ "id": "admin:accounts:list",
2456
+ "pluginAlias": "@linkedapi/linkedin-cli",
2457
+ "pluginName": "@linkedapi/linkedin-cli",
2458
+ "pluginType": "core",
2459
+ "strict": true,
2460
+ "enableJsonFlag": false,
2461
+ "isESM": false,
2462
+ "relativePath": [
2463
+ "dist",
2464
+ "commands",
2465
+ "admin",
2466
+ "accounts",
2467
+ "list.js"
2468
+ ]
2469
+ },
2470
+ "admin:accounts:reconnect": {
2471
+ "aliases": [],
2472
+ "args": {
2473
+ "accountId": {
2474
+ "description": "Account UUID",
2475
+ "name": "accountId",
2476
+ "required": true
2477
+ }
2478
+ },
2479
+ "description": "Create a reconnection session for an account",
2480
+ "examples": [
2481
+ "<%= config.bin %> admin accounts reconnect f9b4346a-..."
2482
+ ],
2483
+ "flags": {
2484
+ "json": {
2485
+ "description": "Output as JSON",
2486
+ "name": "json",
2487
+ "allowNo": false,
2488
+ "type": "boolean"
2489
+ },
2490
+ "fields": {
2491
+ "description": "Comma-separated list of fields to include in output",
2492
+ "name": "fields",
2354
2493
  "hasDynamicHelp": false,
2355
2494
  "multiple": false,
2356
- "options": [
2357
- "daily",
2358
- "weekly",
2359
- "monthly"
2360
- ],
2361
2495
  "type": "option"
2496
+ },
2497
+ "quiet": {
2498
+ "char": "q",
2499
+ "description": "Suppress progress output on stderr",
2500
+ "name": "quiet",
2501
+ "allowNo": false,
2502
+ "type": "boolean"
2503
+ },
2504
+ "no-color": {
2505
+ "description": "Disable colored output",
2506
+ "name": "no-color",
2507
+ "allowNo": false,
2508
+ "type": "boolean"
2362
2509
  }
2363
2510
  },
2364
2511
  "hasDynamicHelp": false,
2365
2512
  "hiddenAliases": [],
2366
- "id": "admin:limits:delete",
2513
+ "id": "admin:accounts:reconnect",
2367
2514
  "pluginAlias": "@linkedapi/linkedin-cli",
2368
2515
  "pluginName": "@linkedapi/linkedin-cli",
2369
2516
  "pluginType": "core",
@@ -2374,11 +2521,11 @@
2374
2521
  "dist",
2375
2522
  "commands",
2376
2523
  "admin",
2377
- "limits",
2378
- "delete.js"
2524
+ "accounts",
2525
+ "reconnect.js"
2379
2526
  ]
2380
2527
  },
2381
- "admin:limits:get": {
2528
+ "admin:accounts:regenerate-token": {
2382
2529
  "aliases": [],
2383
2530
  "args": {
2384
2531
  "accountId": {
@@ -2387,9 +2534,9 @@
2387
2534
  "required": true
2388
2535
  }
2389
2536
  },
2390
- "description": "View current limits for an account",
2537
+ "description": "Regenerate identification token for an account",
2391
2538
  "examples": [
2392
- "<%= config.bin %> admin limits get f9b4346a-..."
2539
+ "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
2393
2540
  ],
2394
2541
  "flags": {
2395
2542
  "json": {
@@ -2421,7 +2568,7 @@
2421
2568
  },
2422
2569
  "hasDynamicHelp": false,
2423
2570
  "hiddenAliases": [],
2424
- "id": "admin:limits:get",
2571
+ "id": "admin:accounts:regenerate-token",
2425
2572
  "pluginAlias": "@linkedapi/linkedin-cli",
2426
2573
  "pluginName": "@linkedapi/linkedin-cli",
2427
2574
  "pluginType": "core",
@@ -2432,11 +2579,11 @@
2432
2579
  "dist",
2433
2580
  "commands",
2434
2581
  "admin",
2435
- "limits",
2436
- "get.js"
2582
+ "accounts",
2583
+ "regenerate-token.js"
2437
2584
  ]
2438
2585
  },
2439
- "admin:limits:reset": {
2586
+ "admin:accounts:reparse": {
2440
2587
  "aliases": [],
2441
2588
  "args": {
2442
2589
  "accountId": {
@@ -2445,9 +2592,119 @@
2445
2592
  "required": true
2446
2593
  }
2447
2594
  },
2448
- "description": "Reset all limits to defaults",
2595
+ "description": "Refresh stored profile info for an account",
2596
+ "examples": [
2597
+ "<%= config.bin %> admin accounts reparse f9b4346a-..."
2598
+ ],
2599
+ "flags": {
2600
+ "json": {
2601
+ "description": "Output as JSON",
2602
+ "name": "json",
2603
+ "allowNo": false,
2604
+ "type": "boolean"
2605
+ },
2606
+ "fields": {
2607
+ "description": "Comma-separated list of fields to include in output",
2608
+ "name": "fields",
2609
+ "hasDynamicHelp": false,
2610
+ "multiple": false,
2611
+ "type": "option"
2612
+ },
2613
+ "quiet": {
2614
+ "char": "q",
2615
+ "description": "Suppress progress output on stderr",
2616
+ "name": "quiet",
2617
+ "allowNo": false,
2618
+ "type": "boolean"
2619
+ },
2620
+ "no-color": {
2621
+ "description": "Disable colored output",
2622
+ "name": "no-color",
2623
+ "allowNo": false,
2624
+ "type": "boolean"
2625
+ }
2626
+ },
2627
+ "hasDynamicHelp": false,
2628
+ "hiddenAliases": [],
2629
+ "id": "admin:accounts:reparse",
2630
+ "pluginAlias": "@linkedapi/linkedin-cli",
2631
+ "pluginName": "@linkedapi/linkedin-cli",
2632
+ "pluginType": "core",
2633
+ "strict": true,
2634
+ "enableJsonFlag": false,
2635
+ "isESM": false,
2636
+ "relativePath": [
2637
+ "dist",
2638
+ "commands",
2639
+ "admin",
2640
+ "accounts",
2641
+ "reparse.js"
2642
+ ]
2643
+ },
2644
+ "admin:accounts:session": {
2645
+ "aliases": [],
2646
+ "args": {
2647
+ "sessionId": {
2648
+ "description": "Session UUID",
2649
+ "name": "sessionId",
2650
+ "required": true
2651
+ }
2652
+ },
2653
+ "description": "Check connection session status",
2654
+ "examples": [
2655
+ "<%= config.bin %> admin accounts session 990eef7a-..."
2656
+ ],
2657
+ "flags": {
2658
+ "json": {
2659
+ "description": "Output as JSON",
2660
+ "name": "json",
2661
+ "allowNo": false,
2662
+ "type": "boolean"
2663
+ },
2664
+ "fields": {
2665
+ "description": "Comma-separated list of fields to include in output",
2666
+ "name": "fields",
2667
+ "hasDynamicHelp": false,
2668
+ "multiple": false,
2669
+ "type": "option"
2670
+ },
2671
+ "quiet": {
2672
+ "char": "q",
2673
+ "description": "Suppress progress output on stderr",
2674
+ "name": "quiet",
2675
+ "allowNo": false,
2676
+ "type": "boolean"
2677
+ },
2678
+ "no-color": {
2679
+ "description": "Disable colored output",
2680
+ "name": "no-color",
2681
+ "allowNo": false,
2682
+ "type": "boolean"
2683
+ }
2684
+ },
2685
+ "hasDynamicHelp": false,
2686
+ "hiddenAliases": [],
2687
+ "id": "admin:accounts:session",
2688
+ "pluginAlias": "@linkedapi/linkedin-cli",
2689
+ "pluginName": "@linkedapi/linkedin-cli",
2690
+ "pluginType": "core",
2691
+ "strict": true,
2692
+ "enableJsonFlag": false,
2693
+ "isESM": false,
2694
+ "relativePath": [
2695
+ "dist",
2696
+ "commands",
2697
+ "admin",
2698
+ "accounts",
2699
+ "session.js"
2700
+ ]
2701
+ },
2702
+ "admin:limits:defaults": {
2703
+ "aliases": [],
2704
+ "args": {},
2705
+ "description": "View system default limits",
2449
2706
  "examples": [
2450
- "<%= config.bin %> admin limits reset f9b4346a-..."
2707
+ "<%= config.bin %> admin limits defaults"
2451
2708
  ],
2452
2709
  "flags": {
2453
2710
  "json": {
@@ -2479,7 +2736,7 @@
2479
2736
  },
2480
2737
  "hasDynamicHelp": false,
2481
2738
  "hiddenAliases": [],
2482
- "id": "admin:limits:reset",
2739
+ "id": "admin:limits:defaults",
2483
2740
  "pluginAlias": "@linkedapi/linkedin-cli",
2484
2741
  "pluginName": "@linkedapi/linkedin-cli",
2485
2742
  "pluginType": "core",
@@ -2491,10 +2748,10 @@
2491
2748
  "commands",
2492
2749
  "admin",
2493
2750
  "limits",
2494
- "reset.js"
2751
+ "defaults.js"
2495
2752
  ]
2496
2753
  },
2497
- "admin:limits:set": {
2754
+ "admin:limits:delete": {
2498
2755
  "aliases": [],
2499
2756
  "args": {
2500
2757
  "accountId": {
@@ -2503,9 +2760,9 @@
2503
2760
  "required": true
2504
2761
  }
2505
2762
  },
2506
- "description": "Set limits for an account",
2763
+ "description": "Delete specific limits (falls back to defaults)",
2507
2764
  "examples": [
2508
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2765
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2509
2766
  ],
2510
2767
  "flags": {
2511
2768
  "json": {
@@ -2554,19 +2811,11 @@
2554
2811
  "monthly"
2555
2812
  ],
2556
2813
  "type": "option"
2557
- },
2558
- "max": {
2559
- "description": "Maximum allowed actions (>= 0)",
2560
- "name": "max",
2561
- "required": true,
2562
- "hasDynamicHelp": false,
2563
- "multiple": false,
2564
- "type": "option"
2565
2814
  }
2566
2815
  },
2567
2816
  "hasDynamicHelp": false,
2568
2817
  "hiddenAliases": [],
2569
- "id": "admin:limits:set",
2818
+ "id": "admin:limits:delete",
2570
2819
  "pluginAlias": "@linkedapi/linkedin-cli",
2571
2820
  "pluginName": "@linkedapi/linkedin-cli",
2572
2821
  "pluginType": "core",
@@ -2578,10 +2827,10 @@
2578
2827
  "commands",
2579
2828
  "admin",
2580
2829
  "limits",
2581
- "set.js"
2830
+ "delete.js"
2582
2831
  ]
2583
2832
  },
2584
- "admin:limits:usage": {
2833
+ "admin:limits:get": {
2585
2834
  "aliases": [],
2586
2835
  "args": {
2587
2836
  "accountId": {
@@ -2590,9 +2839,9 @@
2590
2839
  "required": true
2591
2840
  }
2592
2841
  },
2593
- "description": "View current usage against limits",
2842
+ "description": "View current limits for an account",
2594
2843
  "examples": [
2595
- "<%= config.bin %> admin limits usage f9b4346a-..."
2844
+ "<%= config.bin %> admin limits get f9b4346a-..."
2596
2845
  ],
2597
2846
  "flags": {
2598
2847
  "json": {
@@ -2624,7 +2873,7 @@
2624
2873
  },
2625
2874
  "hasDynamicHelp": false,
2626
2875
  "hiddenAliases": [],
2627
- "id": "admin:limits:usage",
2876
+ "id": "admin:limits:get",
2628
2877
  "pluginAlias": "@linkedapi/linkedin-cli",
2629
2878
  "pluginName": "@linkedapi/linkedin-cli",
2630
2879
  "pluginType": "core",
@@ -2636,15 +2885,21 @@
2636
2885
  "commands",
2637
2886
  "admin",
2638
2887
  "limits",
2639
- "usage.js"
2888
+ "get.js"
2640
2889
  ]
2641
2890
  },
2642
- "admin:subscription:billing-link": {
2891
+ "admin:limits:reset": {
2643
2892
  "aliases": [],
2644
- "args": {},
2645
- "description": "Get billing portal link",
2893
+ "args": {
2894
+ "accountId": {
2895
+ "description": "Account UUID",
2896
+ "name": "accountId",
2897
+ "required": true
2898
+ }
2899
+ },
2900
+ "description": "Reset all limits to defaults",
2646
2901
  "examples": [
2647
- "<%= config.bin %> admin subscription billing-link"
2902
+ "<%= config.bin %> admin limits reset f9b4346a-..."
2648
2903
  ],
2649
2904
  "flags": {
2650
2905
  "json": {
@@ -2676,7 +2931,7 @@
2676
2931
  },
2677
2932
  "hasDynamicHelp": false,
2678
2933
  "hiddenAliases": [],
2679
- "id": "admin:subscription:billing-link",
2934
+ "id": "admin:limits:reset",
2680
2935
  "pluginAlias": "@linkedapi/linkedin-cli",
2681
2936
  "pluginName": "@linkedapi/linkedin-cli",
2682
2937
  "pluginType": "core",
@@ -2687,16 +2942,22 @@
2687
2942
  "dist",
2688
2943
  "commands",
2689
2944
  "admin",
2690
- "subscription",
2691
- "billing-link.js"
2945
+ "limits",
2946
+ "reset.js"
2692
2947
  ]
2693
2948
  },
2694
- "admin:subscription:cancel": {
2949
+ "admin:limits:set": {
2695
2950
  "aliases": [],
2696
- "args": {},
2697
- "description": "Cancel subscription at period end",
2951
+ "args": {
2952
+ "accountId": {
2953
+ "description": "Account UUID",
2954
+ "name": "accountId",
2955
+ "required": true
2956
+ }
2957
+ },
2958
+ "description": "Set limits for an account",
2698
2959
  "examples": [
2699
- "<%= config.bin %> admin subscription cancel"
2960
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2700
2961
  ],
2701
2962
  "flags": {
2702
2963
  "json": {
@@ -2724,11 +2985,40 @@
2724
2985
  "name": "no-color",
2725
2986
  "allowNo": false,
2726
2987
  "type": "boolean"
2988
+ },
2989
+ "category": {
2990
+ "description": "Limit category",
2991
+ "name": "category",
2992
+ "required": true,
2993
+ "hasDynamicHelp": false,
2994
+ "multiple": false,
2995
+ "type": "option"
2996
+ },
2997
+ "period": {
2998
+ "description": "Limit period",
2999
+ "name": "period",
3000
+ "required": true,
3001
+ "hasDynamicHelp": false,
3002
+ "multiple": false,
3003
+ "options": [
3004
+ "daily",
3005
+ "weekly",
3006
+ "monthly"
3007
+ ],
3008
+ "type": "option"
3009
+ },
3010
+ "max": {
3011
+ "description": "Maximum allowed actions (>= 0)",
3012
+ "name": "max",
3013
+ "required": true,
3014
+ "hasDynamicHelp": false,
3015
+ "multiple": false,
3016
+ "type": "option"
2727
3017
  }
2728
3018
  },
2729
3019
  "hasDynamicHelp": false,
2730
3020
  "hiddenAliases": [],
2731
- "id": "admin:subscription:cancel",
3021
+ "id": "admin:limits:set",
2732
3022
  "pluginAlias": "@linkedapi/linkedin-cli",
2733
3023
  "pluginName": "@linkedapi/linkedin-cli",
2734
3024
  "pluginType": "core",
@@ -2739,16 +3029,22 @@
2739
3029
  "dist",
2740
3030
  "commands",
2741
3031
  "admin",
2742
- "subscription",
2743
- "cancel.js"
3032
+ "limits",
3033
+ "set.js"
2744
3034
  ]
2745
3035
  },
2746
- "admin:subscription:pricing": {
3036
+ "admin:limits:usage": {
2747
3037
  "aliases": [],
2748
- "args": {},
2749
- "description": "View available pricing options",
3038
+ "args": {
3039
+ "accountId": {
3040
+ "description": "Account UUID",
3041
+ "name": "accountId",
3042
+ "required": true
3043
+ }
3044
+ },
3045
+ "description": "View current usage against limits",
2750
3046
  "examples": [
2751
- "<%= config.bin %> admin subscription pricing"
3047
+ "<%= config.bin %> admin limits usage f9b4346a-..."
2752
3048
  ],
2753
3049
  "flags": {
2754
3050
  "json": {
@@ -2780,7 +3076,7 @@
2780
3076
  },
2781
3077
  "hasDynamicHelp": false,
2782
3078
  "hiddenAliases": [],
2783
- "id": "admin:subscription:pricing",
3079
+ "id": "admin:limits:usage",
2784
3080
  "pluginAlias": "@linkedapi/linkedin-cli",
2785
3081
  "pluginName": "@linkedapi/linkedin-cli",
2786
3082
  "pluginType": "core",
@@ -2791,8 +3087,8 @@
2791
3087
  "dist",
2792
3088
  "commands",
2793
3089
  "admin",
2794
- "subscription",
2795
- "pricing.js"
3090
+ "limits",
3091
+ "usage.js"
2796
3092
  ]
2797
3093
  },
2798
3094
  "admin:subscription:seats": {
@@ -2983,18 +3279,18 @@
2983
3279
  "status.js"
2984
3280
  ]
2985
3281
  },
2986
- "admin:accounts:cancel-session": {
3282
+ "admin:webhook:delete": {
2987
3283
  "aliases": [],
2988
3284
  "args": {
2989
- "sessionId": {
2990
- "description": "Session UUID",
2991
- "name": "sessionId",
3285
+ "id": {
3286
+ "description": "Webhook subscription id",
3287
+ "name": "id",
2992
3288
  "required": true
2993
3289
  }
2994
3290
  },
2995
- "description": "Cancel a pending connection session",
3291
+ "description": "Delete the webhook (soft-delete: delivery history is kept, pending deliveries are dropped)",
2996
3292
  "examples": [
2997
- "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
3293
+ "<%= config.bin %> admin webhook delete whs-123"
2998
3294
  ],
2999
3295
  "flags": {
3000
3296
  "json": {
@@ -3026,7 +3322,7 @@
3026
3322
  },
3027
3323
  "hasDynamicHelp": false,
3028
3324
  "hiddenAliases": [],
3029
- "id": "admin:accounts:cancel-session",
3325
+ "id": "admin:webhook:delete",
3030
3326
  "pluginAlias": "@linkedapi/linkedin-cli",
3031
3327
  "pluginName": "@linkedapi/linkedin-cli",
3032
3328
  "pluginType": "core",
@@ -3037,74 +3333,16 @@
3037
3333
  "dist",
3038
3334
  "commands",
3039
3335
  "admin",
3040
- "accounts",
3041
- "cancel-session.js"
3336
+ "webhook",
3337
+ "delete.js"
3042
3338
  ]
3043
3339
  },
3044
- "admin:accounts:connect": {
3340
+ "admin:webhook:deliveries": {
3045
3341
  "aliases": [],
3046
3342
  "args": {},
3047
- "description": "Create a connection session to connect a new LinkedIn account",
3048
- "examples": [
3049
- "<%= config.bin %> admin accounts connect"
3050
- ],
3051
- "flags": {
3052
- "json": {
3053
- "description": "Output as JSON",
3054
- "name": "json",
3055
- "allowNo": false,
3056
- "type": "boolean"
3057
- },
3058
- "fields": {
3059
- "description": "Comma-separated list of fields to include in output",
3060
- "name": "fields",
3061
- "hasDynamicHelp": false,
3062
- "multiple": false,
3063
- "type": "option"
3064
- },
3065
- "quiet": {
3066
- "char": "q",
3067
- "description": "Suppress progress output on stderr",
3068
- "name": "quiet",
3069
- "allowNo": false,
3070
- "type": "boolean"
3071
- },
3072
- "no-color": {
3073
- "description": "Disable colored output",
3074
- "name": "no-color",
3075
- "allowNo": false,
3076
- "type": "boolean"
3077
- }
3078
- },
3079
- "hasDynamicHelp": false,
3080
- "hiddenAliases": [],
3081
- "id": "admin:accounts:connect",
3082
- "pluginAlias": "@linkedapi/linkedin-cli",
3083
- "pluginName": "@linkedapi/linkedin-cli",
3084
- "pluginType": "core",
3085
- "strict": true,
3086
- "enableJsonFlag": false,
3087
- "isESM": false,
3088
- "relativePath": [
3089
- "dist",
3090
- "commands",
3091
- "admin",
3092
- "accounts",
3093
- "connect.js"
3094
- ]
3095
- },
3096
- "admin:accounts:disconnect": {
3097
- "aliases": [],
3098
- "args": {
3099
- "accountId": {
3100
- "description": "Account UUID",
3101
- "name": "accountId",
3102
- "required": true
3103
- }
3104
- },
3105
- "description": "Disconnect a LinkedIn account (irreversible)",
3343
+ "description": "Show the most recent webhook deliveries (debug feed, newest first)",
3106
3344
  "examples": [
3107
- "<%= config.bin %> admin accounts disconnect f9b4346a-..."
3345
+ "<%= config.bin %> admin webhook deliveries"
3108
3346
  ],
3109
3347
  "flags": {
3110
3348
  "json": {
@@ -3136,7 +3374,7 @@
3136
3374
  },
3137
3375
  "hasDynamicHelp": false,
3138
3376
  "hiddenAliases": [],
3139
- "id": "admin:accounts:disconnect",
3377
+ "id": "admin:webhook:deliveries",
3140
3378
  "pluginAlias": "@linkedapi/linkedin-cli",
3141
3379
  "pluginName": "@linkedapi/linkedin-cli",
3142
3380
  "pluginType": "core",
@@ -3147,16 +3385,16 @@
3147
3385
  "dist",
3148
3386
  "commands",
3149
3387
  "admin",
3150
- "accounts",
3151
- "disconnect.js"
3388
+ "webhook",
3389
+ "deliveries.js"
3152
3390
  ]
3153
3391
  },
3154
- "admin:accounts:list": {
3392
+ "admin:webhook:get": {
3155
3393
  "aliases": [],
3156
3394
  "args": {},
3157
- "description": "List all connected accounts and pending sessions",
3395
+ "description": "List the active webhook subscription for this client",
3158
3396
  "examples": [
3159
- "<%= config.bin %> admin accounts list"
3397
+ "<%= config.bin %> admin webhook get"
3160
3398
  ],
3161
3399
  "flags": {
3162
3400
  "json": {
@@ -3188,7 +3426,7 @@
3188
3426
  },
3189
3427
  "hasDynamicHelp": false,
3190
3428
  "hiddenAliases": [],
3191
- "id": "admin:accounts:list",
3429
+ "id": "admin:webhook:get",
3192
3430
  "pluginAlias": "@linkedapi/linkedin-cli",
3193
3431
  "pluginName": "@linkedapi/linkedin-cli",
3194
3432
  "pluginType": "core",
@@ -3199,22 +3437,22 @@
3199
3437
  "dist",
3200
3438
  "commands",
3201
3439
  "admin",
3202
- "accounts",
3203
- "list.js"
3440
+ "webhook",
3441
+ "get.js"
3204
3442
  ]
3205
3443
  },
3206
- "admin:accounts:reconnect": {
3444
+ "admin:webhook:replay": {
3207
3445
  "aliases": [],
3208
3446
  "args": {
3209
- "accountId": {
3210
- "description": "Account UUID",
3211
- "name": "accountId",
3447
+ "deliveryId": {
3448
+ "description": "Webhook delivery id (from `webhook deliveries`)",
3449
+ "name": "deliveryId",
3212
3450
  "required": true
3213
3451
  }
3214
3452
  },
3215
- "description": "Create a reconnection session for an account",
3453
+ "description": "Re-arm an already-settled delivery for redelivery (reuses the same event id)",
3216
3454
  "examples": [
3217
- "<%= config.bin %> admin accounts reconnect f9b4346a-..."
3455
+ "<%= config.bin %> admin webhook replay whd-123"
3218
3456
  ],
3219
3457
  "flags": {
3220
3458
  "json": {
@@ -3246,7 +3484,7 @@
3246
3484
  },
3247
3485
  "hasDynamicHelp": false,
3248
3486
  "hiddenAliases": [],
3249
- "id": "admin:accounts:reconnect",
3487
+ "id": "admin:webhook:replay",
3250
3488
  "pluginAlias": "@linkedapi/linkedin-cli",
3251
3489
  "pluginName": "@linkedapi/linkedin-cli",
3252
3490
  "pluginType": "core",
@@ -3257,22 +3495,16 @@
3257
3495
  "dist",
3258
3496
  "commands",
3259
3497
  "admin",
3260
- "accounts",
3261
- "reconnect.js"
3498
+ "webhook",
3499
+ "replay.js"
3262
3500
  ]
3263
3501
  },
3264
- "admin:accounts:regenerate-token": {
3502
+ "admin:webhook:send-test": {
3265
3503
  "aliases": [],
3266
- "args": {
3267
- "accountId": {
3268
- "description": "Account UUID",
3269
- "name": "accountId",
3270
- "required": true
3271
- }
3272
- },
3273
- "description": "Regenerate identification token for an account",
3504
+ "args": {},
3505
+ "description": "Emit a synthetic webhook.test event to verify the endpoint end-to-end",
3274
3506
  "examples": [
3275
- "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
3507
+ "<%= config.bin %> admin webhook send-test"
3276
3508
  ],
3277
3509
  "flags": {
3278
3510
  "json": {
@@ -3304,7 +3536,7 @@
3304
3536
  },
3305
3537
  "hasDynamicHelp": false,
3306
3538
  "hiddenAliases": [],
3307
- "id": "admin:accounts:regenerate-token",
3539
+ "id": "admin:webhook:send-test",
3308
3540
  "pluginAlias": "@linkedapi/linkedin-cli",
3309
3541
  "pluginName": "@linkedapi/linkedin-cli",
3310
3542
  "pluginType": "core",
@@ -3315,22 +3547,31 @@
3315
3547
  "dist",
3316
3548
  "commands",
3317
3549
  "admin",
3318
- "accounts",
3319
- "regenerate-token.js"
3550
+ "webhook",
3551
+ "send-test.js"
3320
3552
  ]
3321
3553
  },
3322
- "admin:accounts:reparse": {
3554
+ "admin:webhook:set-payload-mode": {
3323
3555
  "aliases": [],
3324
3556
  "args": {
3325
- "accountId": {
3326
- "description": "Account UUID",
3327
- "name": "accountId",
3557
+ "id": {
3558
+ "description": "Webhook subscription id",
3559
+ "name": "id",
3560
+ "required": true
3561
+ },
3562
+ "mode": {
3563
+ "description": "fat inlines the workflow result; thin sends a reference only",
3564
+ "name": "mode",
3565
+ "options": [
3566
+ "fat",
3567
+ "thin"
3568
+ ],
3328
3569
  "required": true
3329
3570
  }
3330
3571
  },
3331
- "description": "Refresh stored profile info for an account",
3572
+ "description": "Switch the webhook payload mode between fat and thin",
3332
3573
  "examples": [
3333
- "<%= config.bin %> admin accounts reparse f9b4346a-..."
3574
+ "<%= config.bin %> admin webhook set-payload-mode whs-123 thin"
3334
3575
  ],
3335
3576
  "flags": {
3336
3577
  "json": {
@@ -3362,7 +3603,7 @@
3362
3603
  },
3363
3604
  "hasDynamicHelp": false,
3364
3605
  "hiddenAliases": [],
3365
- "id": "admin:accounts:reparse",
3606
+ "id": "admin:webhook:set-payload-mode",
3366
3607
  "pluginAlias": "@linkedapi/linkedin-cli",
3367
3608
  "pluginName": "@linkedapi/linkedin-cli",
3368
3609
  "pluginType": "core",
@@ -3373,22 +3614,23 @@
3373
3614
  "dist",
3374
3615
  "commands",
3375
3616
  "admin",
3376
- "accounts",
3377
- "reparse.js"
3617
+ "webhook",
3618
+ "set-payload-mode.js"
3378
3619
  ]
3379
3620
  },
3380
- "admin:accounts:session": {
3621
+ "admin:webhook:set": {
3381
3622
  "aliases": [],
3382
3623
  "args": {
3383
- "sessionId": {
3384
- "description": "Session UUID",
3385
- "name": "sessionId",
3624
+ "url": {
3625
+ "description": "HTTPS endpoint that will receive event deliveries",
3626
+ "name": "url",
3386
3627
  "required": true
3387
3628
  }
3388
3629
  },
3389
- "description": "Check connection session status",
3630
+ "description": "Register the outbound webhook that receives event deliveries (max one active per client)",
3390
3631
  "examples": [
3391
- "<%= config.bin %> admin accounts session 990eef7a-..."
3632
+ "<%= config.bin %> admin webhook set https://example.com/hooks/linkedapi",
3633
+ "<%= config.bin %> admin webhook set https://example.com/hooks --payload-mode thin"
3392
3634
  ],
3393
3635
  "flags": {
3394
3636
  "json": {
@@ -3416,11 +3658,23 @@
3416
3658
  "name": "no-color",
3417
3659
  "allowNo": false,
3418
3660
  "type": "boolean"
3661
+ },
3662
+ "payload-mode": {
3663
+ "description": "fat inlines the workflow result; thin sends a reference to fetch via the API",
3664
+ "name": "payload-mode",
3665
+ "default": "fat",
3666
+ "hasDynamicHelp": false,
3667
+ "multiple": false,
3668
+ "options": [
3669
+ "fat",
3670
+ "thin"
3671
+ ],
3672
+ "type": "option"
3419
3673
  }
3420
3674
  },
3421
3675
  "hasDynamicHelp": false,
3422
3676
  "hiddenAliases": [],
3423
- "id": "admin:accounts:session",
3677
+ "id": "admin:webhook:set",
3424
3678
  "pluginAlias": "@linkedapi/linkedin-cli",
3425
3679
  "pluginName": "@linkedapi/linkedin-cli",
3426
3680
  "pluginType": "core",
@@ -3431,8 +3685,8 @@
3431
3685
  "dist",
3432
3686
  "commands",
3433
3687
  "admin",
3434
- "accounts",
3435
- "session.js"
3688
+ "webhook",
3689
+ "set.js"
3436
3690
  ]
3437
3691
  },
3438
3692
  "navigator:company:fetch": {
@@ -4035,5 +4289,5 @@
4035
4289
  ]
4036
4290
  }
4037
4291
  },
4038
- "version": "1.0.16"
4292
+ "version": "1.1.0"
4039
4293
  }