linkedin-secret-sauce 0.12.3 → 0.12.4

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 (154) hide show
  1. package/README.md +6 -49
  2. package/dist/enrichment/index.d.ts +3 -5
  3. package/dist/enrichment/index.js +4 -20
  4. package/dist/enrichment/matching.d.ts +4 -8
  5. package/dist/enrichment/matching.js +6 -5
  6. package/dist/enrichment/orchestrator.d.ts +1 -1
  7. package/dist/enrichment/orchestrator.js +51 -44
  8. package/dist/enrichment/providers/index.d.ts +0 -2
  9. package/dist/enrichment/providers/index.js +1 -8
  10. package/dist/enrichment/providers/snovio.d.ts +4 -4
  11. package/dist/enrichment/providers/snovio.js +14 -14
  12. package/dist/enrichment/types.d.ts +8 -71
  13. package/dist/enrichment/types.js +3 -8
  14. package/dist/enrichment/utils/rate-limiter.js +0 -2
  15. package/dist/index.d.ts +2 -4
  16. package/dist/index.js +2 -2
  17. package/docs/ENRICHMENT.md +3 -45
  18. package/docs/INTEGRATION.md +1 -3
  19. package/docs/PLAYGROUND.md +4 -9
  20. package/docs/api/assets/hierarchy.js +1 -1
  21. package/docs/api/assets/navigation.js +1 -1
  22. package/docs/api/assets/search.js +1 -1
  23. package/docs/api/classes/LinkedInClientError.html +4 -4
  24. package/docs/api/functions/_testGetAccountCookies.html +2 -2
  25. package/docs/api/functions/_testGetAccountEntry.html +2 -2
  26. package/docs/api/functions/_testGetAllAccountIds.html +2 -2
  27. package/docs/api/functions/_testGetPoolState.html +2 -2
  28. package/docs/api/functions/adminResetAccount.html +1 -1
  29. package/docs/api/functions/adminSetCooldown.html +1 -1
  30. package/docs/api/functions/buildCookieHeader.html +1 -1
  31. package/docs/api/functions/clearAllSmartLeadTokens.html +2 -2
  32. package/docs/api/functions/clearRequestHistory.html +1 -1
  33. package/docs/api/functions/clearSessionAccount.html +1 -1
  34. package/docs/api/functions/clearSmartLeadToken.html +2 -2
  35. package/docs/api/functions/createEnrichmentClient.html +3 -3
  36. package/docs/api/functions/extractCsrfToken.html +1 -1
  37. package/docs/api/functions/extractLinkedInHandle.html +2 -2
  38. package/docs/api/functions/fetchCookiesFromCosiall.html +2 -2
  39. package/docs/api/functions/fetchProfileEmailsFromCosiall.html +2 -2
  40. package/docs/api/functions/forceRefreshCookies.html +1 -1
  41. package/docs/api/functions/getAccountForSession.html +1 -1
  42. package/docs/api/functions/getAccountsSummary.html +1 -1
  43. package/docs/api/functions/getCompaniesBatch.html +2 -2
  44. package/docs/api/functions/getCompanyById.html +2 -2
  45. package/docs/api/functions/getCompanyByUrl.html +1 -1
  46. package/docs/api/functions/getConfig.html +1 -1
  47. package/docs/api/functions/getCookiePoolHealth.html +1 -1
  48. package/docs/api/functions/getProfileByUrn.html +2 -2
  49. package/docs/api/functions/getProfileByVanity.html +2 -2
  50. package/docs/api/functions/getProfilesBatch.html +1 -1
  51. package/docs/api/functions/getRequestHistory.html +1 -1
  52. package/docs/api/functions/getSalesNavigatorProfileDetails.html +1 -1
  53. package/docs/api/functions/getSalesNavigatorProfileFull.html +2 -2
  54. package/docs/api/functions/getSmartLeadToken.html +1 -1
  55. package/docs/api/functions/getSmartLeadTokenCacheStats.html +2 -2
  56. package/docs/api/functions/getSmartLeadUser.html +2 -2
  57. package/docs/api/functions/getSnapshot.html +1 -1
  58. package/docs/api/functions/getYearsAtCompanyOptions.html +2 -2
  59. package/docs/api/functions/getYearsInPositionOptions.html +2 -2
  60. package/docs/api/functions/getYearsOfExperienceOptions.html +2 -2
  61. package/docs/api/functions/incrementMetric.html +1 -1
  62. package/docs/api/functions/initializeCookiePool.html +1 -1
  63. package/docs/api/functions/initializeLinkedInClient.html +1 -1
  64. package/docs/api/functions/isBusinessEmail.html +2 -2
  65. package/docs/api/functions/isDisposableDomain.html +2 -2
  66. package/docs/api/functions/isDisposableEmail.html +2 -2
  67. package/docs/api/functions/isPersonalDomain.html +2 -2
  68. package/docs/api/functions/isPersonalEmail.html +2 -2
  69. package/docs/api/functions/isRoleAccount.html +2 -2
  70. package/docs/api/functions/isValidEmailSyntax.html +2 -2
  71. package/docs/api/functions/parseFullProfile.html +2 -2
  72. package/docs/api/functions/parseSalesSearchResults.html +1 -1
  73. package/docs/api/functions/reportAccountFailure.html +1 -1
  74. package/docs/api/functions/reportAccountSuccess.html +1 -1
  75. package/docs/api/functions/resolveCompanyUniversalName.html +1 -1
  76. package/docs/api/functions/searchSalesLeads.html +2 -2
  77. package/docs/api/functions/selectAccountForRequest.html +1 -1
  78. package/docs/api/functions/setAccountForSession.html +1 -1
  79. package/docs/api/functions/typeahead.html +1 -1
  80. package/docs/api/functions/verifyEmailMx.html +1 -1
  81. package/docs/api/hierarchy.html +1 -1
  82. package/docs/api/index.html +3 -3
  83. package/docs/api/interfaces/AccountCookies.html +2 -2
  84. package/docs/api/interfaces/BatchEnrichmentOptions.html +8 -8
  85. package/docs/api/interfaces/CacheAdapter.html +4 -4
  86. package/docs/api/interfaces/CanonicalEmail.html +8 -8
  87. package/docs/api/interfaces/Company.html +2 -2
  88. package/docs/api/interfaces/ConstructConfig.html +5 -5
  89. package/docs/api/interfaces/CosiallProfileEmailsResponse.html +6 -6
  90. package/docs/api/interfaces/EnrichmentCandidate.html +4 -4
  91. package/docs/api/interfaces/EnrichmentClient.html +6 -6
  92. package/docs/api/interfaces/EnrichmentClientConfig.html +7 -7
  93. package/docs/api/interfaces/EnrichmentLogger.html +3 -3
  94. package/docs/api/interfaces/EnrichmentOptions.html +6 -6
  95. package/docs/api/interfaces/HunterConfig.html +3 -3
  96. package/docs/api/interfaces/LddConfig.html +3 -3
  97. package/docs/api/interfaces/LddProfileData.html +2 -2
  98. package/docs/api/interfaces/LinkedInClientConfig.html +2 -2
  99. package/docs/api/interfaces/LinkedInCookie.html +2 -2
  100. package/docs/api/interfaces/LinkedInPosition.html +2 -2
  101. package/docs/api/interfaces/LinkedInProfile.html +2 -2
  102. package/docs/api/interfaces/LinkedInSpotlightBadge.html +2 -2
  103. package/docs/api/interfaces/LinkedInTenure.html +2 -2
  104. package/docs/api/interfaces/Metrics.html +2 -2
  105. package/docs/api/interfaces/MetricsSnapshot.html +2 -2
  106. package/docs/api/interfaces/ProfileEducation.html +2 -2
  107. package/docs/api/interfaces/ProfileEmailsLookupOptions.html +5 -5
  108. package/docs/api/interfaces/ProfilePosition.html +2 -2
  109. package/docs/api/interfaces/ProfileSkill.html +2 -2
  110. package/docs/api/interfaces/ProviderResult.html +6 -6
  111. package/docs/api/interfaces/ProvidersConfig.html +6 -9
  112. package/docs/api/interfaces/RequestHistoryEntry.html +2 -2
  113. package/docs/api/interfaces/SalesLeadSearchResult.html +2 -2
  114. package/docs/api/interfaces/SalesNavigatorContactInfo.html +2 -2
  115. package/docs/api/interfaces/SalesNavigatorPosition.html +2 -2
  116. package/docs/api/interfaces/SalesNavigatorProfile.html +2 -2
  117. package/docs/api/interfaces/SalesNavigatorProfileFull.html +4 -4
  118. package/docs/api/interfaces/SearchSalesResult.html +2 -2
  119. package/docs/api/interfaces/SmartLeadAuthConfig.html +4 -4
  120. package/docs/api/interfaces/SmartLeadCredentials.html +2 -2
  121. package/docs/api/interfaces/SmartLeadLoginResponse.html +2 -2
  122. package/docs/api/interfaces/SmartLeadUser.html +2 -2
  123. package/docs/api/interfaces/SmartProspectConfig.html +8 -8
  124. package/docs/api/interfaces/SmartProspectContact.html +2 -2
  125. package/docs/api/interfaces/SmartProspectSearchFilters.html +21 -21
  126. package/docs/api/interfaces/TypeaheadItem.html +2 -2
  127. package/docs/api/interfaces/TypeaheadResult.html +2 -2
  128. package/docs/api/interfaces/VerificationResult.html +9 -9
  129. package/docs/api/types/CostCallback.html +2 -2
  130. package/docs/api/types/Geo.html +2 -2
  131. package/docs/api/types/LddApiResponse.html +1 -1
  132. package/docs/api/types/ProviderFunc.html +2 -2
  133. package/docs/api/types/ProviderName.html +2 -2
  134. package/docs/api/types/SalesSearchFilters.html +2 -2
  135. package/docs/api/types/TypeaheadType.html +1 -1
  136. package/docs/api/variables/COMPANY_SIZE_OPTIONS.html +1 -1
  137. package/docs/api/variables/DEFAULT_PROVIDER_ORDER.html +3 -4
  138. package/docs/api/variables/DISPOSABLE_DOMAINS.html +2 -2
  139. package/docs/api/variables/FUNCTION_OPTIONS.html +1 -1
  140. package/docs/api/variables/INDUSTRY_OPTIONS.html +1 -1
  141. package/docs/api/variables/LANGUAGE_OPTIONS.html +1 -1
  142. package/docs/api/variables/PERSONAL_DOMAINS.html +2 -2
  143. package/docs/api/variables/PROVIDER_COSTS.html +3 -5
  144. package/docs/api/variables/REGION_OPTIONS.html +1 -1
  145. package/docs/api/variables/SENIORITY_OPTIONS.html +2 -2
  146. package/docs/api/variables/YEARS_OPTIONS.html +1 -1
  147. package/package.json +1 -1
  148. package/dist/enrichment/providers/apollo.d.ts +0 -11
  149. package/dist/enrichment/providers/apollo.js +0 -181
  150. package/dist/enrichment/providers/bouncer.d.ts +0 -67
  151. package/dist/enrichment/providers/bouncer.js +0 -231
  152. package/dist/enrichment/providers/dropcontact.d.ts +0 -22
  153. package/dist/enrichment/providers/dropcontact.js +0 -206
  154. package/docs/api/interfaces/DropcontactConfig.html +0 -3
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>REGION_OPTIONS | LinkedIn Secret Sauce - v0.12.3</title><meta name="description" content="Documentation for LinkedIn Secret Sauce"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">LinkedIn Secret Sauce - v0.12.3</a><div id="tsd-toolbar-links"><a href="https://github.com/enerage/LinkedInSecretSauce">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">REGION_OPTIONS</a></li></ul><h1>Variable REGION_OPTIONS<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">REGION_OPTIONS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <span class="tsd-signature-symbol">[</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102890883&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Oceania&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;100506914&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;EMEA&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;105015875&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;DACH&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102221843&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;North America&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;104738515&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;South America&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;90009706&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Southeast Asia&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102393603&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Asia-Pacific&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;90000084&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Europe&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;106155005&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Middle East&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;103883259&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Latin America&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;91000002&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Africa&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102095887&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Caribbean&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;90009790&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Central Asia&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/enerage/LinkedInSecretSauce/blob/142a9d0b85e83a724e9d23b89f1efc205b5a6dbd/src/constants.ts#L60">src/constants.ts:60</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/enerage/LinkedInSecretSauce" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../index.html">LinkedIn Secret Sauce - v0.12.3</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>REGION_OPTIONS | LinkedIn Secret Sauce - v0.12.4</title><meta name="description" content="Documentation for LinkedIn Secret Sauce"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">LinkedIn Secret Sauce - v0.12.4</a><div id="tsd-toolbar-links"><a href="https://github.com/enerage/LinkedInSecretSauce">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">REGION_OPTIONS</a></li></ul><h1>Variable REGION_OPTIONS<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">REGION_OPTIONS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <span class="tsd-signature-symbol">[</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102890883&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Oceania&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;100506914&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;EMEA&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;105015875&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;DACH&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102221843&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;North America&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;104738515&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;South America&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;90009706&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Southeast Asia&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102393603&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Asia-Pacific&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;90000084&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Europe&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;106155005&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Middle East&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;103883259&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Latin America&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;91000002&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Africa&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;102095887&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Caribbean&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;90009790&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Central Asia&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/enerage/LinkedInSecretSauce/blob/5712d0e4c3bfc7710e9de69942de1ca8d6b26407/src/constants.ts#L60">src/constants.ts:60</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/enerage/LinkedInSecretSauce" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../index.html">LinkedIn Secret Sauce - v0.12.4</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1,3 +1,3 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SENIORITY_OPTIONS | LinkedIn Secret Sauce - v0.12.3</title><meta name="description" content="Documentation for LinkedIn Secret Sauce"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">LinkedIn Secret Sauce - v0.12.3</a><div id="tsd-toolbar-links"><a href="https://github.com/enerage/LinkedInSecretSauce">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SENIORITY_OPTIONS</a></li></ul><h1>Variable SENIORITY_OPTIONS<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SENIORITY_OPTIONS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <span class="tsd-signature-symbol">[</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;1&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Unpaid&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;2&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Training&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;3&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Entry level&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;4&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Senior&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;5&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Manager&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;6&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Director&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;7&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;VP&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;8&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CXO&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;9&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Partner&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;10&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Owner&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Static filter constants for LinkedIn Sales Navigator
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SENIORITY_OPTIONS | LinkedIn Secret Sauce - v0.12.4</title><meta name="description" content="Documentation for LinkedIn Secret Sauce"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">LinkedIn Secret Sauce - v0.12.4</a><div id="tsd-toolbar-links"><a href="https://github.com/enerage/LinkedInSecretSauce">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SENIORITY_OPTIONS</a></li></ul><h1>Variable SENIORITY_OPTIONS<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SENIORITY_OPTIONS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <span class="tsd-signature-symbol">[</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;1&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Unpaid&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;2&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Training&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;3&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Entry level&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;4&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Senior&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;5&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Manager&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;6&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Director&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;7&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;VP&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;8&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CXO&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;9&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Partner&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;10&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;Owner&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Static filter constants for LinkedIn Sales Navigator
2
2
  These provide instant default options without requiring API calls</p>
