linkedin-secret-sauce 0.3.6 → 0.3.8

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.
@@ -235,153 +235,178 @@ export declare const LANGUAGE_OPTIONS: readonly [{
235
235
  readonly id: "tr";
236
236
  readonly text: "Turkish";
237
237
  }];
238
+ export declare const COMPANY_SIZE_OPTIONS: readonly [{
239
+ readonly id: "A";
240
+ readonly text: "Self-employed";
241
+ }, {
242
+ readonly id: "B";
243
+ readonly text: "1-10";
244
+ }, {
245
+ readonly id: "C";
246
+ readonly text: "11-50";
247
+ }, {
248
+ readonly id: "D";
249
+ readonly text: "51-200";
250
+ }, {
251
+ readonly id: "E";
252
+ readonly text: "201-500";
253
+ }, {
254
+ readonly id: "F";
255
+ readonly text: "501-1,000";
256
+ }, {
257
+ readonly id: "G";
258
+ readonly text: "1,001-5,000";
259
+ }, {
260
+ readonly id: "H";
261
+ readonly text: "5,001-10,000";
262
+ }, {
263
+ readonly id: "I";
264
+ readonly text: "10,001+";
265
+ }];
238
266
  export declare const INDUSTRY_OPTIONS: readonly [{
267
+ readonly id: "1";
268
+ readonly text: "Defense & Space";
269
+ }, {
239
270
  readonly id: "3";
240
271
  readonly text: "Accounting";
241
272
  }, {
242
- readonly id: "47";
243
- readonly text: "Airlines/Aviation";
244
- }, {
245
- readonly id: "94";
246
- readonly text: "Alternative Dispute Resolution";
273
+ readonly id: "4";
274
+ readonly text: "Computer Software";
247
275
  }, {
248
- readonly id: "120";
249
- readonly text: "Alternative Medicine";
276
+ readonly id: "5";
277
+ readonly text: "Computer Networking";
250
278
  }, {
251
- readonly id: "125";
252
- readonly text: "Animation";
279
+ readonly id: "12";
280
+ readonly text: "Aviation & Aerospace";
253
281
  }, {
254
- readonly id: "127";
255
- readonly text: "Apparel & Fashion";
282
+ readonly id: "18";
283
+ readonly text: "Cosmetics";
256
284
  }, {
257
285
  readonly id: "19";
258
286
  readonly text: "Architecture & Planning";
259
287
  }, {
260
- readonly id: "50";
261
- readonly text: "Arts and Crafts";
288
+ readonly id: "23";
289
+ readonly text: "Food Production";
262
290
  }, {
263
- readonly id: "111";
264
- readonly text: "Automotive";
291
+ readonly id: "24";
292
+ readonly text: "Consumer Electronics";
265
293
  }, {
266
- readonly id: "12";
267
- readonly text: "Aviation & Aerospace";
294
+ readonly id: "25";
295
+ readonly text: "Consumer Goods";
296
+ }, {
297
+ readonly id: "26";
298
+ readonly text: "Furniture";
299
+ }, {
300
+ readonly id: "28";
301
+ readonly text: "Entertainment";
302
+ }, {
303
+ readonly id: "29";
304
+ readonly text: "Gambling & Casinos";
305
+ }, {
306
+ readonly id: "34";
307
+ readonly text: "Food & Beverages";
268
308
  }, {
269
309
  readonly id: "36";
270
310
  readonly text: "Banking";
271
311
  }, {
272
- readonly id: "49";
273
- readonly text: "Biotechnology";
312
+ readonly id: "38";
313
+ readonly text: "Fine Art";
274
314
  }, {
275
- readonly id: "138";
276
- readonly text: "Broadcast Media";
315
+ readonly id: "43";
316
+ readonly text: "Financial Services";
277
317
  }, {
278
- readonly id: "129";
279
- readonly text: "Building Materials";
318
+ readonly id: "47";
319
+ readonly text: "Airlines/Aviation";
280
320
  }, {
281
- readonly id: "54";
282
- readonly text: "Business Supplies and Equipment";
321
+ readonly id: "48";
322
+ readonly text: "Construction";
283
323
  }, {
284
- readonly id: "59";
285
- readonly text: "Chemicals";
324
+ readonly id: "49";
325
+ readonly text: "Biotechnology";
286
326
  }, {
287
- readonly id: "90";
288
- readonly text: "Civic & Social Organization";
327
+ readonly id: "50";
328
+ readonly text: "Arts and Crafts";
289
329
  }, {
290
330
  readonly id: "51";
291
331
  readonly text: "Civil Engineering";
292
332
  }, {
293
- readonly id: "128";
294
- readonly text: "Commercial Real Estate";
333
+ readonly id: "54";
334
+ readonly text: "Business Supplies and Equipment";
295
335
  }, {
296
- readonly id: "118";
297
- readonly text: "Computer & Network Security";
336
+ readonly id: "59";
337
+ readonly text: "Chemicals";
298
338
  }, {
299
- readonly id: "109";
300
- readonly text: "Computer Games";
339
+ readonly id: "63";
340
+ readonly text: "Farming";
301
341
  }, {
302
- readonly id: "3";
303
- readonly text: "Computer Hardware";
342
+ readonly id: "65";
343
+ readonly text: "Dairy";
304
344
  }, {
305
- readonly id: "5";
306
- readonly text: "Computer Networking";
345
+ readonly id: "66";
346
+ readonly text: "Fishery";
307
347
  }, {
308
- readonly id: "4";
309
- readonly text: "Computer Software";
348
+ readonly id: "69";
349
+ readonly text: "Education Management";
310
350
  }, {
311
- readonly id: "48";
312
- readonly text: "Construction";
351
+ readonly id: "76";
352
+ readonly text: "Executive Office";
313
353
  }, {
314
- readonly id: "24";
315
- readonly text: "Consumer Electronics";
354
+ readonly id: "86";
355
+ readonly text: "Environmental Services";
316
356
  }, {
317
- readonly id: "25";
318
- readonly text: "Consumer Goods";
357
+ readonly id: "90";
358
+ readonly text: "Civic & Social Organization";
319
359
  }, {
320
360
  readonly id: "91";
321
361
  readonly text: "Consumer Services";
322
362
  }, {
323
- readonly id: "18";
324
- readonly text: "Cosmetics";
325
- }, {
326
- readonly id: "65";
327
- readonly text: "Dairy";
328
- }, {
329
- readonly id: "1";
330
- readonly text: "Defense & Space";
363
+ readonly id: "94";
364
+ readonly text: "Alternative Dispute Resolution";
331
365
  }, {
332
366
  readonly id: "99";
333
367
  readonly text: "Design";
334
368
  }, {
335
- readonly id: "69";
336
- readonly text: "Education Management";
337
- }, {
338
- readonly id: "132";
339
- readonly text: "E-Learning";
340
- }, {
341
- readonly id: "112";
342
- readonly text: "Electrical/Electronic Manufacturing";
343
- }, {
344
- readonly id: "28";
345
- readonly text: "Entertainment";
369
+ readonly id: "101";
370
+ readonly text: "Fund-Raising";
346
371
  }, {
347
- readonly id: "86";
348
- readonly text: "Environmental Services";
372
+ readonly id: "109";
373
+ readonly text: "Computer Games";
349
374
  }, {
350
375
  readonly id: "110";
351
376
  readonly text: "Events Services";
352
377
  }, {
353
- readonly id: "76";
354
- readonly text: "Executive Office";
378
+ readonly id: "111";
379
+ readonly text: "Automotive";
355
380
  }, {
356
- readonly id: "122";
357
- readonly text: "Facilities Services";
381
+ readonly id: "112";
382
+ readonly text: "Electrical/Electronic Manufacturing";
358
383
  }, {
359
- readonly id: "63";
360
- readonly text: "Farming";
384
+ readonly id: "118";
385
+ readonly text: "Computer & Network Security";
361
386
  }, {
362
- readonly id: "43";
363
- readonly text: "Financial Services";
387
+ readonly id: "120";
388
+ readonly text: "Alternative Medicine";
364
389
  }, {
365
- readonly id: "38";
366
- readonly text: "Fine Art";
390
+ readonly id: "122";
391
+ readonly text: "Facilities Services";
367
392
  }, {
368
- readonly id: "66";
369
- readonly text: "Fishery";
393
+ readonly id: "125";
394
+ readonly text: "Animation";
370
395
  }, {
371
- readonly id: "34";
372
- readonly text: "Food & Beverages";
396
+ readonly id: "127";
397
+ readonly text: "Apparel & Fashion";
373
398
  }, {
374
- readonly id: "23";
375
- readonly text: "Food Production";
399
+ readonly id: "128";
400
+ readonly text: "Commercial Real Estate";
376
401
  }, {
377
- readonly id: "101";
378
- readonly text: "Fund-Raising";
402
+ readonly id: "129";
403
+ readonly text: "Building Materials";
379
404
  }, {
380
- readonly id: "26";
381
- readonly text: "Furniture";
405
+ readonly id: "132";
406
+ readonly text: "E-Learning";
382
407
  }, {
383
- readonly id: "29";
384
- readonly text: "Gambling & Casinos";
408
+ readonly id: "138";
409
+ readonly text: "Broadcast Media";
385
410
  }, {
386
411
  readonly id: "145";
387
412
  readonly text: "Glass, Ceramics & Concrete";
package/dist/constants.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * These provide instant default options without requiring API calls
5
5
  */
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.INDUSTRY_OPTIONS = exports.LANGUAGE_OPTIONS = exports.REGION_OPTIONS = exports.FUNCTION_OPTIONS = exports.YEARS_OPTIONS = exports.SENIORITY_OPTIONS = void 0;
7
+ exports.INDUSTRY_OPTIONS = exports.COMPANY_SIZE_OPTIONS = exports.LANGUAGE_OPTIONS = exports.REGION_OPTIONS = exports.FUNCTION_OPTIONS = exports.YEARS_OPTIONS = exports.SENIORITY_OPTIONS = void 0;
8
8
  // Seniority Levels - LinkedIn fixed levels
9
9
  exports.SENIORITY_OPTIONS = [
10
10
  { id: "1", text: "Unpaid" },
@@ -96,56 +96,67 @@ exports.LANGUAGE_OPTIONS = [
96
96
  { id: "tl", text: "Tagalog" },
97
97
  { id: "tr", text: "Turkish" },
98
98
  ];
99
- // Industries - top 50 most common industries from 400+ available
99
+ // Company Sizes - LinkedIn's 9 employee count ranges
100
+ exports.COMPANY_SIZE_OPTIONS = [
101
+ { id: "A", text: "Self-employed" },
102
+ { id: "B", text: "1-10" },
103
+ { id: "C", text: "11-50" },
104
+ { id: "D", text: "51-200" },
105
+ { id: "E", text: "201-500" },
106
+ { id: "F", text: "501-1,000" },
107
+ { id: "G", text: "1,001-5,000" },
108
+ { id: "H", text: "5,001-10,000" },
109
+ { id: "I", text: "10,001+" },
110
+ ];
111
+ // Industries - top 47 most common industries from 400+ available (duplicates removed)
100
112
  exports.INDUSTRY_OPTIONS = [
113
+ { id: "1", text: "Defense & Space" },
101
114
  { id: "3", text: "Accounting" },
102
- { id: "47", text: "Airlines/Aviation" },
103
- { id: "94", text: "Alternative Dispute Resolution" },
104
- { id: "120", text: "Alternative Medicine" },
105
- { id: "125", text: "Animation" },
106
- { id: "127", text: "Apparel & Fashion" },
107
- { id: "19", text: "Architecture & Planning" },
108
- { id: "50", text: "Arts and Crafts" },
109
- { id: "111", text: "Automotive" },
115
+ { id: "4", text: "Computer Software" },
116
+ { id: "5", text: "Computer Networking" },
110
117
  { id: "12", text: "Aviation & Aerospace" },
118
+ { id: "18", text: "Cosmetics" },
119
+ { id: "19", text: "Architecture & Planning" },
120
+ { id: "23", text: "Food Production" },
121
+ { id: "24", text: "Consumer Electronics" },
122
+ { id: "25", text: "Consumer Goods" },
123
+ { id: "26", text: "Furniture" },
124
+ { id: "28", text: "Entertainment" },
125
+ { id: "29", text: "Gambling & Casinos" },
126
+ { id: "34", text: "Food & Beverages" },
111
127
  { id: "36", text: "Banking" },
128
+ { id: "38", text: "Fine Art" },
129
+ { id: "43", text: "Financial Services" },
130
+ { id: "47", text: "Airlines/Aviation" },
131
+ { id: "48", text: "Construction" },
112
132
  { id: "49", text: "Biotechnology" },
113
- { id: "138", text: "Broadcast Media" },
114
- { id: "129", text: "Building Materials" },
133
+ { id: "50", text: "Arts and Crafts" },
134
+ { id: "51", text: "Civil Engineering" },
115
135
  { id: "54", text: "Business Supplies and Equipment" },
116
136
  { id: "59", text: "Chemicals" },
117
- { id: "90", text: "Civic & Social Organization" },
118
- { id: "51", text: "Civil Engineering" },
119
- { id: "128", text: "Commercial Real Estate" },
120
- { id: "118", text: "Computer & Network Security" },
121
- { id: "109", text: "Computer Games" },
122
- { id: "3", text: "Computer Hardware" },
123
- { id: "5", text: "Computer Networking" },
124
- { id: "4", text: "Computer Software" },
125
- { id: "48", text: "Construction" },
126
- { id: "24", text: "Consumer Electronics" },
127
- { id: "25", text: "Consumer Goods" },
128
- { id: "91", text: "Consumer Services" },
129
- { id: "18", text: "Cosmetics" },
137
+ { id: "63", text: "Farming" },
130
138
  { id: "65", text: "Dairy" },
131
- { id: "1", text: "Defense & Space" },
132
- { id: "99", text: "Design" },
139
+ { id: "66", text: "Fishery" },
133
140
  { id: "69", text: "Education Management" },
134
- { id: "132", text: "E-Learning" },
135
- { id: "112", text: "Electrical/Electronic Manufacturing" },
136
- { id: "28", text: "Entertainment" },
141
+ { id: "76", text: "Executive Office" },
137
142
  { id: "86", text: "Environmental Services" },
143
+ { id: "90", text: "Civic & Social Organization" },
144
+ { id: "91", text: "Consumer Services" },
145
+ { id: "94", text: "Alternative Dispute Resolution" },
146
+ { id: "99", text: "Design" },
147
+ { id: "101", text: "Fund-Raising" },
148
+ { id: "109", text: "Computer Games" },
138
149
  { id: "110", text: "Events Services" },
139
- { id: "76", text: "Executive Office" },
150
+ { id: "111", text: "Automotive" },
151
+ { id: "112", text: "Electrical/Electronic Manufacturing" },
152
+ { id: "118", text: "Computer & Network Security" },
153
+ { id: "120", text: "Alternative Medicine" },
140
154
  { id: "122", text: "Facilities Services" },
141
- { id: "63", text: "Farming" },
142
- { id: "43", text: "Financial Services" },
143
- { id: "38", text: "Fine Art" },
144
- { id: "66", text: "Fishery" },
145
- { id: "34", text: "Food & Beverages" },
146
- { id: "23", text: "Food Production" },
147
- { id: "101", text: "Fund-Raising" },
148
- { id: "26", text: "Furniture" },
149
- { id: "29", text: "Gambling & Casinos" },
155
+ { id: "125", text: "Animation" },
156
+ { id: "127", text: "Apparel & Fashion" },
157
+ { id: "128", text: "Commercial Real Estate" },
158
+ { id: "129", text: "Building Materials" },
159
+ { id: "132", text: "E-Learning" },
160
+ { id: "138", text: "Broadcast Media" },
150
161
  { id: "145", text: "Glass, Ceramics & Concrete" },
151
162
  ];
@@ -21,7 +21,7 @@ export declare function typeahead(options: {
21
21
  start?: number;
22
22
  count?: number;
23
23
  }): Promise<TypeaheadResult>;
24
- export { YEARS_OPTIONS as YEARS_AT_COMPANY_OPTIONS, YEARS_OPTIONS as YEARS_IN_POSITION_OPTIONS, YEARS_OPTIONS as YEARS_OF_EXPERIENCE_OPTIONS, SENIORITY_OPTIONS, FUNCTION_OPTIONS, REGION_OPTIONS, LANGUAGE_OPTIONS, INDUSTRY_OPTIONS, } from './constants';
24
+ export { YEARS_OPTIONS as YEARS_AT_COMPANY_OPTIONS, YEARS_OPTIONS as YEARS_IN_POSITION_OPTIONS, YEARS_OPTIONS as YEARS_OF_EXPERIENCE_OPTIONS, SENIORITY_OPTIONS, FUNCTION_OPTIONS, REGION_OPTIONS, LANGUAGE_OPTIONS, INDUSTRY_OPTIONS, COMPANY_SIZE_OPTIONS, } from './constants';
25
25
  /**
26
26
  * Returns static years at company options (no API call needed)
27
27
  */
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.INDUSTRY_OPTIONS = exports.LANGUAGE_OPTIONS = exports.REGION_OPTIONS = exports.FUNCTION_OPTIONS = exports.SENIORITY_OPTIONS = exports.YEARS_OF_EXPERIENCE_OPTIONS = exports.YEARS_IN_POSITION_OPTIONS = exports.YEARS_AT_COMPANY_OPTIONS = void 0;
3
+ exports.COMPANY_SIZE_OPTIONS = exports.INDUSTRY_OPTIONS = exports.LANGUAGE_OPTIONS = exports.REGION_OPTIONS = exports.FUNCTION_OPTIONS = exports.SENIORITY_OPTIONS = exports.YEARS_OF_EXPERIENCE_OPTIONS = exports.YEARS_IN_POSITION_OPTIONS = exports.YEARS_AT_COMPANY_OPTIONS = void 0;
4
4
  exports.getProfileByVanity = getProfileByVanity;
5
5
  exports.getProfileByUrn = getProfileByUrn;
6
6
  exports.searchSalesLeads = searchSalesLeads;
@@ -366,6 +366,9 @@ async function typeahead(options) {
366
366
  case 'SENIORITY_LEVEL':
367
367
  staticOptions = constants_1.SENIORITY_OPTIONS;
368
368
  break;
369
+ case 'COMPANY_SIZE':
370
+ staticOptions = constants_1.COMPANY_SIZE_OPTIONS;
371
+ break;
369
372
  }
370
373
  if (staticOptions) {
371
374
  return {
@@ -425,6 +428,7 @@ Object.defineProperty(exports, "FUNCTION_OPTIONS", { enumerable: true, get: func
425
428
  Object.defineProperty(exports, "REGION_OPTIONS", { enumerable: true, get: function () { return constants_2.REGION_OPTIONS; } });
426
429
  Object.defineProperty(exports, "LANGUAGE_OPTIONS", { enumerable: true, get: function () { return constants_2.LANGUAGE_OPTIONS; } });
427
430
  Object.defineProperty(exports, "INDUSTRY_OPTIONS", { enumerable: true, get: function () { return constants_2.INDUSTRY_OPTIONS; } });
431
+ Object.defineProperty(exports, "COMPANY_SIZE_OPTIONS", { enumerable: true, get: function () { return constants_2.COMPANY_SIZE_OPTIONS; } });
428
432
  /**
429
433
  * Returns static years at company options (no API call needed)
430
434
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkedin-secret-sauce",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Private LinkedIn Sales Navigator client with automatic cookie management",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",