@fiberai/sdk 0.0.5 → 0.0.7

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.
package/dist/index.js CHANGED
@@ -832,16 +832,25 @@ var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
832
832
  var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
833
833
  var healthCheck = (options) => (options?.client ?? client).get({ url: "/health", ...options });
834
834
  var getOrgCredits = (options) => (options.client ?? client).get({ url: "/v1/get-org-credits", ...options });
835
- var pollCombinedSearch = (options) => (options.client ?? client).post({
836
- url: "/v1/combined-search/poll",
835
+ var getAutoTopupSettings = (options) => (options.client ?? client).get({ url: "/v1/auto-topup/settings", ...options });
836
+ var updateAutoTopupSettings = (options) => (options.client ?? client).post({
837
+ url: "/v1/auto-topup/configure",
837
838
  ...options,
838
839
  headers: {
839
840
  "Content-Type": "application/json",
840
841
  ...options.headers
841
842
  }
842
843
  });
843
- var pollContactEnrichmentResult = (options) => (options.client ?? client).post({
844
- url: "/v1/contact-details/poll",
844
+ var buyCredits = (options) => (options.client ?? client).post({
845
+ url: "/v1/buy-credits",
846
+ ...options,
847
+ headers: {
848
+ "Content-Type": "application/json",
849
+ ...options.headers
850
+ }
851
+ });
852
+ var pollExhaustiveContactEnrichmentResult = (options) => (options.client ?? client).post({
853
+ url: "/v1/contact-details/exhaustive/poll",
845
854
  ...options,
846
855
  headers: {
847
856
  "Content-Type": "application/json",
@@ -904,6 +913,14 @@ var githubToLinkedInPolling = (options) => (options.client ?? client).post({
904
913
  ...options.headers
905
914
  }
906
915
  });
916
+ var socialMediaLookupPolling = (options) => (options.client ?? client).post({
917
+ url: "/v1/social-media-lookup/polling",
918
+ ...options,
919
+ headers: {
920
+ "Content-Type": "application/json",
921
+ ...options.headers
922
+ }
923
+ });
907
924
  var getCompanyExclusionLists = (options) => (options.client ?? client).post({
908
925
  url: "/v1/exclusions/companies/get-lists",
909
926
  ...options,
@@ -1134,14 +1151,6 @@ var peopleSearchCount = (options) => (options.client ?? client).post({
1134
1151
  ...options.headers
1135
1152
  }
1136
1153
  });
1137
- var combinedSearch = (options) => (options.client ?? client).post({
1138
- url: "/v1/combined-search/start",
1139
- ...options,
1140
- headers: {
1141
- "Content-Type": "application/json",
1142
- ...options.headers
1143
- }
1144
- });
1145
1154
  var syncCombinedSearch = (options) => (options.client ?? client).post({
1146
1155
  url: "/v1/combined-search/sync",
1147
1156
  ...options,
@@ -1158,16 +1167,16 @@ var bulkCompanyLogos = (options) => (options.client ?? client).post({
1158
1167
  ...options.headers
1159
1168
  }
1160
1169
  });
1161
- var triggerContactEnrichment = (options) => (options.client ?? client).post({
1162
- url: "/v1/contact-details/start",
1170
+ var bulkProfilePic = (options) => (options.client ?? client).post({
1171
+ url: "/v1/profile-pic/bulk",
1163
1172
  ...options,
1164
1173
  headers: {
1165
1174
  "Content-Type": "application/json",
1166
1175
  ...options.headers
1167
1176
  }
1168
1177
  });
1169
- var syncContactEnrichment = (options) => (options.client ?? client).post({
1170
- url: "/v1/contact-details/sync",
1178
+ var combinedSearchCount = (options) => (options.client ?? client).post({
1179
+ url: "/v1/combined-search/count",
1171
1180
  ...options,
1172
1181
  headers: {
1173
1182
  "Content-Type": "application/json",
@@ -1190,6 +1199,14 @@ var syncQuickContactReveal = (options) => (options.client ?? client).post({
1190
1199
  ...options.headers
1191
1200
  }
1192
1201
  });
1202
+ var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client).post({
1203
+ url: "/v1/contact-details/exhaustive/start",
1204
+ ...options,
1205
+ headers: {
1206
+ "Content-Type": "application/json",
1207
+ ...options.headers
1208
+ }
1209
+ });
1193
1210
  var startBatchContactEnrichment = (options) => (options.client ?? client).post({
1194
1211
  url: "/v1/contact-enrich/batch/start",
1195
1212
  ...options,
@@ -1270,6 +1287,22 @@ var postSearchByKeywords = (options) => (options.client ?? client).post({
1270
1287
  ...options.headers
1271
1288
  }
1272
1289
  });
1290
+ var standardizeProfile = (options) => (options.client ?? client).post({
1291
+ url: "/v1/standardize/profile/single",
1292
+ ...options,
1293
+ headers: {
1294
+ "Content-Type": "application/json",
1295
+ ...options.headers
1296
+ }
1297
+ });
1298
+ var standardizeCompany = (options) => (options.client ?? client).post({
1299
+ url: "/v1/standardize/company/single",
1300
+ ...options,
1301
+ headers: {
1302
+ "Content-Type": "application/json",
1303
+ ...options.headers
1304
+ }
1305
+ });
1273
1306
  var reverseEmailLookup = (options) => (options.client ?? client).post({
1274
1307
  url: "/v1/email-to-person/single",
1275
1308
  ...options,
@@ -1350,40 +1383,24 @@ var validatePhoneNumber = (options) => (options.client ?? client).post({
1350
1383
  ...options.headers
1351
1384
  }
1352
1385
  });
1353
- var textToCompanySearchParams = (options) => (options.client ?? client).post({
1354
- url: "/v1/text-to-search-params/companies",
1355
- ...options,
1356
- headers: {
1357
- "Content-Type": "application/json",
1358
- ...options.headers
1359
- }
1360
- });
1361
- var textToCompanySearch = (options) => (options.client ?? client).post({
1362
- url: "/v1/natural-language-search/companies",
1363
- ...options,
1364
- headers: {
1365
- "Content-Type": "application/json",
1366
- ...options.headers
1367
- }
1368
- });
1369
- var textToProfileSearchParams = (options) => (options.client ?? client).post({
1370
- url: "/v1/text-to-search-params/profiles",
1386
+ var textToCombinedSearch = (options) => (options.client ?? client).post({
1387
+ url: "/v1/natural-language-search/combined/sync",
1371
1388
  ...options,
1372
1389
  headers: {
1373
1390
  "Content-Type": "application/json",
1374
1391
  ...options.headers
1375
1392
  }
1376
1393
  });
1377
- var textToProfileSearch = (options) => (options.client ?? client).post({
1378
- url: "/v1/natural-language-search/profiles",
1394
+ var jdToProfileSearch = (options) => (options.client ?? client).post({
1395
+ url: "/v1/natural-language-search/job-description-search",
1379
1396
  ...options,
1380
1397
  headers: {
1381
1398
  "Content-Type": "application/json",
1382
1399
  ...options.headers
1383
1400
  }
1384
1401
  });
1385
- var textToCombinedSearch = (options) => (options.client ?? client).post({
1386
- url: "/v1/natural-language-search/combined/sync",
1402
+ var textToCombinedSearchParam = (options) => (options.client ?? client).post({
1403
+ url: "/v1/natural-language-search/combined-search-param",
1387
1404
  ...options,
1388
1405
  headers: {
1389
1406
  "Content-Type": "application/json",
@@ -1510,6 +1527,14 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1510
1527
  ...options.headers
1511
1528
  }
1512
1529
  });
1530
+ var multiSourceSearch = (options) => (options.client ?? client).post({
1531
+ url: "/v1/multi-source/search",
1532
+ ...options,
1533
+ headers: {
1534
+ "Content-Type": "application/json",
1535
+ ...options.headers
1536
+ }
1537
+ });
1513
1538
  var buildAudience = (options) => (options.client ?? client).post({
1514
1539
  url: "/v1/audiences/{audienceId}/build",
1515
1540
  ...options,
@@ -1542,14 +1567,225 @@ var githubToLinkedInTrigger = (options) => (options.client ?? client).post({
1542
1567
  ...options.headers
1543
1568
  }
1544
1569
  });
1570
+ var socialMediaLookupTrigger = (options) => (options.client ?? client).post({
1571
+ url: "/v1/social-media-lookup/trigger",
1572
+ ...options,
1573
+ headers: {
1574
+ "Content-Type": "application/json",
1575
+ ...options.headers
1576
+ }
1577
+ });
1578
+ var youtubeTranscript = (options) => (options.client ?? client).post({
1579
+ url: "/v1/youtube/transcript",
1580
+ ...options,
1581
+ headers: {
1582
+ "Content-Type": "application/json",
1583
+ ...options.headers
1584
+ }
1585
+ });
1586
+ var youtubeVideoDetails = (options) => (options.client ?? client).post({
1587
+ url: "/v1/youtube/video-details",
1588
+ ...options,
1589
+ headers: {
1590
+ "Content-Type": "application/json",
1591
+ ...options.headers
1592
+ }
1593
+ });
1594
+ var youtubeVideoComments = (options) => (options.client ?? client).post({
1595
+ url: "/v1/youtube/video-comments",
1596
+ ...options,
1597
+ headers: {
1598
+ "Content-Type": "application/json",
1599
+ ...options.headers
1600
+ }
1601
+ });
1602
+ var youtubeSearch = (options) => (options.client ?? client).post({
1603
+ url: "/v1/youtube/search",
1604
+ ...options,
1605
+ headers: {
1606
+ "Content-Type": "application/json",
1607
+ ...options.headers
1608
+ }
1609
+ });
1610
+ var youtubeChannel = (options) => (options.client ?? client).post({
1611
+ url: "/v1/youtube/channel",
1612
+ ...options,
1613
+ headers: {
1614
+ "Content-Type": "application/json",
1615
+ ...options.headers
1616
+ }
1617
+ });
1618
+ var getScoutingReport = (options) => (options.client ?? client).post({
1619
+ url: "/v1/scouting-report",
1620
+ ...options,
1621
+ headers: {
1622
+ "Content-Type": "application/json",
1623
+ ...options.headers
1624
+ }
1625
+ });
1626
+ var createJobChangeList = (options) => (options.client ?? client).post({
1627
+ url: "/v1/job-changes/create-list",
1628
+ ...options,
1629
+ headers: {
1630
+ "Content-Type": "application/json",
1631
+ ...options.headers
1632
+ }
1633
+ });
1634
+ var getJourneymanList = (options) => (options.client ?? client).post({
1635
+ url: "/v1/job-changes/get-list",
1636
+ ...options,
1637
+ headers: {
1638
+ "Content-Type": "application/json",
1639
+ ...options.headers
1640
+ }
1641
+ });
1642
+ var updateJobChangeList = (options) => (options.client ?? client).post({
1643
+ url: "/v1/job-changes/update-list",
1644
+ ...options,
1645
+ headers: {
1646
+ "Content-Type": "application/json",
1647
+ ...options.headers
1648
+ }
1649
+ });
1650
+ var deleteJobChangeList = (options) => (options.client ?? client).post({
1651
+ url: "/v1/job-changes/delete-list",
1652
+ ...options,
1653
+ headers: {
1654
+ "Content-Type": "application/json",
1655
+ ...options.headers
1656
+ }
1657
+ });
1658
+ var addProfilesToList = (options) => (options.client ?? client).post({
1659
+ url: "/v1/job-changes/add-profiles",
1660
+ ...options,
1661
+ headers: {
1662
+ "Content-Type": "application/json",
1663
+ ...options.headers
1664
+ }
1665
+ });
1666
+ var deleteProfilesFromJobChangeList = (options) => (options.client ?? client).post({
1667
+ url: "/v1/job-changes/delete-profiles",
1668
+ ...options,
1669
+ headers: {
1670
+ "Content-Type": "application/json",
1671
+ ...options.headers
1672
+ }
1673
+ });
1674
+ var listAllJourneymanLists = (options) => (options.client ?? client).post({
1675
+ url: "/v1/job-changes/list-all",
1676
+ ...options,
1677
+ headers: {
1678
+ "Content-Type": "application/json",
1679
+ ...options.headers
1680
+ }
1681
+ });
1682
+ var listAllProfilesFromJourneymanList = (options) => (options.client ?? client).post({
1683
+ url: "/v1/job-changes/list-all-profiles",
1684
+ ...options,
1685
+ headers: {
1686
+ "Content-Type": "application/json",
1687
+ ...options.headers
1688
+ }
1689
+ });
1690
+ var twitterProfile = (options) => (options.client ?? client).post({
1691
+ url: "/v1/twitter/profile",
1692
+ ...options,
1693
+ headers: {
1694
+ "Content-Type": "application/json",
1695
+ ...options.headers
1696
+ }
1697
+ });
1698
+ var twitterUserTweets = (options) => (options.client ?? client).post({
1699
+ url: "/v1/twitter/user-tweets",
1700
+ ...options,
1701
+ headers: {
1702
+ "Content-Type": "application/json",
1703
+ ...options.headers
1704
+ }
1705
+ });
1706
+ var twitterUserFollowers = (options) => (options.client ?? client).post({
1707
+ url: "/v1/twitter/user-followers",
1708
+ ...options,
1709
+ headers: {
1710
+ "Content-Type": "application/json",
1711
+ ...options.headers
1712
+ }
1713
+ });
1714
+ var twitterUserFollowing = (options) => (options.client ?? client).post({
1715
+ url: "/v1/twitter/user-following",
1716
+ ...options,
1717
+ headers: {
1718
+ "Content-Type": "application/json",
1719
+ ...options.headers
1720
+ }
1721
+ });
1722
+ var twitterTweetDetails = (options) => (options.client ?? client).post({
1723
+ url: "/v1/twitter/tweet-details",
1724
+ ...options,
1725
+ headers: {
1726
+ "Content-Type": "application/json",
1727
+ ...options.headers
1728
+ }
1729
+ });
1730
+ var twitterTweetReplies = (options) => (options.client ?? client).post({
1731
+ url: "/v1/twitter/tweet-replies",
1732
+ ...options,
1733
+ headers: {
1734
+ "Content-Type": "application/json",
1735
+ ...options.headers
1736
+ }
1737
+ });
1738
+ var twitterTweetQuotes = (options) => (options.client ?? client).post({
1739
+ url: "/v1/twitter/tweet-quotes",
1740
+ ...options,
1741
+ headers: {
1742
+ "Content-Type": "application/json",
1743
+ ...options.headers
1744
+ }
1745
+ });
1746
+ var twitterTweetRetweeters = (options) => (options.client ?? client).post({
1747
+ url: "/v1/twitter/tweet-retweeters",
1748
+ ...options,
1749
+ headers: {
1750
+ "Content-Type": "application/json",
1751
+ ...options.headers
1752
+ }
1753
+ });
1754
+ var twitterUserMentions = (options) => (options.client ?? client).post({
1755
+ url: "/v1/twitter/user-mentions",
1756
+ ...options,
1757
+ headers: {
1758
+ "Content-Type": "application/json",
1759
+ ...options.headers
1760
+ }
1761
+ });
1762
+ var twitterSearch = (options) => (options.client ?? client).post({
1763
+ url: "/v1/twitter/search",
1764
+ ...options,
1765
+ headers: {
1766
+ "Content-Type": "application/json",
1767
+ ...options.headers
1768
+ }
1769
+ });
1770
+ var getCompanyRevenue = (options) => (options.client ?? client).post({
1771
+ url: "/v1/company-revenue",
1772
+ ...options,
1773
+ headers: {
1774
+ "Content-Type": "application/json",
1775
+ ...options.headers
1776
+ }
1777
+ });
1545
1778
  export {
1546
1779
  addCompaniesToExclusionList,
1780
+ addProfilesToList,
1547
1781
  addProspectsToExclusionList,
1548
1782
  buildAudience,
1549
1783
  bulkCompanyLogos,
1784
+ bulkProfilePic,
1785
+ buyCredits,
1550
1786
  checkGoogleMapsResults,
1551
1787
  client,
1552
- combinedSearch,
1788
+ combinedSearchCount,
1553
1789
  companyCount,
1554
1790
  companyLiveEnrich,
1555
1791
  companyPostsLiveFetch,
@@ -1560,11 +1796,14 @@ export {
1560
1796
  createCompanyExclusionList,
1561
1797
  createCompanyExclusionListFromAudience,
1562
1798
  createConfig,
1799
+ createJobChangeList,
1563
1800
  createProspectExclusionList,
1564
1801
  createProspectExclusionListFromAudience,
1565
1802
  createSavedSearch,
1566
1803
  deleteAudience,
1567
1804
  deleteCompanyExclusionList,
1805
+ deleteJobChangeList,
1806
+ deleteProfilesFromJobChangeList,
1568
1807
  deleteProspectExclusionList,
1569
1808
  domainLookupPolling,
1570
1809
  domainLookupTrigger,
@@ -1576,13 +1815,16 @@ export {
1576
1815
  getAudienceCompanies,
1577
1816
  getAudienceProspects,
1578
1817
  getAudienceStatus,
1818
+ getAutoTopupSettings,
1579
1819
  getCompanyExclusionLists,
1820
+ getCompanyRevenue,
1580
1821
  getCurrentCompaniesInSavedSearch,
1581
1822
  getCurrentProfilesInSavedSearch,
1582
1823
  getEnrichmentStatus,
1583
1824
  getExcludedCompaniesForExclusionList,
1584
1825
  getExcludedProspectsForExclusionList,
1585
1826
  getIndustries,
1827
+ getJourneymanList,
1586
1828
  getLanguages,
1587
1829
  getLatestSavedSearchRun,
1588
1830
  getNaicsCodes,
@@ -1595,6 +1837,7 @@ export {
1595
1837
  getSavedSearchRunCompanies,
1596
1838
  getSavedSearchRunProfiles,
1597
1839
  getSavedSearchRunStatus,
1840
+ getScoutingReport,
1598
1841
  getSubdivisions,
1599
1842
  getTags,
1600
1843
  getTimeZones,
@@ -1606,22 +1849,25 @@ export {
1606
1849
  healthCheck,
1607
1850
  investmentSearch,
1608
1851
  investorSearch,
1852
+ jdToProfileSearch,
1609
1853
  jobPostingSearch,
1610
1854
  jobPostingSearchCount,
1611
1855
  kitchenSinkBulkCompany,
1612
1856
  kitchenSinkBulkProfile,
1613
1857
  kitchenSinkCompany,
1614
1858
  kitchenSinkProfile,
1859
+ listAllJourneymanLists,
1860
+ listAllProfilesFromJourneymanList,
1615
1861
  listAudiences,
1616
1862
  listSavedSearch,
1617
1863
  listSavedSearchRuns,
1618
1864
  locationTypeahead,
1619
1865
  manuallySpawnSavedSearchRun,
1866
+ multiSourceSearch,
1620
1867
  peopleSearch,
1621
1868
  peopleSearchCount,
1622
1869
  pollBatchContactEnrichment,
1623
- pollCombinedSearch,
1624
- pollContactEnrichmentResult,
1870
+ pollExhaustiveContactEnrichmentResult,
1625
1871
  pollGoogleMapsResults,
1626
1872
  pollLocalBusinessSearch,
1627
1873
  postCommentsLiveFetch,
@@ -1634,21 +1880,38 @@ export {
1634
1880
  removeCompanyFromExclusionList,
1635
1881
  removeProspectFromExclusionList,
1636
1882
  reverseEmailLookup,
1883
+ socialMediaLookupPolling,
1884
+ socialMediaLookupTrigger,
1885
+ standardizeCompany,
1886
+ standardizeProfile,
1637
1887
  startBatchContactEnrichment,
1638
1888
  startLocalBusinessSearch,
1639
1889
  syncCombinedSearch,
1640
- syncContactEnrichment,
1641
1890
  syncQuickContactReveal,
1642
1891
  syncTurboContactEnrichment,
1643
1892
  textToCombinedSearch,
1644
- textToCompanySearch,
1645
- textToCompanySearchParams,
1646
- textToProfileSearch,
1647
- textToProfileSearchParams,
1648
- triggerContactEnrichment,
1893
+ textToCombinedSearchParam,
1649
1894
  triggerEnrichment,
1895
+ triggerExhaustiveContactEnrichment,
1896
+ twitterProfile,
1897
+ twitterSearch,
1898
+ twitterTweetDetails,
1899
+ twitterTweetQuotes,
1900
+ twitterTweetReplies,
1901
+ twitterTweetRetweeters,
1902
+ twitterUserFollowers,
1903
+ twitterUserFollowing,
1904
+ twitterUserMentions,
1905
+ twitterUserTweets,
1650
1906
  updateAudienceSearchParams,
1907
+ updateAutoTopupSettings,
1908
+ updateJobChangeList,
1651
1909
  updateSavedSearch,
1652
- validatePhoneNumber
1910
+ validatePhoneNumber,
1911
+ youtubeChannel,
1912
+ youtubeSearch,
1913
+ youtubeTranscript,
1914
+ youtubeVideoComments,
1915
+ youtubeVideoDetails
1653
1916
  };
1654
1917
  //# sourceMappingURL=index.js.map