3
- </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/enerage/LinkedInSecretSauce/blob/142a9d0b85e83a724e9d23b89f1efc205b5a6dbd/src/constants.ts#L7">src/constants.ts:7</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/enerage/LinkedInSecretSauce" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../index.html">LinkedIn Secret Sauce - v0.12.3</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
3
+ </div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/enerage/LinkedInSecretSauce/blob/5712d0e4c3bfc7710e9de69942de1ca8d6b26407/src/constants.ts#L7">src/constants.ts:7</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/enerage/LinkedInSecretSauce" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../index.html">LinkedIn Secret Sauce - v0.12.4</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>YEARS_OPTIONS | LinkedIn Secret Sauce - v0.12.3</title><meta name="description" content="Documentation for LinkedIn Secret Sauce"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">LinkedIn Secret Sauce - v0.12.3</a><div id="tsd-toolbar-links"><a href="https://github.com/enerage/LinkedInSecretSauce">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">YEARS_OPTIONS</a></li></ul><h1>Variable YEARS_OPTIONS<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">YEARS_OPTIONS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <span class="tsd-signature-symbol">[</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;1&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;&lt; 1 year&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;2&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;1-2 years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;3&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;3-5 years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;4&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;6-10 years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;5&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;10+ years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/enerage/LinkedInSecretSauce/blob/142a9d0b85e83a724e9d23b89f1efc205b5a6dbd/src/constants.ts#L21">src/constants.ts:21</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/enerage/LinkedInSecretSauce" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../index.html">LinkedIn Secret Sauce - v0.12.3</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>YEARS_OPTIONS | LinkedIn Secret Sauce - v0.12.4</title><meta name="description" content="Documentation for LinkedIn Secret Sauce"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">LinkedIn Secret Sauce - v0.12.4</a><div id="tsd-toolbar-links"><a href="https://github.com/enerage/LinkedInSecretSauce">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce">npm</a></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">YEARS_OPTIONS</a></li></ul><h1>Variable YEARS_OPTIONS<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">YEARS_OPTIONS</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-keyword">readonly</span> <span class="tsd-signature-symbol">[</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;1&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;&lt; 1 year&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;2&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;1-2 years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;3&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;3-5 years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;4&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;6-10 years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/>    <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;5&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">text</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;10+ years&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/enerage/LinkedInSecretSauce/blob/5712d0e4c3bfc7710e9de69942de1ca8d6b26407/src/constants.ts#L21">src/constants.ts:21</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav id="tsd-sidebar-links" class="tsd-navigation"><a href="https://github.com/enerage/LinkedInSecretSauce" class="tsd-nav-link">GitHub</a><a href="https://www.npmjs.com/package/linkedin-secret-sauce" class="tsd-nav-link">npm</a></nav><nav class="tsd-navigation"><a href="../index.html">LinkedIn Secret Sauce - v0.12.4</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer></footer><div class="overlay"></div></body></html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkedin-secret-sauce",
3
- "version": "0.12.3",
3
+ "version": "0.12.4",
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",
@@ -1,11 +0,0 @@
1
- /**
2
- * Apollo.io Provider
3
- *
4
- * Apollo.io public API for email finding.
5
- * Uses mixed_people/search endpoint.
6
- */
7
- import type { EnrichmentCandidate, ProviderResult, ProviderMultiResult, ApolloConfig } from "../types";
8
- /**
9
- * Create the Apollo provider function
10
- */
11
- export declare function createApolloProvider(config: ApolloConfig): (candidate: EnrichmentCandidate) => Promise<ProviderResult | ProviderMultiResult | null>;
@@ -1,181 +0,0 @@
1
- "use strict";
2
- /**
3
- * Apollo.io Provider
4
- *
5
- * Apollo.io public API for email finding.
6
- * Uses mixed_people/search endpoint.
7
- */
8
- Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.createApolloProvider = createApolloProvider;
10
- const API_BASE = "https://api.apollo.io/v1";
11
- /**
12
- * Delay helper for retry logic
13
- */
14
- async function delay(ms) {
15
- return new Promise((r) => setTimeout(r, ms));
16
- }
17
- /**
18
- * Check if value is truthy
19
- */
20
- function truthy(v) {
21
- return v !== undefined && v !== null && String(v).length > 0;
22
- }
23
- /**
24
- * Map Apollo verification status to boolean
25
- */
26
- function mapVerified(status) {
27
- if (!status)
28
- return undefined;
29
- const s = String(status).toLowerCase();
30
- if (s === "verified" || s === "deliverable")
31
- return true;
32
- if (s === "invalid" || s === "undeliverable")
33
- return false;
34
- return undefined;
35
- }
36
- /**
37
- * HTTP request with retry on 429 rate limit
38
- */
39
- async function requestWithRetry(url, init, retries = 1, backoffMs = 200) {
40
- let lastErr;
41
- for (let i = 0; i <= retries; i++) {
42
- try {
43
- const res = await fetch(url, init);
44
- // Retry on rate limit
45
- if (res?.status === 429 && i < retries) {
46
- await delay(backoffMs * Math.pow(2, i));
47
- continue;
48
- }
49
- if (!res || res.status >= 400) {
50
- lastErr = new Error(`apollo_http_${res?.status ?? "error"}`);
51
- break;
52
- }
53
- const json = (await res.json());
54
- return json;
55
- }
56
- catch (err) {
57
- lastErr = err;
58
- if (i < retries) {
59
- await delay(backoffMs * Math.pow(2, i));
60
- continue;
61
- }
62
- }
63
- }
64
- throw lastErr ?? new Error("apollo_http_error");
65
- }
66
- /**
67
- * Extract inputs from candidate
68
- */
69
- function extractInputs(candidate) {
70
- const name = candidate.name || candidate.full_name || candidate.fullName || undefined;
71
- const org = candidate.company || candidate.organization || candidate.org || undefined;
72
- const domain = candidate.domain ||
73
- candidate.companyDomain ||
74
- candidate.company_domain ||
75
- undefined;
76
- return { name, org, domain };
77
- }
78
- /**
79
- * Create the Apollo provider function
80
- */
81
- function createApolloProvider(config) {
82
- const { apiKey } = config;
83
- if (!apiKey) {
84
- // Return a no-op provider if not configured
85
- const noopProvider = async () => null;
86
- noopProvider.__name = "apollo";
87
- return noopProvider;
88
- }
89
- async function fetchEmail(candidate) {
90
- const { name, org, domain } = extractInputs(candidate);
91
- // Build request body - get more results for multi-email support
92
- const body = { page: 1, per_page: 10 };
93
- if (truthy(name))
94
- body["q_person_name"] = String(name);
95
- if (truthy(domain))
96
- body["organization_domains"] = [String(domain)];
97
- else if (truthy(org))
98
- body["q_organization_name"] = String(org);
99
- const url = `${API_BASE}/mixed_people/search`;
100
- const init = {
101
- method: "POST",
102
- headers: {
103
- "content-type": "application/json",
104
- "X-Api-Key": String(apiKey),
105
- },
106
- body: JSON.stringify(body),
107
- };
108
- try {
109
- const json = await requestWithRetry(url, init, 1, 100);
110
- // Parse response - handle multiple possible shapes
111
- const people = (json &&
112
- (json.people || json.matches || json.data?.people));
113
- if (!Array.isArray(people) || people.length === 0)
114
- return null;
115
- // Collect all emails from all people
116
- const emails = [];
117
- const seenEmails = new Set();
118
- for (const person of people) {
119
- const p = person || {};
120
- // Get primary email
121
- const primaryEmail = p.email ??
122
- p.primary_email ??
123
- null;
124
- if (primaryEmail) {
125
- const emailLower = primaryEmail.toLowerCase();
126
- if (!seenEmails.has(emailLower)) {
127
- seenEmails.add(emailLower);
128
- const score = typeof p.email_confidence === "number"
129
- ? p.email_confidence
130
- : Number(p.email_confidence ?? 0) || 50;
131
- const verified = mapVerified(p.email_status);
132
- emails.push({
133
- email: primaryEmail,
134
- verified,
135
- confidence: score,
136
- metadata: {
137
- name: p.name,
138
- title: p.title,
139
- company: p.organization?.name,
140
- linkedin: p.linkedin_url,
141
- },
142
- });
143
- }
144
- }
145
- // Also check emails array if present
146
- const personEmails = p.emails;
147
- if (Array.isArray(personEmails)) {
148
- for (const e of personEmails) {
149
- if (!e.email)
150
- continue;
151
- const emailLower = e.email.toLowerCase();
152
- if (seenEmails.has(emailLower))
153
- continue;
154
- seenEmails.add(emailLower);
155
- emails.push({
156
- email: e.email,
157
- verified: mapVerified(e.status),
158
- confidence: 50, // Secondary emails get lower confidence
159
- metadata: {
160
- name: p.name,
161
- title: p.title,
162
- company: p.organization?.name,
163
- },
164
- });
165
- }
166
- }
167
- }
168
- if (emails.length === 0)
169
- return null;
170
- // Sort by confidence
171
- emails.sort((a, b) => (b.confidence ?? 0) - (a.confidence ?? 0));
172
- return { emails };
173
- }
174
- catch {
175
- return null;
176
- }
177
- }
178
- // Mark provider name for orchestrator
179
- fetchEmail.__name = "apollo";
180
- return fetchEmail;
181
- }
@@ -1,67 +0,0 @@
1
- /**
2
- * Bouncer.io Email Verification Provider
3
- *
4
- * Provides SMTP-level email verification with 99%+ accuracy.
5
- * Best for verifying pattern-guessed emails on non-catch-all domains.
6
- *
7
- * Features:
8
- * - SMTP verification (checks if mailbox exists)
9
- * - Catch-all domain detection
10
- * - Disposable email detection
11
- * - Role account detection
12
- * - Toxicity scoring (0-5)
13
- *
14
- * @see https://docs.usebouncer.com
15
- */
16
- import type { EnrichmentCandidate, ProviderResult, ProviderMultiResult, BouncerConfig, BouncerVerifyResponse } from "../types";
17
- /**
18
- * Create the Bouncer verification provider
19
- *
20
- * NOTE: This provider is a VERIFIER, not a FINDER. It verifies emails
21
- * that were generated by the construct provider or passed in the candidate.
22
- *
23
- * Usage in the enrichment flow:
24
- * 1. construct provider generates email patterns
25
- * 2. bouncer provider verifies which patterns are deliverable
26
- * 3. Only verified emails are returned
27
- */
28
- export declare function createBouncerProvider(config: BouncerConfig): (candidate: EnrichmentCandidate) => Promise<ProviderResult | ProviderMultiResult | null>;
29
- /**
30
- * Standalone function to verify a single email via Bouncer
31
- *
32
- * Useful for ad-hoc verification outside the enrichment flow.
33
- *
34
- * @example
35
- * ```typescript
36
- * const result = await verifyEmailWithBouncer('test@example.com', {
37
- * apiKey: process.env.BOUNCER_API_KEY,
38
- * });
39
- * console.log(result.status); // 'deliverable' | 'undeliverable' | 'risky' | 'unknown'
40
- * ```
41
- */
42
- export declare function verifyEmailWithBouncer(email: string, config: BouncerConfig): Promise<BouncerVerifyResponse | null>;
43
- /**
44
- * Check if a domain is catch-all via Bouncer
45
- *
46
- * Sends a verification request for a random email and checks acceptAll flag.
47
- *
48
- * @example
49
- * ```typescript
50
- * const isCatchAll = await checkCatchAllDomain('example.com', {
51
- * apiKey: process.env.BOUNCER_API_KEY,
52
- * });
53
- * ```
54
- */
55
- export declare function checkCatchAllDomain(domain: string, config: BouncerConfig): Promise<boolean | null>;
56
- /**
57
- * Verify multiple emails in batch via Bouncer
58
- *
59
- * @example
60
- * ```typescript
61
- * const results = await verifyEmailsBatch(
62
- * ['john@example.com', 'jane@example.com'],
63
- * { apiKey: process.env.BOUNCER_API_KEY }
64
- * );
65
- * ```
66
- */
67
- export declare function verifyEmailsBatch(emails: string[], config: BouncerConfig): Promise<Map<string, BouncerVerifyResponse | null>>;