@linkedapi/linkedin-cli 1.0.9 → 1.0.10

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.
@@ -1 +1 @@
1
- {"version":3,"file":"build-client.d.ts","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC,UAAU,aAAa;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,CAK5D"}
1
+ {"version":3,"file":"build-client.d.ts","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAC;AAExC,UAAU,aAAa;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,wBAAgB,WAAW,CAAC,MAAM,EAAE,aAAa,GAAG,SAAS,CAI5D"}
@@ -3,9 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.buildClient = buildClient;
4
4
  const node_1 = require("@linkedapi/node");
5
5
  function buildClient(tokens) {
6
- return new node_1.default({
7
- ...tokens,
8
- client: 'cli'
9
- });
6
+ const overrideBaseUrl = process.env.LINKED_API_BASE_URL?.trim();
7
+ const baseUrl = overrideBaseUrl && overrideBaseUrl.length > 0 ? overrideBaseUrl : undefined;
8
+ return new node_1.default({ ...tokens, client: 'cli', baseUrl });
10
9
  }
11
10
  //# sourceMappingURL=build-client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"build-client.js","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":";;AAOA,kCAKC;AAZD,0CAAwC;AAOxC,SAAgB,WAAW,CAAC,MAAqB;IAC/C,OAAO,IAAI,cAAS,CAAC;QACnB,GAAG,MAAM;QACT,MAAM,EAAE,KAAK;KACd,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"build-client.js","sourceRoot":"","sources":["../../../src/core/client/build-client.ts"],"names":[],"mappings":";;AAOA,kCAIC;AAXD,0CAAwC;AAOxC,SAAgB,WAAW,CAAC,MAAqB;IAC/C,MAAM,eAAe,GAAG,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,IAAI,EAAE,CAAC;IAChE,MAAM,OAAO,GAAG,eAAe,IAAI,eAAe,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;IAC5F,OAAO,IAAI,cAAS,CAAC,EAAE,GAAG,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;AAC9D,CAAC"}
@@ -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": {},
@@ -814,263 +1061,16 @@
814
1061
  "send.js"
815
1062
  ]
816
1063
  },
