@fiberai/sdk 0.0.17 → 0.0.19

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 (9) hide show
  1. package/dist/index.cjs +222 -32
  2. package/dist/index.d.cts +32585 -17807
  3. package/dist/index.d.ts +32585 -17807
  4. package/dist/index.js +191 -27
  5. package/dist/zod.cjs +39735 -30164
  6. package/dist/zod.d.cts +32586 -24236
  7. package/dist/zod.d.ts +32586 -24236
  8. package/dist/zod.js +39607 -30154
  9. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1059,6 +1059,8 @@ var getNaicsCodes = (options) => (options.client ?? client).get({ url: "/v1/enum
1059
1059
  var getAccelerators = (options) => (options.client ?? client).get({ url: "/v1/enums/accelerators", ...options });
1060
1060
  var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/enums/subdivisions", ...options });
1061
1061
  var getTechnologies = (options) => (options.client ?? client).get({ url: "/v1/enums/technologies", ...options });
1062
+ var getSkills = (options) => (options.client ?? client).get({ url: "/v1/enums/skills", ...options });
1063
+ var getFlightRegions = (options) => (options.client ?? client).get({ url: "/v1/enums/flight-regions", ...options });
1062
1064
  var createAudience = (options) => (options.client ?? client).post({
1063
1065
  url: "/v1/audiences/create",
1064
1066
  ...options,
@@ -1217,6 +1219,14 @@ var syncQuickContactReveal = (options) => (options.client ?? client).post({
1217
1219
  ...options.headers
1218
1220
  }
1219
1221
  });
1222
+ var liteContactReveal = (options) => (options.client ?? client).post({
1223
+ url: "/v1/contact-details/lite",
1224
+ ...options,
1225
+ headers: {
1226
+ "Content-Type": "application/json",
1227
+ ...options.headers
1228
+ }
1229
+ });
1220
1230
  var startDepthChart = (options) => (options.client ?? client).post({
1221
1231
  url: "/v1/depth-chart/start",
1222
1232
  ...options,
@@ -1241,6 +1251,14 @@ var startBatchContactDetails = (options) => (options.client ?? client).post({
1241
1251
  ...options.headers
1242
1252
  }
1243
1253
  });
1254
+ var cancelBatchContactDetails = (options) => (options.client ?? client).post({
1255
+ url: "/v1/contact-details/batch/cancel",
1256
+ ...options,
1257
+ headers: {
1258
+ "Content-Type": "application/json",
1259
+ ...options.headers
1260
+ }
1261
+ });
1244
1262
  var profileLiveEnrich = (options) => (options.client ?? client).post({
1245
1263
  url: "/v1/linkedin-live-fetch/profile/single",
1246
1264
  ...options,
@@ -1321,6 +1339,22 @@ var profileReactionsLiveFetch = (options) => (options.client ?? client).post({
1321
1339
  ...options.headers
1322
1340
  }
1323
1341
  });
1342
+ var profileLatestActivitiesLiveFetch = (options) => (options.client ?? client).post({
1343
+ url: "/v1/linkedin-live-fetch/profile-latest-activities",
1344
+ ...options,
1345
+ headers: {
1346
+ "Content-Type": "application/json",
1347
+ ...options.headers
1348
+ }
1349
+ });
1350
+ var profileLastActivityDateLiveFetch = (options) => (options.client ?? client).post({
1351
+ url: "/v1/linkedin-live-fetch/profile-last-activity-date",
1352
+ ...options,
1353
+ headers: {
1354
+ "Content-Type": "application/json",
1355
+ ...options.headers
1356
+ }
1357
+ });
1324
1358
  var postSearchByKeywords = (options) => (options.client ?? client).post({
1325
1359
  url: "/v1/linkedin-live-fetch/posts/search",
1326
1360
  ...options,
@@ -1425,40 +1459,40 @@ var locationTypeahead = (options) => (options.client ?? client).post({
1425
1459
  ...options.headers
1426
1460
  }
1427
1461
  });
1428
- var emailBounceDetection = (options) => (options.client ?? client).post({
1429
- url: "/v1/validate-email/single",
1462
+ var skillsTypeahead = (options) => (options.client ?? client).post({
1463
+ url: "/v1/typeahead/skills",
1430
1464
  ...options,
1431
1465
  headers: {
1432
1466
  "Content-Type": "application/json",
1433
1467
  ...options.headers
1434
1468
  }
1435
1469
  });
1436
- var validatePhoneNumber = (options) => (options.client ?? client).post({
1437
- url: "/v1/validate-phone/single",
1470
+ var emailBounceDetection = (options) => (options.client ?? client).post({
1471
+ url: "/v1/validate-email/single",
1438
1472
  ...options,
1439
1473
  headers: {
1440
1474
  "Content-Type": "application/json",
1441
1475
  ...options.headers
1442
1476
  }
1443
1477
  });
1444
- var textToCombinedSearch = (options) => (options.client ?? client).post({
1445
- url: "/v1/natural-language-search/combined/sync",
1478
+ var validatePhoneNumber = (options) => (options.client ?? client).post({
1479
+ url: "/v1/validate-phone/single",
1446
1480
  ...options,
1447
1481
  headers: {
1448
1482
  "Content-Type": "application/json",
1449
1483
  ...options.headers
1450
1484
  }
1451
1485
  });
1452
- var jdToProfileSearch = (options) => (options.client ?? client).post({
1453
- url: "/v1/natural-language-search/job-description-search",
1486
+ var nlpSearchParse = (options) => (options.client ?? client).post({
1487
+ url: "/v1/nlp-search/parse",
1454
1488
  ...options,
1455
1489
  headers: {
1456
1490
  "Content-Type": "application/json",
1457
1491
  ...options.headers
1458
1492
  }
1459
1493
  });
1460
- var textToCombinedSearchParam = (options) => (options.client ?? client).post({
1461
- url: "/v1/natural-language-search/combined-search-param",
1494
+ var slushieRun = (options) => (options.client ?? client).post({
1495
+ url: "/v1/nlp-search/run",
1462
1496
  ...options,
1463
1497
  headers: {
1464
1498
  "Content-Type": "application/json",
@@ -1577,6 +1611,14 @@ var youtubeChannel = (options) => (options.client ?? client).post({
1577
1611
  ...options.headers
1578
1612
  }
1579
1613
  });
1614
+ var flightSearch = (options) => (options.client ?? client).post({
1615
+ url: "/v1/flights/search",
1616
+ ...options,
1617
+ headers: {
1618
+ "Content-Type": "application/json",
1619
+ ...options.headers
1620
+ }
1621
+ });
1580
1622
  var fetchRealEstateListings = (options) => (options.client ?? client).post({
1581
1623
  url: "/v1/real-estate/listings",
1582
1624
  ...options,
@@ -1657,6 +1699,78 @@ var listAllProfilesFromJourneymanList = (options) => (options.client ?? client).
1657
1699
  ...options.headers
1658
1700
  }
1659
1701
  });
1702
+ var listTrackerCompanyLists = (options) => (options.client ?? client).get({ url: "/v1/tracker/company-lists", ...options });
1703
+ var createTrackerCompanyList = (options) => (options.client ?? client).post({
1704
+ url: "/v1/tracker/company-lists",
1705
+ ...options,
1706
+ headers: {
1707
+ "Content-Type": "application/json",
1708
+ ...options.headers
1709
+ }
1710
+ });
1711
+ var deleteTrackerCompanyList = (options) => (options.client ?? client).delete({ url: "/v1/tracker/company-lists/{listId}", ...options });
1712
+ var getTrackerCompanyList = (options) => (options.client ?? client).get({ url: "/v1/tracker/company-lists/{listId}", ...options });
1713
+ var updateTrackerCompanyList = (options) => (options.client ?? client).patch({
1714
+ url: "/v1/tracker/company-lists/{listId}",
1715
+ ...options,
1716
+ headers: {
1717
+ "Content-Type": "application/json",
1718
+ ...options.headers
1719
+ }
1720
+ });
1721
+ var removeTrackerCompanies = (options) => (options.client ?? client).delete({
1722
+ url: "/v1/tracker/company-lists/{listId}/companies",
1723
+ ...options,
1724
+ headers: {
1725
+ "Content-Type": "application/json",
1726
+ ...options.headers
1727
+ }
1728
+ });
1729
+ var addTrackerCompanies = (options) => (options.client ?? client).put({
1730
+ url: "/v1/tracker/company-lists/{listId}/companies",
1731
+ ...options,
1732
+ headers: {
1733
+ "Content-Type": "application/json",
1734
+ ...options.headers
1735
+ }
1736
+ });
1737
+ var listTrackerChanges = (options) => (options.client ?? client).get({ url: "/v1/tracker/changes/{listId}", ...options });
1738
+ var listTrackerPersonLists = (options) => (options.client ?? client).get({ url: "/v1/tracker/person-lists", ...options });
1739
+ var createTrackerPersonList = (options) => (options.client ?? client).post({
1740
+ url: "/v1/tracker/person-lists",
1741
+ ...options,
1742
+ headers: {
1743
+ "Content-Type": "application/json",
1744
+ ...options.headers
1745
+ }
1746
+ });
1747
+ var deleteTrackerPersonList = (options) => (options.client ?? client).delete({ url: "/v1/tracker/person-lists/{listId}", ...options });
1748
+ var getTrackerPersonList = (options) => (options.client ?? client).get({ url: "/v1/tracker/person-lists/{listId}", ...options });
1749
+ var updateTrackerPersonList = (options) => (options.client ?? client).patch({
1750
+ url: "/v1/tracker/person-lists/{listId}",
1751
+ ...options,
1752
+ headers: {
1753
+ "Content-Type": "application/json",
1754
+ ...options.headers
1755
+ }
1756
+ });
1757
+ var removeTrackerPeople = (options) => (options.client ?? client).delete({
1758
+ url: "/v1/tracker/person-lists/{listId}/people",
1759
+ ...options,
1760
+ headers: {
1761
+ "Content-Type": "application/json",
1762
+ ...options.headers
1763
+ }
1764
+ });
1765
+ var addTrackerPeople = (options) => (options.client ?? client).put({
1766
+ url: "/v1/tracker/person-lists/{listId}/people",
1767
+ ...options,
1768
+ headers: {
1769
+ "Content-Type": "application/json",
1770
+ ...options.headers
1771
+ }
1772
+ });
1773
+ var getTrackerOverview = (options) => (options.client ?? client).get({ url: "/v1/tracker/overview", ...options });
1660
1774
  var tiktokProfile = (options) => (options.client ?? client).post({
1661
1775
  url: "/v1/tiktok/profile",
1662
1776
  ...options,
@@ -1761,48 +1875,72 @@ var tiktokPopularCreators = (options) => (options.client ?? client).post({
1761
1875
  ...options.headers
1762
1876
  }
1763
1877
  });
1764
- var tiktokPopularVideos = (options) => (options.client ?? client).post({
1765
- url: "/v1/tiktok/popular-videos",
1878
+ var tiktokPopularSongs = (options) => (options.client ?? client).post({
1879
+ url: "/v1/tiktok/popular-songs",
1880
+ ...options,
1881
+ headers: {
1882
+ "Content-Type": "application/json",
1883
+ ...options.headers
1884
+ }
1885
+ });
1886
+ var tiktokTrendingFeed = (options) => (options.client ?? client).post({
1887
+ url: "/v1/tiktok/trending-feed",
1766
1888
  ...options,
1767
1889
  headers: {
1768
1890
  "Content-Type": "application/json",
1769
1891
  ...options.headers
1770
1892
  }
1771
1893
  });
1772
- var tiktokPopularHashtags = (options) => (options.client ?? client).post({
1773
- url: "/v1/tiktok/popular-hashtags",
1894
+ var tiktokSongDetails = (options) => (options.client ?? client).post({
1895
+ url: "/v1/tiktok/song-details",
1774
1896
  ...options,
1775
1897
  headers: {
1776
1898
  "Content-Type": "application/json",
1777
1899
  ...options.headers
1778
1900
  }
1779
1901
  });
1780
- var tiktokPopularSongs = (options) => (options.client ?? client).post({
1781
- url: "/v1/tiktok/popular-songs",
1902
+ var tiktokSongVideos = (options) => (options.client ?? client).post({
1903
+ url: "/v1/tiktok/song-videos",
1782
1904
  ...options,
1783
1905
  headers: {
1784
1906
  "Content-Type": "application/json",
1785
1907
  ...options.headers
1786
1908
  }
1787
1909
  });
1788
- var tiktokTrendingFeed = (options) => (options.client ?? client).post({
1789
- url: "/v1/tiktok/trending-feed",
1910
+ var redditSubredditDetails = (options) => (options.client ?? client).post({
1911
+ url: "/v1/reddit/subreddit/details",
1790
1912
  ...options,
1791
1913
  headers: {
1792
1914
  "Content-Type": "application/json",
1793
1915
  ...options.headers
1794
1916
  }
1795
1917
  });
1796
- var tiktokSongDetails = (options) => (options.client ?? client).post({
1797
- url: "/v1/tiktok/song-details",
1918
+ var redditSubredditPosts = (options) => (options.client ?? client).post({
1919
+ url: "/v1/reddit/subreddit/posts",
1798
1920
  ...options,
1799
1921
  headers: {
1800
1922
  "Content-Type": "application/json",
1801
1923
  ...options.headers
1802
1924
  }
1803
1925
  });
1804
- var tiktokSongVideos = (options) => (options.client ?? client).post({
1805
- url: "/v1/tiktok/song-videos",
1926
+ var redditSubredditSearch = (options) => (options.client ?? client).post({
1927
+ url: "/v1/reddit/subreddit/search",
1928
+ ...options,
1929
+ headers: {
1930
+ "Content-Type": "application/json",
1931
+ ...options.headers
1932
+ }
1933
+ });
1934
+ var redditPostComments = (options) => (options.client ?? client).post({
1935
+ url: "/v1/reddit/post/comments",
1936
+ ...options,
1937
+ headers: {
1938
+ "Content-Type": "application/json",
1939
+ ...options.headers
1940
+ }
1941
+ });
1942
+ var redditSearch = (options) => (options.client ?? client).post({
1943
+ url: "/v1/reddit/search",
1806
1944
  ...options,
1807
1945
  headers: {
1808
1946
  "Content-Type": "application/json",
@@ -1941,10 +2079,13 @@ export {
1941
2079
  addCompaniesToExclusionList,
1942
2080
  addProfilesToList,
1943
2081
  addProspectsToExclusionList,
2082
+ addTrackerCompanies,
2083
+ addTrackerPeople,
1944
2084
  buildAudience,
1945
2085
  bulkCompanyLogos,
1946
2086
  bulkProfilePic,
1947
2087
  buyCredits,
2088
+ cancelBatchContactDetails,
1948
2089
  checkGoogleMapsResults,
1949
2090
  client,
1950
2091
  combinedSearchCount,
@@ -1961,11 +2102,15 @@ export {
1961
2102
  createJobChangeList,
1962
2103
  createProspectExclusionList,
1963
2104
  createProspectExclusionListFromAudience,
2105
+ createTrackerCompanyList,
2106
+ createTrackerPersonList,
1964
2107
  deleteAudience,
1965
2108
  deleteCompanyExclusionList,
1966
2109
  deleteJobChangeList,
1967
2110
  deleteProfilesFromJobChangeList,
1968
2111
  deleteProspectExclusionList,
2112
+ deleteTrackerCompanyList,
2113
+ deleteTrackerPersonList,
1969
2114
  domainLookupPolling,
1970
2115
  domainLookupTrigger,
1971
2116
  emailBounceDetection,
@@ -1973,6 +2118,7 @@ export {
1973
2118
  exportCompanies,
1974
2119
  exportProspects,
1975
2120
  fetchRealEstateListings,
2121
+ flightSearch,
1976
2122
  getAccelerators,
1977
2123
  getAudienceCompanies,
1978
2124
  getAudienceProspects,
@@ -1983,6 +2129,7 @@ export {
1983
2129
  getEnrichmentStatus,
1984
2130
  getExcludedCompaniesForExclusionList,
1985
2131
  getExcludedProspectsForExclusionList,
2132
+ getFlightRegions,
1986
2133
  getIndustries,
1987
2134
  getJourneymanList,
1988
2135
  getLanguages,
@@ -1993,10 +2140,14 @@ export {
1993
2140
  getRateLimits,
1994
2141
  getRegions,
1995
2142
  getScoutingReport,
2143
+ getSkills,
1996
2144
  getSubdivisions,
1997
2145
  getTags,
1998
2146
  getTechnologies,
1999
2147
  getTimeZones,
2148
+ getTrackerCompanyList,
2149
+ getTrackerOverview,
2150
+ getTrackerPersonList,
2000
2151
  githubLookupPoll,
2001
2152
  githubLookupTrigger,
2002
2153
  githubToLinkedInPolling,
@@ -2009,7 +2160,6 @@ export {
2009
2160
  instagramProfile,
2010
2161
  instagramUserPosts,
2011
2162
  instagramUserReels,
2012
- jdToProfileSearch,
2013
2163
  jobPostingSearch,
2014
2164
  jobPostingSearchCount,
2015
2165
  jobTitleRewrite,
@@ -2020,8 +2170,13 @@ export {
2020
2170
  listAllJourneymanLists,
2021
2171
  listAllProfilesFromJourneymanList,
2022
2172
  listAudiences,
2173
+ listTrackerChanges,
2174
+ listTrackerCompanyLists,
2175
+ listTrackerPersonLists,
2176
+ liteContactReveal,
2023
2177
  locationTypeahead,
2024
2178
  multiSourceSearch,
2179
+ nlpSearchParse,
2025
2180
  paginatedCombinedSearch,
2026
2181
  peopleSearch,
2027
2182
  peopleSearchCount,
@@ -2035,12 +2190,23 @@ export {
2035
2190
  postReactionsLiveFetch,
2036
2191
  postSearchByKeywords,
2037
2192
  profileCommentsLiveFetch,
2193
+ profileLastActivityDateLiveFetch,
2194
+ profileLatestActivitiesLiveFetch,
2038
2195
  profileLiveEnrich,
2039
2196
  profilePostsLiveFetch,
2040
2197
  profileReactionsLiveFetch,
2198
+ redditPostComments,
2199
+ redditSearch,
2200
+ redditSubredditDetails,
2201
+ redditSubredditPosts,
2202
+ redditSubredditSearch,
2041
2203
  removeCompanyFromExclusionList,
2042
2204
  removeProspectFromExclusionList,
2205
+ removeTrackerCompanies,
2206
+ removeTrackerPeople,
2043
2207
  reverseEmailLookup,
2208
+ skillsTypeahead,
2209
+ slushieRun,
2044
2210
  socialMediaLookupPolling,
2045
2211
  socialMediaLookupTrigger,
2046
2212
  standardizeCompany,
@@ -2053,13 +2219,9 @@ export {
2053
2219
  stealthFoundersSearch,
2054
2220
  syncQuickContactReveal,
2055
2221
  syncTurboContactEnrichment,
2056
- textToCombinedSearch,
2057
- textToCombinedSearchParam,
2058
2222
  tiktokCommentReplies,
2059
2223
  tiktokPopularCreators,
2060
- tiktokPopularHashtags,
2061
2224
  tiktokPopularSongs,
2062
- tiktokPopularVideos,
2063
2225
  tiktokProfile,
2064
2226
  tiktokSearchHashtag,
2065
2227
  tiktokSearchKeyword,
@@ -2090,6 +2252,8 @@ export {
2090
2252
  updateAudienceSearchParams,
2091
2253
  updateAutoTopupSettings,
2092
2254
  updateJobChangeList,
2255
+ updateTrackerCompanyList,
2256
+ updateTrackerPersonList,
2093
2257
  validatePhoneNumber,
2094
2258
  webpageScreenshot,
2095
2259
  youtubeChannel,