@linkedapi/linkedin-cli 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,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,70 +2247,18 @@
2247
2247
  "status.js"
2248
2248
  ]
2249
2249
  },
2250
- "admin:limits:defaults": {
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",
2260
- "name": "json",
2261
- "allowNo": false,
2262
- "type": "boolean"
2263
- },
2264
- "fields": {
2265
- "description": "Comma-separated list of fields to include in output",
2266
- "name": "fields",
2267
- "hasDynamicHelp": false,
2268
- "multiple": false,
2269
- "type": "option"
2270
- },
2271
- "quiet": {
2272
- "char": "q",
2273
- "description": "Suppress progress output on stderr",
2274
- "name": "quiet",
2275
- "allowNo": false,
2276
- "type": "boolean"
2277
- },
2278
- "no-color": {
2279
- "description": "Disable colored output",
2280
- "name": "no-color",
2281
- "allowNo": false,
2282
- "type": "boolean"
2283
- }
2284
- },
2285
- "hasDynamicHelp": false,
2286
- "hiddenAliases": [],
2287
- "id": "admin:limits:defaults",
2288
- "pluginAlias": "@linkedapi/linkedin-cli",
2289
- "pluginName": "@linkedapi/linkedin-cli",
2290
- "pluginType": "core",
2291
- "strict": true,
2292
- "enableJsonFlag": false,
2293
- "isESM": false,
2294
- "relativePath": [
2295
- "dist",
2296
- "commands",
2297
- "admin",
2298
- "limits",
2299
- "defaults.js"
2300
- ]
2301
- },
2302
- "admin:limits:delete": {
2250
+ "admin:accounts:cancel-session": {
2303
2251
  "aliases": [],
2304
2252
  "args": {
2305
- "accountId": {
2306
- "description": "Account UUID",
2307
- "name": "accountId",
2253
+ "sessionId": {
2254
+ "description": "Session UUID",
2255
+ "name": "sessionId",
2308
2256
  "required": true
2309
2257
  }
2310
2258
  },
2311
- "description": "Delete specific limits (falls back to defaults)",
2259
+ "description": "Cancel a pending connection session",
2312
2260
  "examples": [
2313
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2261
+ "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
2314
2262
  ],
2315
2263
  "flags": {
2316
2264
  "json": {
@@ -2338,32 +2286,11 @@
2338
2286
  "name": "no-color",
2339
2287
  "allowNo": false,
2340
2288
  "type": "boolean"
2341
- },
2342
- "category": {
2343
- "description": "Limit category",
2344
- "name": "category",
2345
- "required": true,
2346
- "hasDynamicHelp": false,
2347
- "multiple": false,
2348
- "type": "option"
2349
- },
2350
- "period": {
2351
- "description": "Limit period",
2352
- "name": "period",
2353
- "required": true,
2354
- "hasDynamicHelp": false,
2355
- "multiple": false,
2356
- "options": [
2357
- "daily",
2358
- "weekly",
2359
- "monthly"
2360
- ],
2361
- "type": "option"
2362
2289
  }
2363
2290
  },
2364
2291
  "hasDynamicHelp": false,
2365
2292
  "hiddenAliases": [],
2366
- "id": "admin:limits:delete",
2293
+ "id": "admin:accounts:cancel-session",
2367
2294
  "pluginAlias": "@linkedapi/linkedin-cli",
2368
2295
  "pluginName": "@linkedapi/linkedin-cli",
2369
2296
  "pluginType": "core",
@@ -2374,22 +2301,16 @@
2374
2301
  "dist",
2375
2302
  "commands",
2376
2303
  "admin",
2377
- "limits",
2378
- "delete.js"
2304
+ "accounts",
2305
+ "cancel-session.js"
2379
2306
  ]
2380
2307
  },
2381
- "admin:limits:get": {
2308
+ "admin:accounts:connect": {
2382
2309
  "aliases": [],
2383
- "args": {
2384
- "accountId": {
2385
- "description": "Account UUID",
2386
- "name": "accountId",
2387
- "required": true
2388
- }
2389
- },
2390
- "description": "View current limits for an account",
2310
+ "args": {},
2311
+ "description": "Create a connection session to connect a new LinkedIn account",
2391
2312
  "examples": [
2392
- "<%= config.bin %> admin limits get f9b4346a-..."
2313
+ "<%= config.bin %> admin accounts connect"
2393
2314
  ],
2394
2315
  "flags": {
2395
2316
  "json": {
@@ -2421,7 +2342,7 @@
2421
2342
  },
2422
2343
  "hasDynamicHelp": false,
2423
2344
  "hiddenAliases": [],
2424
- "id": "admin:limits:get",
2345
+ "id": "admin:accounts:connect",
2425
2346
  "pluginAlias": "@linkedapi/linkedin-cli",
2426
2347
  "pluginName": "@linkedapi/linkedin-cli",
2427
2348
  "pluginType": "core",
@@ -2432,11 +2353,11 @@
2432
2353
  "dist",
2433
2354
  "commands",
2434
2355
  "admin",
2435
- "limits",
2436
- "get.js"
2356
+ "accounts",
2357
+ "connect.js"
2437
2358
  ]
2438
2359
  },
2439
- "admin:limits:reset": {
2360
+ "admin:accounts:disconnect": {
2440
2361
  "aliases": [],
2441
2362
  "args": {
2442
2363
  "accountId": {
@@ -2445,9 +2366,9 @@
2445
2366
  "required": true
2446
2367
  }
2447
2368
  },
2448
- "description": "Reset all limits to defaults",
2369
+ "description": "Disconnect a LinkedIn account (irreversible)",
2449
2370
  "examples": [
2450
- "<%= config.bin %> admin limits reset f9b4346a-..."
2371
+ "<%= config.bin %> admin accounts disconnect f9b4346a-..."
2451
2372
  ],
2452
2373
  "flags": {
2453
2374
  "json": {
@@ -2479,7 +2400,7 @@
2479
2400
  },
2480
2401
  "hasDynamicHelp": false,
2481
2402
  "hiddenAliases": [],
2482
- "id": "admin:limits:reset",
2403
+ "id": "admin:accounts:disconnect",
2483
2404
  "pluginAlias": "@linkedapi/linkedin-cli",
2484
2405
  "pluginName": "@linkedapi/linkedin-cli",
2485
2406
  "pluginType": "core",
@@ -2490,22 +2411,16 @@
2490
2411
  "dist",
2491
2412
  "commands",
2492
2413
  "admin",
2493
- "limits",
2494
- "reset.js"
2414
+ "accounts",
2415
+ "disconnect.js"
2495
2416
  ]
2496
2417
  },
2497
- "admin:limits:set": {
2418
+ "admin:accounts:list": {
2498
2419
  "aliases": [],
2499
- "args": {
2500
- "accountId": {
2501
- "description": "Account UUID",
2502
- "name": "accountId",
2503
- "required": true
2504
- }
2505
- },
2506
- "description": "Set limits for an account",
2420
+ "args": {},
2421
+ "description": "List all connected accounts and pending sessions",
2507
2422
  "examples": [
2508
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2423
+ "<%= config.bin %> admin accounts list"
2509
2424
  ],
2510
2425
  "flags": {
2511
2426
  "json": {
@@ -2533,40 +2448,11 @@
2533
2448
  "name": "no-color",
2534
2449
  "allowNo": false,
2535
2450
  "type": "boolean"
2536
- },
2537
- "category": {
2538
- "description": "Limit category",
2539
- "name": "category",
2540
- "required": true,
2541
- "hasDynamicHelp": false,
2542
- "multiple": false,
2543
- "type": "option"
2544
- },
2545
- "period": {
2546
- "description": "Limit period",
2547
- "name": "period",
2548
- "required": true,
2549
- "hasDynamicHelp": false,
2550
- "multiple": false,
2551
- "options": [
2552
- "daily",
2553
- "weekly",
2554
- "monthly"
2555
- ],
2556
- "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
2451
  }
2566
2452
  },
2567
2453
  "hasDynamicHelp": false,
2568
2454
  "hiddenAliases": [],
2569
- "id": "admin:limits:set",
2455
+ "id": "admin:accounts:list",
2570
2456
  "pluginAlias": "@linkedapi/linkedin-cli",
2571
2457
  "pluginName": "@linkedapi/linkedin-cli",
2572
2458
  "pluginType": "core",
@@ -2577,11 +2463,11 @@
2577
2463
  "dist",
2578
2464
  "commands",
2579
2465
  "admin",
2580
- "limits",
2581
- "set.js"
2466
+ "accounts",
2467
+ "list.js"
2582
2468
  ]
2583
2469
  },
2584
- "admin:limits:usage": {
2470
+ "admin:accounts:reconnect": {
2585
2471
  "aliases": [],
2586
2472
  "args": {
2587
2473
  "accountId": {
@@ -2590,9 +2476,9 @@
2590
2476
  "required": true
2591
2477
  }
2592
2478
  },
2593
- "description": "View current usage against limits",
2479
+ "description": "Create a reconnection session for an account",
2594
2480
  "examples": [
2595
- "<%= config.bin %> admin limits usage f9b4346a-..."
2481
+ "<%= config.bin %> admin accounts reconnect f9b4346a-..."
2596
2482
  ],
2597
2483
  "flags": {
2598
2484
  "json": {
@@ -2624,7 +2510,7 @@
2624
2510
  },
2625
2511
  "hasDynamicHelp": false,
2626
2512
  "hiddenAliases": [],
2627
- "id": "admin:limits:usage",
2513
+ "id": "admin:accounts:reconnect",
2628
2514
  "pluginAlias": "@linkedapi/linkedin-cli",
2629
2515
  "pluginName": "@linkedapi/linkedin-cli",
2630
2516
  "pluginType": "core",
@@ -2635,16 +2521,22 @@
2635
2521
  "dist",
2636
2522
  "commands",
2637
2523
  "admin",
2638
- "limits",
2639
- "usage.js"
2524
+ "accounts",
2525
+ "reconnect.js"
2640
2526
  ]
2641
2527
  },
2642
- "admin:subscription:billing-link": {
2528
+ "admin:accounts:regenerate-token": {
2643
2529
  "aliases": [],
2644
- "args": {},
2645
- "description": "Get billing portal link",
2530
+ "args": {
2531
+ "accountId": {
2532
+ "description": "Account UUID",
2533
+ "name": "accountId",
2534
+ "required": true
2535
+ }
2536
+ },
2537
+ "description": "Regenerate identification token for an account",
2646
2538
  "examples": [
2647
- "<%= config.bin %> admin subscription billing-link"
2539
+ "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
2648
2540
  ],
2649
2541
  "flags": {
2650
2542
  "json": {
@@ -2676,7 +2568,7 @@
2676
2568
  },
2677
2569
  "hasDynamicHelp": false,
2678
2570
  "hiddenAliases": [],
2679
- "id": "admin:subscription:billing-link",
2571
+ "id": "admin:accounts:regenerate-token",
2680
2572
  "pluginAlias": "@linkedapi/linkedin-cli",
2681
2573
  "pluginName": "@linkedapi/linkedin-cli",
2682
2574
  "pluginType": "core",
@@ -2687,16 +2579,22 @@
2687
2579
  "dist",
2688
2580
  "commands",
2689
2581
  "admin",
2690
- "subscription",
2691
- "billing-link.js"
2582
+ "accounts",
2583
+ "regenerate-token.js"
2692
2584
  ]
2693
2585
  },
2694
- "admin:subscription:cancel": {
2586
+ "admin:accounts:reparse": {
2695
2587
  "aliases": [],
2696
- "args": {},
2697
- "description": "Cancel subscription at period end",
2588
+ "args": {
2589
+ "accountId": {
2590
+ "description": "Account UUID",
2591
+ "name": "accountId",
2592
+ "required": true
2593
+ }
2594
+ },
2595
+ "description": "Refresh stored profile info for an account",
2698
2596
  "examples": [
2699
- "<%= config.bin %> admin subscription cancel"
2597
+ "<%= config.bin %> admin accounts reparse f9b4346a-..."
2700
2598
  ],
2701
2599
  "flags": {
2702
2600
  "json": {
@@ -2728,7 +2626,7 @@
2728
2626
  },
2729
2627
  "hasDynamicHelp": false,
2730
2628
  "hiddenAliases": [],
2731
- "id": "admin:subscription:cancel",
2629
+ "id": "admin:accounts:reparse",
2732
2630
  "pluginAlias": "@linkedapi/linkedin-cli",
2733
2631
  "pluginName": "@linkedapi/linkedin-cli",
2734
2632
  "pluginType": "core",
@@ -2739,16 +2637,22 @@
2739
2637
  "dist",
2740
2638
  "commands",
2741
2639
  "admin",
2742
- "subscription",
2743
- "cancel.js"
2640
+ "accounts",
2641
+ "reparse.js"
2744
2642
  ]
2745
2643
  },
2746
- "admin:subscription:pricing": {
2644
+ "admin:accounts:session": {
2747
2645
  "aliases": [],
2748
- "args": {},
2749
- "description": "View available pricing options",
2646
+ "args": {
2647
+ "sessionId": {
2648
+ "description": "Session UUID",
2649
+ "name": "sessionId",
2650
+ "required": true
2651
+ }
2652
+ },
2653
+ "description": "Check connection session status",
2750
2654
  "examples": [
2751
- "<%= config.bin %> admin subscription pricing"
2655
+ "<%= config.bin %> admin accounts session 990eef7a-..."
2752
2656
  ],
2753
2657
  "flags": {
2754
2658
  "json": {
@@ -2780,7 +2684,7 @@
2780
2684
  },
2781
2685
  "hasDynamicHelp": false,
2782
2686
  "hiddenAliases": [],
2783
- "id": "admin:subscription:pricing",
2687
+ "id": "admin:accounts:session",
2784
2688
  "pluginAlias": "@linkedapi/linkedin-cli",
2785
2689
  "pluginName": "@linkedapi/linkedin-cli",
2786
2690
  "pluginType": "core",
@@ -2791,8 +2695,8 @@
2791
2695
  "dist",
2792
2696
  "commands",
2793
2697
  "admin",
2794
- "subscription",
2795
- "pricing.js"
2698
+ "accounts",
2699
+ "session.js"
2796
2700
  ]
2797
2701
  },
2798
2702
  "admin:subscription:seats": {
@@ -2983,70 +2887,12 @@
2983
2887
  "status.js"
2984
2888
  ]
2985
2889
  },
2986
- "admin:accounts:cancel-session": {
2987
- "aliases": [],
2988
- "args": {
2989
- "sessionId": {
2990
- "description": "Session UUID",
2991
- "name": "sessionId",
2992
- "required": true
2993
- }
2994
- },
2995
- "description": "Cancel a pending connection session",
2996
- "examples": [
2997
- "<%= config.bin %> admin accounts cancel-session 990eef7a-..."
2998
- ],
2999
- "flags": {
3000
- "json": {
3001
- "description": "Output as JSON",
3002
- "name": "json",
3003
- "allowNo": false,
3004
- "type": "boolean"
3005
- },
3006
- "fields": {
3007
- "description": "Comma-separated list of fields to include in output",
3008
- "name": "fields",
3009
- "hasDynamicHelp": false,
3010
- "multiple": false,
3011
- "type": "option"
3012
- },
3013
- "quiet": {
3014
- "char": "q",
3015
- "description": "Suppress progress output on stderr",
3016
- "name": "quiet",
3017
- "allowNo": false,
3018
- "type": "boolean"
3019
- },
3020
- "no-color": {
3021
- "description": "Disable colored output",
3022
- "name": "no-color",
3023
- "allowNo": false,
3024
- "type": "boolean"
3025
- }
3026
- },
3027
- "hasDynamicHelp": false,
3028
- "hiddenAliases": [],
3029
- "id": "admin:accounts:cancel-session",
3030
- "pluginAlias": "@linkedapi/linkedin-cli",
3031
- "pluginName": "@linkedapi/linkedin-cli",
3032
- "pluginType": "core",
3033
- "strict": true,
3034
- "enableJsonFlag": false,
3035
- "isESM": false,
3036
- "relativePath": [
3037
- "dist",
3038
- "commands",
3039
- "admin",
3040
- "accounts",
3041
- "cancel-session.js"
3042
- ]
3043
- },
3044
- "admin:accounts:connect": {
2890
+ "admin:limits:defaults": {
3045
2891
  "aliases": [],
3046
2892
  "args": {},
3047
- "description": "Create a connection session to connect a new LinkedIn account",
2893
+ "description": "View system default limits",
3048
2894
  "examples": [
3049
- "<%= config.bin %> admin accounts connect"
2895
+ "<%= config.bin %> admin limits defaults"
3050
2896
  ],
3051
2897
  "flags": {
3052
2898
  "json": {
@@ -3078,7 +2924,7 @@
3078
2924
  },
3079
2925
  "hasDynamicHelp": false,
3080
2926
  "hiddenAliases": [],
3081
- "id": "admin:accounts:connect",
2927
+ "id": "admin:limits:defaults",
3082
2928
  "pluginAlias": "@linkedapi/linkedin-cli",
3083
2929
  "pluginName": "@linkedapi/linkedin-cli",
3084
2930
  "pluginType": "core",
@@ -3089,11 +2935,11 @@
3089
2935
  "dist",
3090
2936
  "commands",
3091
2937
  "admin",
3092
- "accounts",
3093
- "connect.js"
2938
+ "limits",
2939
+ "defaults.js"
3094
2940
  ]
3095
2941
  },
3096
- "admin:accounts:disconnect": {
2942
+ "admin:limits:delete": {
3097
2943
  "aliases": [],
3098
2944
  "args": {
3099
2945
  "accountId": {
@@ -3102,9 +2948,9 @@
3102
2948
  "required": true
3103
2949
  }
3104
2950
  },
3105
- "description": "Disconnect a LinkedIn account (irreversible)",
2951
+ "description": "Delete specific limits (falls back to defaults)",
3106
2952
  "examples": [
3107
- "<%= config.bin %> admin accounts disconnect f9b4346a-..."
2953
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
3108
2954
  ],
3109
2955
  "flags": {
3110
2956
  "json": {
@@ -3132,63 +2978,32 @@
3132
2978
  "name": "no-color",
3133
2979
  "allowNo": false,
3134
2980
  "type": "boolean"
3135
- }
3136
- },
3137
- "hasDynamicHelp": false,
3138
- "hiddenAliases": [],
3139
- "id": "admin:accounts:disconnect",
3140
- "pluginAlias": "@linkedapi/linkedin-cli",
3141
- "pluginName": "@linkedapi/linkedin-cli",
3142
- "pluginType": "core",
3143
- "strict": true,
3144
- "enableJsonFlag": false,
3145
- "isESM": false,
3146
- "relativePath": [
3147
- "dist",
3148
- "commands",
3149
- "admin",
3150
- "accounts",
3151
- "disconnect.js"
3152
- ]
3153
- },
3154
- "admin:accounts:list": {
3155
- "aliases": [],
3156
- "args": {},
3157
- "description": "List all connected accounts and pending sessions",
3158
- "examples": [
3159
- "<%= config.bin %> admin accounts list"
3160
- ],
3161
- "flags": {
3162
- "json": {
3163
- "description": "Output as JSON",
3164
- "name": "json",
3165
- "allowNo": false,
3166
- "type": "boolean"
3167
2981
  },
3168
- "fields": {
3169
- "description": "Comma-separated list of fields to include in output",
3170
- "name": "fields",
2982
+ "category": {
2983
+ "description": "Limit category",
2984
+ "name": "category",
2985
+ "required": true,
3171
2986
  "hasDynamicHelp": false,
3172
2987
  "multiple": false,
3173
2988
  "type": "option"
3174
2989
  },
3175
- "quiet": {
3176
- "char": "q",
3177
- "description": "Suppress progress output on stderr",
3178
- "name": "quiet",
3179
- "allowNo": false,
3180
- "type": "boolean"
3181
- },
3182
- "no-color": {
3183
- "description": "Disable colored output",
3184
- "name": "no-color",
3185
- "allowNo": false,
3186
- "type": "boolean"
2990
+ "period": {
2991
+ "description": "Limit period",
2992
+ "name": "period",
2993
+ "required": true,
2994
+ "hasDynamicHelp": false,
2995
+ "multiple": false,
2996
+ "options": [
2997
+ "daily",
2998
+ "weekly",
2999
+ "monthly"
3000
+ ],
3001
+ "type": "option"
3187
3002
  }
3188
3003
  },
3189
3004
  "hasDynamicHelp": false,
3190
3005
  "hiddenAliases": [],
3191
- "id": "admin:accounts:list",
3006
+ "id": "admin:limits:delete",
3192
3007
  "pluginAlias": "@linkedapi/linkedin-cli",
3193
3008
  "pluginName": "@linkedapi/linkedin-cli",
3194
3009
  "pluginType": "core",
@@ -3199,11 +3014,11 @@
3199
3014
  "dist",
3200
3015
  "commands",
3201
3016
  "admin",
3202
- "accounts",
3203
- "list.js"
3017
+ "limits",
3018
+ "delete.js"
3204
3019
  ]
3205
3020
  },
3206
- "admin:accounts:reconnect": {
3021
+ "admin:limits:get": {
3207
3022
  "aliases": [],
3208
3023
  "args": {
3209
3024
  "accountId": {
@@ -3212,9 +3027,9 @@
3212
3027
  "required": true
3213
3028
  }
3214
3029
  },
3215
- "description": "Create a reconnection session for an account",
3030
+ "description": "View current limits for an account",
3216
3031
  "examples": [
3217
- "<%= config.bin %> admin accounts reconnect f9b4346a-..."
3032
+ "<%= config.bin %> admin limits get f9b4346a-..."
3218
3033
  ],
3219
3034
  "flags": {
3220
3035
  "json": {
@@ -3246,7 +3061,7 @@
3246
3061
  },
3247
3062
  "hasDynamicHelp": false,
3248
3063
  "hiddenAliases": [],
3249
- "id": "admin:accounts:reconnect",
3064
+ "id": "admin:limits:get",
3250
3065
  "pluginAlias": "@linkedapi/linkedin-cli",
3251
3066
  "pluginName": "@linkedapi/linkedin-cli",
3252
3067
  "pluginType": "core",
@@ -3257,11 +3072,11 @@
3257
3072
  "dist",
3258
3073
  "commands",
3259
3074
  "admin",
3260
- "accounts",
3261
- "reconnect.js"
3075
+ "limits",
3076
+ "get.js"
3262
3077
  ]
3263
3078
  },
3264
- "admin:accounts:regenerate-token": {
3079
+ "admin:limits:reset": {
3265
3080
  "aliases": [],
3266
3081
  "args": {
3267
3082
  "accountId": {
@@ -3270,9 +3085,9 @@
3270
3085
  "required": true
3271
3086
  }
3272
3087
  },
3273
- "description": "Regenerate identification token for an account",
3088
+ "description": "Reset all limits to defaults",
3274
3089
  "examples": [
3275
- "<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
3090
+ "<%= config.bin %> admin limits reset f9b4346a-..."
3276
3091
  ],
3277
3092
  "flags": {
3278
3093
  "json": {
@@ -3304,7 +3119,7 @@
3304
3119
  },
3305
3120
  "hasDynamicHelp": false,
3306
3121
  "hiddenAliases": [],
3307
- "id": "admin:accounts:regenerate-token",
3122
+ "id": "admin:limits:reset",
3308
3123
  "pluginAlias": "@linkedapi/linkedin-cli",
3309
3124
  "pluginName": "@linkedapi/linkedin-cli",
3310
3125
  "pluginType": "core",
@@ -3315,11 +3130,11 @@
3315
3130
  "dist",
3316
3131
  "commands",
3317
3132
  "admin",
3318
- "accounts",
3319
- "regenerate-token.js"
3133
+ "limits",
3134
+ "reset.js"
3320
3135
  ]
3321
3136
  },
3322
- "admin:accounts:reparse": {
3137
+ "admin:limits:set": {
3323
3138
  "aliases": [],
3324
3139
  "args": {
3325
3140
  "accountId": {
@@ -3328,9 +3143,9 @@
3328
3143
  "required": true
3329
3144
  }
3330
3145
  },
3331
- "description": "Refresh stored profile info for an account",
3146
+ "description": "Set limits for an account",
3332
3147
  "examples": [
3333
- "<%= config.bin %> admin accounts reparse f9b4346a-..."
3148
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
3334
3149
  ],
3335
3150
  "flags": {
3336
3151
  "json": {
@@ -3358,11 +3173,40 @@
3358
3173
  "name": "no-color",
3359
3174
  "allowNo": false,
3360
3175
  "type": "boolean"
3176
+ },
3177
+ "category": {
3178
+ "description": "Limit category",
3179
+ "name": "category",
3180
+ "required": true,
3181
+ "hasDynamicHelp": false,
3182
+ "multiple": false,
3183
+ "type": "option"
3184
+ },
3185
+ "period": {
3186
+ "description": "Limit period",
3187
+ "name": "period",
3188
+ "required": true,
3189
+ "hasDynamicHelp": false,
3190
+ "multiple": false,
3191
+ "options": [
3192
+ "daily",
3193
+ "weekly",
3194
+ "monthly"
3195
+ ],
3196
+ "type": "option"
3197
+ },
3198
+ "max": {
3199
+ "description": "Maximum allowed actions (>= 0)",
3200
+ "name": "max",
3201
+ "required": true,
3202
+ "hasDynamicHelp": false,
3203
+ "multiple": false,
3204
+ "type": "option"
3361
3205
  }
3362
3206
  },
3363
3207
  "hasDynamicHelp": false,
3364
3208
  "hiddenAliases": [],
3365
- "id": "admin:accounts:reparse",
3209
+ "id": "admin:limits:set",
3366
3210
  "pluginAlias": "@linkedapi/linkedin-cli",
3367
3211
  "pluginName": "@linkedapi/linkedin-cli",
3368
3212
  "pluginType": "core",
@@ -3373,22 +3217,22 @@
3373
3217
  "dist",
3374
3218
  "commands",
3375
3219
  "admin",
3376
- "accounts",
3377
- "reparse.js"
3220
+ "limits",
3221
+ "set.js"
3378
3222
  ]
3379
3223
  },
3380
- "admin:accounts:session": {
3224
+ "admin:limits:usage": {
3381
3225
  "aliases": [],
3382
3226
  "args": {
3383
- "sessionId": {
3384
- "description": "Session UUID",
3385
- "name": "sessionId",
3227
+ "accountId": {
3228
+ "description": "Account UUID",
3229
+ "name": "accountId",
3386
3230
  "required": true
3387
3231
  }
3388
3232
  },
3389
- "description": "Check connection session status",
3233
+ "description": "View current usage against limits",
3390
3234
  "examples": [
3391
- "<%= config.bin %> admin accounts session 990eef7a-..."
3235
+ "<%= config.bin %> admin limits usage f9b4346a-..."
3392
3236
  ],
3393
3237
  "flags": {
3394
3238
  "json": {
@@ -3420,7 +3264,7 @@
3420
3264
  },
3421
3265
  "hasDynamicHelp": false,
3422
3266
  "hiddenAliases": [],
3423
- "id": "admin:accounts:session",
3267
+ "id": "admin:limits:usage",
3424
3268
  "pluginAlias": "@linkedapi/linkedin-cli",
3425
3269
  "pluginName": "@linkedapi/linkedin-cli",
3426
3270
  "pluginType": "core",
@@ -3431,8 +3275,8 @@
3431
3275
  "dist",
3432
3276
  "commands",
3433
3277
  "admin",
3434
- "accounts",
3435
- "session.js"
3278
+ "limits",
3279
+ "usage.js"
3436
3280
  ]
3437
3281
  },
3438
3282
  "navigator:company:fetch": {
@@ -4035,5 +3879,5 @@
4035
3879
  ]
4036
3880
  }
4037
3881
  },
4038
- "version": "1.0.16"
3882
+ "version": "1.0.17"
4039
3883
  }