817
- "company:fetch": {
1064
+ "person:fetch": {
818
1065
  "aliases": [],
819
1066
  "args": {
820
1067
  "url": {
821
- "description": "LinkedIn company URL",
1068
+ "description": "LinkedIn profile URL",
822
1069
  "name": "url",
823
1070
  "required": true
824
1071
  }
825
1072
  },
826
- "description": "Fetch a LinkedIn company profile",
827
- "examples": [
828
- "<%= config.bin %> company fetch https://www.linkedin.com/company/microsoft",
829
- "<%= config.bin %> company fetch https://www.linkedin.com/company/google --employees --dms --json"
830
- ],
831
- "flags": {
832
- "json": {
833
- "description": "Output as JSON",
834
- "name": "json",
835
- "allowNo": false,
836
- "type": "boolean"
837
- },
838
- "fields": {
839
- "description": "Comma-separated list of fields to include in output",
840
- "name": "fields",
841
- "hasDynamicHelp": false,
842
- "multiple": false,
843
- "type": "option"
844
- },
845
- "quiet": {
846
- "char": "q",
847
- "description": "Suppress progress output on stderr",
848
- "name": "quiet",
849
- "allowNo": false,
850
- "type": "boolean"
851
- },
852
- "no-color": {
853
- "description": "Disable colored output",
854
- "name": "no-color",
855
- "allowNo": false,
856
- "type": "boolean"
857
- },
858
- "account": {
859
- "description": "Account name to use (when multiple accounts are configured)",
860
- "name": "account",
861
- "hasDynamicHelp": false,
862
- "multiple": false,
863
- "type": "option"
864
- },
865
- "employees": {
866
- "description": "Include employee data",
867
- "name": "employees",
868
- "allowNo": false,
869
- "type": "boolean"
870
- },
871
- "dms": {
872
- "description": "Include decision makers",
873
- "name": "dms",
874
- "allowNo": false,
875
- "type": "boolean"
876
- },
877
- "posts": {
878
- "description": "Include company posts",
879
- "name": "posts",
880
- "allowNo": false,
881
- "type": "boolean"
882
- },
883
- "employees-limit": {
884
- "description": "Max employees to retrieve",
885
- "name": "employees-limit",
886
- "hasDynamicHelp": false,
887
- "multiple": false,
888
- "type": "option"
889
- },
890
- "employees-first-name": {
891
- "description": "Filter employees by first name",
892
- "name": "employees-first-name",
893
- "hasDynamicHelp": false,
894
- "multiple": false,
895
- "type": "option"
896
- },
897
- "employees-last-name": {
898
- "description": "Filter employees by last name",
899
- "name": "employees-last-name",
900
- "hasDynamicHelp": false,
901
- "multiple": false,
902
- "type": "option"
903
- },
904
- "employees-position": {
905
- "description": "Filter employees by position",
906
- "name": "employees-position",
907
- "hasDynamicHelp": false,
908
- "multiple": false,
909
- "type": "option"
910
- },
911
- "employees-locations": {
912
- "description": "Filter employees by locations (comma-separated)",
913
- "name": "employees-locations",
914
- "hasDynamicHelp": false,
915
- "multiple": false,
916
- "type": "option"
917
- },
918
- "employees-industries": {
919
- "description": "Filter employees by industries (comma-separated)",
920
- "name": "employees-industries",
921
- "hasDynamicHelp": false,
922
- "multiple": false,
923
- "type": "option"
924
- },
925
- "employees-schools": {
926
- "description": "Filter employees by schools (comma-separated)",
927
- "name": "employees-schools",
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "type": "option"
931
- },
932
- "dms-limit": {
933
- "description": "Max decision makers to retrieve",
934
- "name": "dms-limit",
935
- "hasDynamicHelp": false,
936
- "multiple": false,
937
- "type": "option"
938
- },
939
- "posts-limit": {
940
- "description": "Max posts to retrieve",
941
- "name": "posts-limit",
942
- "hasDynamicHelp": false,
943
- "multiple": false,
944
- "type": "option"
945
- },
946
- "posts-since": {
947
- "description": "Retrieve posts since ISO timestamp",
948
- "name": "posts-since",
949
- "hasDynamicHelp": false,
950
- "multiple": false,
951
- "type": "option"
952
- }
953
- },
954
- "hasDynamicHelp": false,
955
- "hiddenAliases": [],
956
- "id": "company:fetch",
957
- "pluginAlias": "@linkedapi/linkedin-cli",
958
- "pluginName": "@linkedapi/linkedin-cli",
959
- "pluginType": "core",
960
- "strict": true,
961
- "enableJsonFlag": false,
962
- "isESM": false,
963
- "relativePath": [
964
- "dist",
965
- "commands",
966
- "company",
967
- "fetch.js"
968
- ]
969
- },
970
- "company:search": {
971
- "aliases": [],
972
- "args": {},
973
- "description": "Search for companies on LinkedIn",
974
- "examples": [
975
- "<%= config.bin %> company search --term \"fintech\" --sizes \"11-50,51-200\"",
976
- "<%= config.bin %> company search --industries \"Software Development\" --json"
977
- ],
978
- "flags": {
979
- "json": {
980
- "description": "Output as JSON",
981
- "name": "json",
982
- "allowNo": false,
983
- "type": "boolean"
984
- },
985
- "fields": {
986
- "description": "Comma-separated list of fields to include in output",
987
- "name": "fields",
988
- "hasDynamicHelp": false,
989
- "multiple": false,
990
- "type": "option"
991
- },
992
- "quiet": {
993
- "char": "q",
994
- "description": "Suppress progress output on stderr",
995
- "name": "quiet",
996
- "allowNo": false,
997
- "type": "boolean"
998
- },
999
- "no-color": {
1000
- "description": "Disable colored output",
1001
- "name": "no-color",
1002
- "allowNo": false,
1003
- "type": "boolean"
1004
- },
1005
- "account": {
1006
- "description": "Account name to use (when multiple accounts are configured)",
1007
- "name": "account",
1008
- "hasDynamicHelp": false,
1009
- "multiple": false,
1010
- "type": "option"
1011
- },
1012
- "term": {
1013
- "description": "Search keyword or phrase",
1014
- "name": "term",
1015
- "hasDynamicHelp": false,
1016
- "multiple": false,
1017
- "type": "option"
1018
- },
1019
- "limit": {
1020
- "description": "Max results to return",
1021
- "name": "limit",
1022
- "hasDynamicHelp": false,
1023
- "multiple": false,
1024
- "type": "option"
1025
- },
1026
- "sizes": {
1027
- "description": "Filter by company sizes (comma-separated, e.g. \"1-10,11-50,51-200\")",
1028
- "name": "sizes",
1029
- "hasDynamicHelp": false,
1030
- "multiple": false,
1031
- "type": "option"
1032
- },
1033
- "locations": {
1034
- "description": "Filter by locations (comma-separated)",
1035
- "name": "locations",
1036
- "hasDynamicHelp": false,
1037
- "multiple": false,
1038
- "type": "option"
1039
- },
1040
- "industries": {
1041
- "description": "Filter by industries (comma-separated)",
1042
- "name": "industries",
1043
- "hasDynamicHelp": false,
1044
- "multiple": false,
1045
- "type": "option"
1046
- }
1047
- },
1048
- "hasDynamicHelp": false,
1049
- "hiddenAliases": [],
1050
- "id": "company:search",
1051
- "pluginAlias": "@linkedapi/linkedin-cli",
1052
- "pluginName": "@linkedapi/linkedin-cli",
1053
- "pluginType": "core",
1054
- "strict": true,
1055
- "enableJsonFlag": false,
1056
- "isESM": false,
1057
- "relativePath": [
1058
- "dist",
1059
- "commands",
1060
- "company",
1061
- "search.js"
1062
- ]
1063
- },
1064
- "person:fetch": {
1065
- "aliases": [],
1066
- "args": {
1067
- "url": {
1068
- "description": "LinkedIn profile URL",
1069
- "name": "url",
1070
- "required": true
1071
- }
1072
- },
1073
- "description": "Fetch a LinkedIn person profile",
1073
+ "description": "Fetch a LinkedIn person profile",
1074
1074
  "examples": [
1075
1075
  "<%= config.bin %> person fetch https://www.linkedin.com/in/john-doe",
1076
1076
  "<%= config.bin %> person fetch https://www.linkedin.com/in/john-doe --experience --education --json"
@@ -2353,12 +2353,12 @@
2353
2353
  "session.js"
2354
2354
  ]
2355
2355
  },
2356
- "admin:limits:defaults": {
2356
+ "admin:subscription:billing-link": {
2357
2357
  "aliases": [],
2358
2358
  "args": {},
2359
- "description": "View system default limits",
2359
+ "description": "Get billing portal link",
2360
2360
  "examples": [
2361
- "<%= config.bin %> admin limits defaults"
2361
+ "<%= config.bin %> admin subscription billing-link"
2362
2362
  ],
2363
2363
  "flags": {
2364
2364
  "json": {
@@ -2390,7 +2390,7 @@
2390
2390
  },
2391
2391
  "hasDynamicHelp": false,
2392
2392
  "hiddenAliases": [],
2393
- "id": "admin:limits:defaults",
2393
+ "id": "admin:subscription:billing-link",
2394
2394
  "pluginAlias": "@linkedapi/linkedin-cli",
2395
2395
  "pluginName": "@linkedapi/linkedin-cli",
2396
2396
  "pluginType": "core",
@@ -2401,22 +2401,16 @@
2401
2401
  "dist",
2402
2402
  "commands",
2403
2403
  "admin",
2404
- "limits",
2405
- "defaults.js"
2404
+ "subscription",
2405
+ "billing-link.js"
2406
2406
  ]
2407
2407
  },
2408
- "admin:limits:delete": {
2408
+ "admin:subscription:cancel": {
2409
2409
  "aliases": [],
2410
- "args": {
2411
- "accountId": {
2412
- "description": "Account UUID",
2413
- "name": "accountId",
2414
- "required": true
2415
- }
2416
- },
2417
- "description": "Delete specific limits (falls back to defaults)",
2410
+ "args": {},
2411
+ "description": "Cancel subscription at period end",
2418
2412
  "examples": [
2419
- "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2413
+ "<%= config.bin %> admin subscription cancel"
2420
2414
  ],
2421
2415
  "flags": {
2422
2416
  "json": {
@@ -2444,32 +2438,11 @@
2444
2438
  "name": "no-color",
2445
2439
  "allowNo": false,
2446
2440
  "type": "boolean"
2447
- },
2448
- "category": {
2449
- "description": "Limit category",
2450
- "name": "category",
2451
- "required": true,
2452
- "hasDynamicHelp": false,
2453
- "multiple": false,
2454
- "type": "option"
2455
- },
2456
- "period": {
2457
- "description": "Limit period",
2458
- "name": "period",
2459
- "required": true,
2460
- "hasDynamicHelp": false,
2461
- "multiple": false,
2462
- "options": [
2463
- "daily",
2464
- "weekly",
2465
- "monthly"
2466
- ],
2467
- "type": "option"
2468
2441
  }
2469
2442
  },
2470
2443
  "hasDynamicHelp": false,
2471
2444
  "hiddenAliases": [],
2472
- "id": "admin:limits:delete",
2445
+ "id": "admin:subscription:cancel",
2473
2446
  "pluginAlias": "@linkedapi/linkedin-cli",
2474
2447
  "pluginName": "@linkedapi/linkedin-cli",
2475
2448
  "pluginType": "core",
@@ -2480,22 +2453,16 @@
2480
2453
  "dist",
2481
2454
  "commands",
2482
2455
  "admin",
2483
- "limits",
2484
- "delete.js"
2456
+ "subscription",
2457
+ "cancel.js"
2485
2458
  ]
2486
2459
  },
2487
- "admin:limits:get": {
2460
+ "admin:subscription:pricing": {
2488
2461
  "aliases": [],
2489
- "args": {
2490
- "accountId": {
2491
- "description": "Account UUID",
2492
- "name": "accountId",
2493
- "required": true
2494
- }
2495
- },
2496
- "description": "View current limits for an account",
2462
+ "args": {},
2463
+ "description": "View available pricing options",
2497
2464
  "examples": [
2498
- "<%= config.bin %> admin limits get f9b4346a-..."
2465
+ "<%= config.bin %> admin subscription pricing"
2499
2466
  ],
2500
2467
  "flags": {
2501
2468
  "json": {
@@ -2527,7 +2494,7 @@
2527
2494
  },
2528
2495
  "hasDynamicHelp": false,
2529
2496
  "hiddenAliases": [],
2530
- "id": "admin:limits:get",
2497
+ "id": "admin:subscription:pricing",
2531
2498
  "pluginAlias": "@linkedapi/linkedin-cli",
2532
2499
  "pluginName": "@linkedapi/linkedin-cli",
2533
2500
  "pluginType": "core",
@@ -2538,22 +2505,16 @@
2538
2505
  "dist",
2539
2506
  "commands",
2540
2507
  "admin",
2541
- "limits",
2542
- "get.js"
2508
+ "subscription",
2509
+ "pricing.js"
2543
2510
  ]
2544
2511
  },
2545
- "admin:limits:reset": {
2512
+ "admin:subscription:seats": {
2546
2513
  "aliases": [],
2547
- "args": {
2548
- "accountId": {
2549
- "description": "Account UUID",
2550
- "name": "accountId",
2551
- "required": true
2552
- }
2553
- },
2554
- "description": "Reset all limits to defaults",
2514
+ "args": {},
2515
+ "description": "View current subscription seats",
2555
2516
  "examples": [
2556
- "<%= config.bin %> admin limits reset f9b4346a-..."
2517
+ "<%= config.bin %> admin subscription seats"
2557
2518
  ],
2558
2519
  "flags": {
2559
2520
  "json": {
@@ -2585,7 +2546,7 @@
2585
2546
  },
2586
2547
  "hasDynamicHelp": false,
2587
2548
  "hiddenAliases": [],
2588
- "id": "admin:limits:reset",
2549
+ "id": "admin:subscription:seats",
2589
2550
  "pluginAlias": "@linkedapi/linkedin-cli",
2590
2551
  "pluginName": "@linkedapi/linkedin-cli",
2591
2552
  "pluginType": "core",
@@ -2596,22 +2557,16 @@
2596
2557
  "dist",
2597
2558
  "commands",
2598
2559
  "admin",
2599
- "limits",
2600
- "reset.js"
2560
+ "subscription",
2561
+ "seats.js"
2601
2562
  ]
2602
2563
  },
2603
- "admin:limits:set": {
2564
+ "admin:subscription:set-seats": {
2604
2565
  "aliases": [],
2605
- "args": {
2606
- "accountId": {
2607
- "description": "Account UUID",
2608
- "name": "accountId",
2609
- "required": true
2610
- }
2611
- },
2612
- "description": "Set limits for an account",
2566
+ "args": {},
2567
+ "description": "Set subscription seats (updates existing or returns checkout link)",
2613
2568
  "examples": [
2614
- "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2569
+ "<%= config.bin %> admin subscription set-seats --quantity 5 --type plus --period year"
2615
2570
  ],
2616
2571
  "flags": {
2617
2572
  "json": {
@@ -2640,39 +2595,42 @@
2640
2595
  "allowNo": false,
2641
2596
  "type": "boolean"
2642
2597
  },
2643
- "category": {
2644
- "description": "Limit category",
2645
- "name": "category",
2598
+ "quantity": {
2599
+ "description": "Number of seats (1-1000)",
2600
+ "name": "quantity",
2646
2601
  "required": true,
2647
2602
  "hasDynamicHelp": false,
2648
2603
  "multiple": false,
2649
2604
  "type": "option"
2650
2605
  },
2651
- "period": {
2652
- "description": "Limit period",
2653
- "name": "period",
2606
+ "type": {
2607
+ "description": "Seat type",
2608
+ "name": "type",
2654
2609
  "required": true,
2655
2610
  "hasDynamicHelp": false,
2656
2611
  "multiple": false,
2657
2612
  "options": [
2658
- "daily",
2659
- "weekly",
2660
- "monthly"
2613
+ "core",
2614
+ "plus"
2661
2615
  ],
2662
2616
  "type": "option"
2663
2617
  },
2664
- "max": {
2665
- "description": "Maximum allowed actions (>= 0)",
2666
- "name": "max",
2618
+ "period": {
2619
+ "description": "Billing period",
2620
+ "name": "period",
2667
2621
  "required": true,
2668
2622
  "hasDynamicHelp": false,
2669
2623
  "multiple": false,
2624
+ "options": [
2625
+ "month",
2626
+ "year"
2627
+ ],
2670
2628
  "type": "option"
2671
2629
  }
2672
2630
  },
2673
2631
  "hasDynamicHelp": false,
2674
2632
  "hiddenAliases": [],
2675
- "id": "admin:limits:set",
2633
+ "id": "admin:subscription:set-seats",
2676
2634
  "pluginAlias": "@linkedapi/linkedin-cli",
2677
2635
  "pluginName": "@linkedapi/linkedin-cli",
2678
2636
  "pluginType": "core",
@@ -2683,22 +2641,16 @@
2683
2641
  "dist",
2684
2642
  "commands",
2685
2643
  "admin",
2686
- "limits",
2687
- "set.js"
2644
+ "subscription",
2645
+ "set-seats.js"
2688
2646
  ]
2689
2647
  },
2690
- "admin:limits:usage": {
2648
+ "admin:subscription:status": {
2691
2649
  "aliases": [],
2692
- "args": {
2693
- "accountId": {
2694
- "description": "Account UUID",
2695
- "name": "accountId",
2696
- "required": true
2697
- }
2698
- },
2699
- "description": "View current usage against limits",
2650
+ "args": {},
2651
+ "description": "Check subscription status",
2700
2652
  "examples": [
2701
- "<%= config.bin %> admin limits usage f9b4346a-..."
2653
+ "<%= config.bin %> admin subscription status"
2702
2654
  ],
2703
2655
  "flags": {
2704
2656
  "json": {
@@ -2730,7 +2682,7 @@
2730
2682
  },
2731
2683
  "hasDynamicHelp": false,
2732
2684
  "hiddenAliases": [],
2733
- "id": "admin:limits:usage",
2685
+ "id": "admin:subscription:status",
2734
2686
  "pluginAlias": "@linkedapi/linkedin-cli",
2735
2687
  "pluginName": "@linkedapi/linkedin-cli",
2736
2688
  "pluginType": "core",
@@ -2741,16 +2693,16 @@
2741
2693
  "dist",
2742
2694
  "commands",
2743
2695
  "admin",
2744
- "limits",
2745
- "usage.js"
2696
+ "subscription",
2697
+ "status.js"
2746
2698
  ]
2747
2699
  },
2748
- "admin:subscription:billing-link": {
2700
+ "admin:limits:defaults": {
2749
2701
  "aliases": [],
2750
2702
  "args": {},
2751
- "description": "Get billing portal link",
2703
+ "description": "View system default limits",
2752
2704
  "examples": [
2753
- "<%= config.bin %> admin subscription billing-link"
2705
+ "<%= config.bin %> admin limits defaults"
2754
2706
  ],
2755
2707
  "flags": {
2756
2708
  "json": {
@@ -2782,7 +2734,7 @@
2782
2734
  },
2783
2735
  "hasDynamicHelp": false,
2784
2736
  "hiddenAliases": [],
2785
- "id": "admin:subscription:billing-link",
2737
+ "id": "admin:limits:defaults",
2786
2738
  "pluginAlias": "@linkedapi/linkedin-cli",
2787
2739
  "pluginName": "@linkedapi/linkedin-cli",
2788
2740
  "pluginType": "core",
@@ -2793,16 +2745,22 @@
2793
2745
  "dist",
2794
2746
  "commands",
2795
2747
  "admin",
2796
- "subscription",
2797
- "billing-link.js"
2748
+ "limits",
2749
+ "defaults.js"
2798
2750
  ]
2799
2751
  },
2800
- "admin:subscription:cancel": {
2752
+ "admin:limits:delete": {
2801
2753
  "aliases": [],
2802
- "args": {},
2803
- "description": "Cancel subscription at period end",
2754
+ "args": {
2755
+ "accountId": {
2756
+ "description": "Account UUID",
2757
+ "name": "accountId",
2758
+ "required": true
2759
+ }
2760
+ },
2761
+ "description": "Delete specific limits (falls back to defaults)",
2804
2762
  "examples": [
2805
- "<%= config.bin %> admin subscription cancel"
2763
+ "<%= config.bin %> admin limits delete f9b4346a-... --category stMessages --period daily"
2806
2764
  ],
2807
2765
  "flags": {
2808
2766
  "json": {
@@ -2830,11 +2788,32 @@
2830
2788
  "name": "no-color",
2831
2789
  "allowNo": false,
2832
2790
  "type": "boolean"
2791
+ },
2792
+ "category": {
2793
+ "description": "Limit category",
2794
+ "name": "category",
2795
+ "required": true,
2796
+ "hasDynamicHelp": false,
2797
+ "multiple": false,
2798
+ "type": "option"
2799
+ },
2800
+ "period": {
2801
+ "description": "Limit period",
2802
+ "name": "period",
2803
+ "required": true,
2804
+ "hasDynamicHelp": false,
2805
+ "multiple": false,
2806
+ "options": [
2807
+ "daily",
2808
+ "weekly",
2809
+ "monthly"
2810
+ ],
2811
+ "type": "option"
2833
2812
  }
2834
2813
  },
2835
2814
  "hasDynamicHelp": false,
2836
2815
  "hiddenAliases": [],
2837
- "id": "admin:subscription:cancel",
2816
+ "id": "admin:limits:delete",
2838
2817
  "pluginAlias": "@linkedapi/linkedin-cli",
2839
2818
  "pluginName": "@linkedapi/linkedin-cli",
2840
2819
  "pluginType": "core",
@@ -2845,16 +2824,22 @@
2845
2824
  "dist",
2846
2825
  "commands",
2847
2826
  "admin",
2848
- "subscription",
2849
- "cancel.js"
2827
+ "limits",
2828
+ "delete.js"
2850
2829
  ]
2851
2830
  },
2852
- "admin:subscription:pricing": {
2831
+ "admin:limits:get": {
2853
2832
  "aliases": [],
2854
- "args": {},
2855
- "description": "View available pricing options",
2833
+ "args": {
2834
+ "accountId": {
2835
+ "description": "Account UUID",
2836
+ "name": "accountId",
2837
+ "required": true
2838
+ }
2839
+ },
2840
+ "description": "View current limits for an account",
2856
2841
  "examples": [
2857
- "<%= config.bin %> admin subscription pricing"
2842
+ "<%= config.bin %> admin limits get f9b4346a-..."
2858
2843
  ],
2859
2844
  "flags": {
2860
2845
  "json": {
@@ -2886,7 +2871,7 @@
2886
2871
  },
2887
2872
  "hasDynamicHelp": false,
2888
2873
  "hiddenAliases": [],
2889
- "id": "admin:subscription:pricing",
2874
+ "id": "admin:limits:get",
2890
2875
  "pluginAlias": "@linkedapi/linkedin-cli",
2891
2876
  "pluginName": "@linkedapi/linkedin-cli",
2892
2877
  "pluginType": "core",
@@ -2897,16 +2882,22 @@
2897
2882
  "dist",
2898
2883
  "commands",
2899
2884
  "admin",
2900
- "subscription",
2901
- "pricing.js"
2885
+ "limits",
2886
+ "get.js"
2902
2887
  ]
2903
2888
  },
2904
- "admin:subscription:seats": {
2889
+ "admin:limits:reset": {
2905
2890
  "aliases": [],
2906
- "args": {},
2907
- "description": "View current subscription seats",
2891
+ "args": {
2892
+ "accountId": {
2893
+ "description": "Account UUID",
2894
+ "name": "accountId",
2895
+ "required": true
2896
+ }
2897
+ },
2898
+ "description": "Reset all limits to defaults",
2908
2899
  "examples": [
2909
- "<%= config.bin %> admin subscription seats"
2900
+ "<%= config.bin %> admin limits reset f9b4346a-..."
2910
2901
  ],
2911
2902
  "flags": {
2912
2903
  "json": {
@@ -2938,7 +2929,7 @@
2938
2929
  },
2939
2930
  "hasDynamicHelp": false,
2940
2931
  "hiddenAliases": [],
2941
- "id": "admin:subscription:seats",
2932
+ "id": "admin:limits:reset",
2942
2933
  "pluginAlias": "@linkedapi/linkedin-cli",
2943
2934
  "pluginName": "@linkedapi/linkedin-cli",
2944
2935
  "pluginType": "core",
@@ -2949,16 +2940,22 @@
2949
2940
  "dist",
2950
2941
  "commands",
2951
2942
  "admin",
2952
- "subscription",
2953
- "seats.js"
2943
+ "limits",
2944
+ "reset.js"
2954
2945
  ]
2955
2946
  },
2956
- "admin:subscription:set-seats": {
2947
+ "admin:limits:set": {
2957
2948
  "aliases": [],
2958
- "args": {},
2959
- "description": "Set subscription seats (updates existing or returns checkout link)",
2949
+ "args": {
2950
+ "accountId": {
2951
+ "description": "Account UUID",
2952
+ "name": "accountId",
2953
+ "required": true
2954
+ }
2955
+ },
2956
+ "description": "Set limits for an account",
2960
2957
  "examples": [
2961
- "<%= config.bin %> admin subscription set-seats --quantity 5 --type plus --period year"
2958
+ "<%= config.bin %> admin limits set f9b4346a-... --category stMessages --period daily --max 25"
2962
2959
  ],
2963
2960
  "flags": {
2964
2961
  "json": {
@@ -2987,42 +2984,39 @@
2987
2984
  "allowNo": false,
2988
2985
  "type": "boolean"
2989
2986
  },
2990
- "quantity": {
2991
- "description": "Number of seats (1-1000)",
2992
- "name": "quantity",
2987
+ "category": {
2988
+ "description": "Limit category",
2989
+ "name": "category",
2993
2990
  "required": true,
2994
2991
  "hasDynamicHelp": false,
2995
2992
  "multiple": false,
2996
2993
  "type": "option"
2997
2994
  },
2998
- "type": {
2999
- "description": "Seat type",
3000
- "name": "type",
2995
+ "period": {
2996
+ "description": "Limit period",
2997
+ "name": "period",
3001
2998
  "required": true,
3002
2999
  "hasDynamicHelp": false,
3003
3000
  "multiple": false,
3004
3001
  "options": [
3005
- "core",
3006
- "plus"
3002
+ "daily",
3003
+ "weekly",
3004
+ "monthly"
3007
3005
  ],
3008
3006
  "type": "option"
3009
3007
  },
3010
- "period": {
3011
- "description": "Billing period",
3012
- "name": "period",
3008
+ "max": {
3009
+ "description": "Maximum allowed actions (>= 0)",
3010
+ "name": "max",
3013
3011
  "required": true,
3014
3012
  "hasDynamicHelp": false,
3015
3013
  "multiple": false,
3016
- "options": [
3017
- "month",
3018
- "year"
3019
- ],
3020
3014
  "type": "option"
3021
3015
  }
3022
3016
  },
3023
3017
  "hasDynamicHelp": false,
3024
3018
  "hiddenAliases": [],
3025
- "id": "admin:subscription:set-seats",
3019
+ "id": "admin:limits:set",
3026
3020
  "pluginAlias": "@linkedapi/linkedin-cli",
3027
3021
  "pluginName": "@linkedapi/linkedin-cli",
3028
3022
  "pluginType": "core",
@@ -3033,16 +3027,22 @@
3033
3027
  "dist",
3034
3028
  "commands",
3035
3029
  "admin",
3036
- "subscription",
3037
- "set-seats.js"
3030
+ "limits",
3031
+ "set.js"
3038
3032
  ]
3039
3033
  },
3040
- "admin:subscription:status": {
3034
+ "admin:limits:usage": {
3041
3035
  "aliases": [],
3042
- "args": {},
3043
- "description": "Check subscription status",
3036
+ "args": {
3037
+ "accountId": {
3038
+ "description": "Account UUID",
3039
+ "name": "accountId",
3040
+ "required": true
3041
+ }
3042
+ },
3043
+ "description": "View current usage against limits",
3044
3044
  "examples": [
3045
- "<%= config.bin %> admin subscription status"
3045
+ "<%= config.bin %> admin limits usage f9b4346a-..."
3046
3046
  ],
3047
3047
  "flags": {
3048
3048
  "json": {
@@ -3074,7 +3074,7 @@
3074
3074
  },
3075
3075
  "hasDynamicHelp": false,
3076
3076
  "hiddenAliases": [],
3077
- "id": "admin:subscription:status",
3077
+ "id": "admin:limits:usage",
3078
3078
  "pluginAlias": "@linkedapi/linkedin-cli",
3079
3079
  "pluginName": "@linkedapi/linkedin-cli",
3080
3080
  "pluginType": "core",
@@ -3085,8 +3085,8 @@
3085
3085
  "dist",
3086
3086
  "commands",
3087
3087
  "admin",
3088
- "subscription",
3089
- "status.js"
3088
+ "limits",
3089
+ "usage.js"
3090
3090
  ]
3091
3091
  },
3092
3092
  "navigator:company:fetch": {
@@ -3689,5 +3689,5 @@
3689
3689
  ]
3690
3690
  }
3691
3691
  },
3692
- "version": "1.0.9"
3692
+ "version": "1.0.10"
3693
3693
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@linkedapi/linkedin-cli",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "AI-agent-friendly CLI for controlling LinkedIn accounts and retrieving real-time data.",
5
5
  "author": "Linked API",
6
6
  "license": "MIT",
@@ -43,7 +43,7 @@
43
43
  "ai-agent"
44
44
  ],
45
45
  "dependencies": {
46
- "@linkedapi/node": "^1.2.18",
46
+ "@linkedapi/node": "^1.2.19",
47
47
  "@oclif/core": "^4.2.10"
48
48
  },
49
49
  "devDependencies": {