@fiberai/sdk 0.0.14 → 0.0.15

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 +372 -16
  2. package/dist/index.d.cts +23318 -10120
  3. package/dist/index.d.ts +23318 -10120
  4. package/dist/index.js +331 -12
  5. package/dist/zod.cjs +71750 -59817
  6. package/dist/zod.d.cts +50126 -41859
  7. package/dist/zod.d.ts +50126 -41859
  8. package/dist/zod.js +71668 -59809
  9. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -832,6 +832,7 @@ 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 getRateLimits = (options) => (options.client ?? client).get({ url: "/v1/rate-limits", ...options });
835
836
  var getAutoTopupSettings = (options) => (options.client ?? client).get({ url: "/v1/auto-topup/settings", ...options });
836
837
  var updateAutoTopupSettings = (options) => (options.client ?? client).post({
837
838
  url: "/v1/auto-topup/configure",
@@ -857,8 +858,24 @@ var pollExhaustiveContactEnrichmentResult = (options) => (options.client ?? clie
857
858
  ...options.headers
858
859
  }
859
860
  });
860
- var pollBatchContactEnrichment = (options) => (options.client ?? client).post({
861
- url: "/v1/contact-enrich/batch/poll",
861
+ var pollDepthChart = (options) => (options.client ?? client).post({
862
+ url: "/v1/depth-chart/poll",
863
+ ...options,
864
+ headers: {
865
+ "Content-Type": "application/json",
866
+ ...options.headers
867
+ }
868
+ });
869
+ var pollBatchContactDetails = (options) => (options.client ?? client).post({
870
+ url: "/v1/contact-details/batch/poll",
871
+ ...options,
872
+ headers: {
873
+ "Content-Type": "application/json",
874
+ ...options.headers
875
+ }
876
+ });
877
+ var pollBatchLiveEnrich = (options) => (options.client ?? client).post({
878
+ url: "/v1/linkedin-live-fetch/batch/poll",
862
879
  ...options,
863
880
  headers: {
864
881
  "Content-Type": "application/json",
@@ -897,8 +914,8 @@ var domainLookupPolling = (options) => (options.client ?? client).post({
897
914
  ...options.headers
898
915
  }
899
916
  });
900
- var githubLookupPolling = (options) => (options.client ?? client).post({
901
- url: "/v1/github-lookup/polling",
917
+ var githubLookupPoll = (options) => (options.client ?? client).post({
918
+ url: "/v1/github-lookup/poll",
902
919
  ...options,
903
920
  headers: {
904
921
  "Content-Type": "application/json",
@@ -1041,6 +1058,7 @@ var getTags = (options) => (options.client ?? client).get({ url: "/v1/enums/tags
1041
1058
  var getNaicsCodes = (options) => (options.client ?? client).get({ url: "/v1/enums/naics-codes", ...options });
1042
1059
  var getAccelerators = (options) => (options.client ?? client).get({ url: "/v1/enums/accelerators", ...options });
1043
1060
  var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/enums/subdivisions", ...options });
1061
+ var getTechnologies = (options) => (options.client ?? client).get({ url: "/v1/enums/technologies", ...options });
1044
1062
  var createAudience = (options) => (options.client ?? client).post({
1045
1063
  url: "/v1/audiences/create",
1046
1064
  ...options,
@@ -1135,8 +1153,8 @@ var peopleSearchCount = (options) => (options.client ?? client).post({
1135
1153
  ...options.headers
1136
1154
  }
1137
1155
  });
1138
- var syncCombinedSearch = (options) => (options.client ?? client).post({
1139
- url: "/v1/combined-search/sync",
1156
+ var paginatedCombinedSearch = (options) => (options.client ?? client).post({
1157
+ url: "/v1/combined-search/paginated",
1140
1158
  ...options,
1141
1159
  headers: {
1142
1160
  "Content-Type": "application/json",
@@ -1167,6 +1185,22 @@ var combinedSearchCount = (options) => (options.client ?? client).post({
1167
1185
  ...options.headers
1168
1186
  }
1169
1187
  });
1188
+ var stealthFoundersSearch = (options) => (options.client ?? client).post({
1189
+ url: "/v1/stealth-founders/search",
1190
+ ...options,
1191
+ headers: {
1192
+ "Content-Type": "application/json",
1193
+ ...options.headers
1194
+ }
1195
+ });
1196
+ var stealthFoundersCount = (options) => (options.client ?? client).post({
1197
+ url: "/v1/stealth-founders/count",
1198
+ ...options,
1199
+ headers: {
1200
+ "Content-Type": "application/json",
1201
+ ...options.headers
1202
+ }
1203
+ });
1170
1204
  var syncTurboContactEnrichment = (options) => (options.client ?? client).post({
1171
1205
  url: "/v1/contact-details/turbo/sync",
1172
1206
  ...options,
@@ -1183,6 +1217,14 @@ var syncQuickContactReveal = (options) => (options.client ?? client).post({
1183
1217
  ...options.headers
1184
1218
  }
1185
1219
  });
1220
+ var startDepthChart = (options) => (options.client ?? client).post({
1221
+ url: "/v1/depth-chart/start",
1222
+ ...options,
1223
+ headers: {
1224
+ "Content-Type": "application/json",
1225
+ ...options.headers
1226
+ }
1227
+ });
1186
1228
  var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client).post({
1187
1229
  url: "/v1/contact-details/exhaustive/start",
1188
1230
  ...options,
@@ -1191,8 +1233,8 @@ var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client)
1191
1233
  ...options.headers
1192
1234
  }
1193
1235
  });
1194
- var startBatchContactEnrichment = (options) => (options.client ?? client).post({
1195
- url: "/v1/contact-enrich/batch/start",
1236
+ var startBatchContactDetails = (options) => (options.client ?? client).post({
1237
+ url: "/v1/contact-details/batch/start",
1196
1238
  ...options,
1197
1239
  headers: {
1198
1240
  "Content-Type": "application/json",
@@ -1215,6 +1257,22 @@ var companyLiveEnrich = (options) => (options.client ?? client).post({
1215
1257
  ...options.headers
1216
1258
  }
1217
1259
  });
1260
+ var webpageScreenshot = (options) => (options.client ?? client).post({
1261
+ url: "/v1/live-fetch/webpage/screenshot",
1262
+ ...options,
1263
+ headers: {
1264
+ "Content-Type": "application/json",
1265
+ ...options.headers
1266
+ }
1267
+ });
1268
+ var startBatchLiveEnrich = (options) => (options.client ?? client).post({
1269
+ url: "/v1/linkedin-live-fetch/batch/start",
1270
+ ...options,
1271
+ headers: {
1272
+ "Content-Type": "application/json",
1273
+ ...options.headers
1274
+ }
1275
+ });
1218
1276
  var profilePostsLiveFetch = (options) => (options.client ?? client).post({
1219
1277
  url: "/v1/linkedin-live-fetch/profile-posts",
1220
1278
  ...options,
@@ -1295,6 +1353,14 @@ var reverseEmailLookup = (options) => (options.client ?? client).post({
1295
1353
  ...options.headers
1296
1354
  }
1297
1355
  });
1356
+ var twitterHandleToLinkedinUrl = (options) => (options.client ?? client).post({
1357
+ url: "/v1/twitter-handle-to-linkedin/single",
1358
+ ...options,
1359
+ headers: {
1360
+ "Content-Type": "application/json",
1361
+ ...options.headers
1362
+ }
1363
+ });
1298
1364
  var googleMapsSearch = (options) => (options.client ?? client).post({
1299
1365
  url: "/v1/google-maps-search/start",
1300
1366
  ...options,
@@ -1343,6 +1409,14 @@ var companyTypeahead = (options) => (options.client ?? client).post({
1343
1409
  ...options.headers
1344
1410
  }
1345
1411
  });
1412
+ var jobTitleRewrite = (options) => (options.client ?? client).post({
1413
+ url: "/v1/typeahead/job-title",
1414
+ ...options,
1415
+ headers: {
1416
+ "Content-Type": "application/json",
1417
+ ...options.headers
1418
+ }
1419
+ });
1346
1420
  var locationTypeahead = (options) => (options.client ?? client).post({
1347
1421
  url: "/v1/typeahead/location",
1348
1422
  ...options,
@@ -1447,6 +1521,14 @@ var githubToLinkedInTrigger = (options) => (options.client ?? client).post({
1447
1521
  ...options.headers
1448
1522
  }
1449
1523
  });
1524
+ var githubToLinkedinSingle = (options) => (options.client ?? client).post({
1525
+ url: "/v1/github-to-linkedin/single",
1526
+ ...options,
1527
+ headers: {
1528
+ "Content-Type": "application/json",
1529
+ ...options.headers
1530
+ }
1531
+ });
1450
1532
  var socialMediaLookupTrigger = (options) => (options.client ?? client).post({
1451
1533
  url: "/v1/social-media-lookup/trigger",
1452
1534
  ...options,
@@ -1495,6 +1577,14 @@ var youtubeChannel = (options) => (options.client ?? client).post({
1495
1577
  ...options.headers
1496
1578
  }
1497
1579
  });
1580
+ var fetchRealEstateListings = (options) => (options.client ?? client).post({
1581
+ url: "/v1/real-estate/listings",
1582
+ ...options,
1583
+ headers: {
1584
+ "Content-Type": "application/json",
1585
+ ...options.headers
1586
+ }
1587
+ });
1498
1588
  var getScoutingReport = (options) => (options.client ?? client).post({
1499
1589
  url: "/v1/scouting-report",
1500
1590
  ...options,
@@ -1567,6 +1657,198 @@ var listAllProfilesFromJourneymanList = (options) => (options.client ?? client).
1567
1657
  ...options.headers
1568
1658
  }
1569
1659
  });
1660
+ var tiktokProfile = (options) => (options.client ?? client).post({
1661
+ url: "/v1/tiktok/profile",
1662
+ ...options,
1663
+ headers: {
1664
+ "Content-Type": "application/json",
1665
+ ...options.headers
1666
+ }
1667
+ });
1668
+ var tiktokUserVideos = (options) => (options.client ?? client).post({
1669
+ url: "/v1/tiktok/user-videos",
1670
+ ...options,
1671
+ headers: {
1672
+ "Content-Type": "application/json",
1673
+ ...options.headers
1674
+ }
1675
+ });
1676
+ var tiktokUserFollowers = (options) => (options.client ?? client).post({
1677
+ url: "/v1/tiktok/user-followers",
1678
+ ...options,
1679
+ headers: {
1680
+ "Content-Type": "application/json",
1681
+ ...options.headers
1682
+ }
1683
+ });
1684
+ var tiktokUserFollowing = (options) => (options.client ?? client).post({
1685
+ url: "/v1/tiktok/user-following",
1686
+ ...options,
1687
+ headers: {
1688
+ "Content-Type": "application/json",
1689
+ ...options.headers
1690
+ }
1691
+ });
1692
+ var tiktokVideoDetails = (options) => (options.client ?? client).post({
1693
+ url: "/v1/tiktok/video-details",
1694
+ ...options,
1695
+ headers: {
1696
+ "Content-Type": "application/json",
1697
+ ...options.headers
1698
+ }
1699
+ });
1700
+ var tiktokVideoComments = (options) => (options.client ?? client).post({
1701
+ url: "/v1/tiktok/video-comments",
1702
+ ...options,
1703
+ headers: {
1704
+ "Content-Type": "application/json",
1705
+ ...options.headers
1706
+ }
1707
+ });
1708
+ var tiktokCommentReplies = (options) => (options.client ?? client).post({
1709
+ url: "/v1/tiktok/comment-replies",
1710
+ ...options,
1711
+ headers: {
1712
+ "Content-Type": "application/json",
1713
+ ...options.headers
1714
+ }
1715
+ });
1716
+ var tiktokVideoTranscript = (options) => (options.client ?? client).post({
1717
+ url: "/v1/tiktok/video-transcript",
1718
+ ...options,
1719
+ headers: {
1720
+ "Content-Type": "application/json",
1721
+ ...options.headers
1722
+ }
1723
+ });
1724
+ var tiktokSearchUsers = (options) => (options.client ?? client).post({
1725
+ url: "/v1/tiktok/search-users",
1726
+ ...options,
1727
+ headers: {
1728
+ "Content-Type": "application/json",
1729
+ ...options.headers
1730
+ }
1731
+ });
1732
+ var tiktokSearchKeyword = (options) => (options.client ?? client).post({
1733
+ url: "/v1/tiktok/search-keyword",
1734
+ ...options,
1735
+ headers: {
1736
+ "Content-Type": "application/json",
1737
+ ...options.headers
1738
+ }
1739
+ });
1740
+ var tiktokSearchHashtag = (options) => (options.client ?? client).post({
1741
+ url: "/v1/tiktok/search-hashtag",
1742
+ ...options,
1743
+ headers: {
1744
+ "Content-Type": "application/json",
1745
+ ...options.headers
1746
+ }
1747
+ });
1748
+ var tiktokUnifiedSearch = (options) => (options.client ?? client).post({
1749
+ url: "/v1/tiktok/unified-search",
1750
+ ...options,
1751
+ headers: {
1752
+ "Content-Type": "application/json",
1753
+ ...options.headers
1754
+ }
1755
+ });
1756
+ var tiktokPopularCreators = (options) => (options.client ?? client).post({
1757
+ url: "/v1/tiktok/popular-creators",
1758
+ ...options,
1759
+ headers: {
1760
+ "Content-Type": "application/json",
1761
+ ...options.headers
1762
+ }
1763
+ });
1764
+ var tiktokPopularVideos = (options) => (options.client ?? client).post({
1765
+ url: "/v1/tiktok/popular-videos",
1766
+ ...options,
1767
+ headers: {
1768
+ "Content-Type": "application/json",
1769
+ ...options.headers
1770
+ }
1771
+ });
1772
+ var tiktokPopularHashtags = (options) => (options.client ?? client).post({
1773
+ url: "/v1/tiktok/popular-hashtags",
1774
+ ...options,
1775
+ headers: {
1776
+ "Content-Type": "application/json",
1777
+ ...options.headers
1778
+ }
1779
+ });
1780
+ var tiktokPopularSongs = (options) => (options.client ?? client).post({
1781
+ url: "/v1/tiktok/popular-songs",
1782
+ ...options,
1783
+ headers: {
1784
+ "Content-Type": "application/json",
1785
+ ...options.headers
1786
+ }
1787
+ });
1788
+ var tiktokTrendingFeed = (options) => (options.client ?? client).post({
1789
+ url: "/v1/tiktok/trending-feed",
1790
+ ...options,
1791
+ headers: {
1792
+ "Content-Type": "application/json",
1793
+ ...options.headers
1794
+ }
1795
+ });
1796
+ var tiktokSongDetails = (options) => (options.client ?? client).post({
1797
+ url: "/v1/tiktok/song-details",
1798
+ ...options,
1799
+ headers: {
1800
+ "Content-Type": "application/json",
1801
+ ...options.headers
1802
+ }
1803
+ });
1804
+ var tiktokSongVideos = (options) => (options.client ?? client).post({
1805
+ url: "/v1/tiktok/song-videos",
1806
+ ...options,
1807
+ headers: {
1808
+ "Content-Type": "application/json",
1809
+ ...options.headers
1810
+ }
1811
+ });
1812
+ var instagramProfile = (options) => (options.client ?? client).post({
1813
+ url: "/v1/instagram/profile",
1814
+ ...options,
1815
+ headers: {
1816
+ "Content-Type": "application/json",
1817
+ ...options.headers
1818
+ }
1819
+ });
1820
+ var instagramUserPosts = (options) => (options.client ?? client).post({
1821
+ url: "/v1/instagram/user-posts",
1822
+ ...options,
1823
+ headers: {
1824
+ "Content-Type": "application/json",
1825
+ ...options.headers
1826
+ }
1827
+ });
1828
+ var instagramUserReels = (options) => (options.client ?? client).post({
1829
+ url: "/v1/instagram/user-reels",
1830
+ ...options,
1831
+ headers: {
1832
+ "Content-Type": "application/json",
1833
+ ...options.headers
1834
+ }
1835
+ });
1836
+ var instagramPostDetails = (options) => (options.client ?? client).post({
1837
+ url: "/v1/instagram/post-details",
1838
+ ...options,
1839
+ headers: {
1840
+ "Content-Type": "application/json",
1841
+ ...options.headers
1842
+ }
1843
+ });
1844
+ var instagramPostComments = (options) => (options.client ?? client).post({
1845
+ url: "/v1/instagram/post-comments",
1846
+ ...options,
1847
+ headers: {
1848
+ "Content-Type": "application/json",
1849
+ ...options.headers
1850
+ }
1851
+ });
1570
1852
  var twitterProfile = (options) => (options.client ?? client).post({
1571
1853
  url: "/v1/twitter/profile",
1572
1854
  ...options,
@@ -1690,6 +1972,7 @@ export {
1690
1972
  estimateEnrichmentCost,
1691
1973
  exportCompanies,
1692
1974
  exportProspects,
1975
+ fetchRealEstateListings,
1693
1976
  getAccelerators,
1694
1977
  getAudienceCompanies,
1695
1978
  getAudienceProspects,
@@ -1707,20 +1990,29 @@ export {
1707
1990
  getOpenApi,
1708
1991
  getOrgCredits,
1709
1992
  getProspectExclusionLists,
1993
+ getRateLimits,
1710
1994
  getRegions,
1711
1995
  getScoutingReport,
1712
1996
  getSubdivisions,
1713
1997
  getTags,
1998
+ getTechnologies,
1714
1999
  getTimeZones,
1715
- githubLookupPolling,
2000
+ githubLookupPoll,
1716
2001
  githubLookupTrigger,
1717
2002
  githubToLinkedInPolling,
1718
2003
  githubToLinkedInTrigger,
2004
+ githubToLinkedinSingle,
1719
2005
  googleMapsSearch,
1720
2006
  healthCheck,
2007
+ instagramPostComments,
2008
+ instagramPostDetails,
2009
+ instagramProfile,
2010
+ instagramUserPosts,
2011
+ instagramUserReels,
1721
2012
  jdToProfileSearch,
1722
2013
  jobPostingSearch,
1723
2014
  jobPostingSearchCount,
2015
+ jobTitleRewrite,
1724
2016
  kitchenSinkBulkCompany,
1725
2017
  kitchenSinkBulkProfile,
1726
2018
  kitchenSinkCompany,
@@ -1730,9 +2022,12 @@ export {
1730
2022
  listAudiences,
1731
2023
  locationTypeahead,
1732
2024
  multiSourceSearch,
2025
+ paginatedCombinedSearch,
1733
2026
  peopleSearch,
1734
2027
  peopleSearchCount,
1735
- pollBatchContactEnrichment,
2028
+ pollBatchContactDetails,
2029
+ pollBatchLiveEnrich,
2030
+ pollDepthChart,
1736
2031
  pollExhaustiveContactEnrichmentResult,
1737
2032
  pollGoogleMapsResults,
1738
2033
  pollLocalBusinessSearch,
@@ -1750,15 +2045,38 @@ export {
1750
2045
  socialMediaLookupTrigger,
1751
2046
  standardizeCompany,
1752
2047
  standardizeProfile,
1753
- startBatchContactEnrichment,
2048
+ startBatchContactDetails,
2049
+ startBatchLiveEnrich,
2050
+ startDepthChart,
1754
2051
  startLocalBusinessSearch,
1755
- syncCombinedSearch,
2052
+ stealthFoundersCount,
2053
+ stealthFoundersSearch,
1756
2054
  syncQuickContactReveal,
1757
2055
  syncTurboContactEnrichment,
1758
2056
  textToCombinedSearch,
1759
2057
  textToCombinedSearchParam,
2058
+ tiktokCommentReplies,
2059
+ tiktokPopularCreators,
2060
+ tiktokPopularHashtags,
2061
+ tiktokPopularSongs,
2062
+ tiktokPopularVideos,
2063
+ tiktokProfile,
2064
+ tiktokSearchHashtag,
2065
+ tiktokSearchKeyword,
2066
+ tiktokSearchUsers,
2067
+ tiktokSongDetails,
2068
+ tiktokSongVideos,
2069
+ tiktokTrendingFeed,
2070
+ tiktokUnifiedSearch,
2071
+ tiktokUserFollowers,
2072
+ tiktokUserFollowing,
2073
+ tiktokUserVideos,
2074
+ tiktokVideoComments,
2075
+ tiktokVideoDetails,
2076
+ tiktokVideoTranscript,
1760
2077
  triggerEnrichment,
1761
2078
  triggerExhaustiveContactEnrichment,
2079
+ twitterHandleToLinkedinUrl,
1762
2080
  twitterProfile,
1763
2081
  twitterSearch,
1764
2082
  twitterTweetDetails,
@@ -1773,6 +2091,7 @@ export {
1773
2091
  updateAutoTopupSettings,
1774
2092
  updateJobChangeList,
1775
2093
  validatePhoneNumber,
2094
+ webpageScreenshot,
1776
2095
  youtubeChannel,
1777
2096
  youtubeSearch,
1778
2097
  youtubeTranscript,