@fiberai/sdk 0.0.14 → 0.0.16

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 +395 -16
  2. package/dist/index.d.cts +25022 -9859
  3. package/dist/index.d.ts +25022 -9859
  4. package/dist/index.js +351 -12
  5. package/dist/zod.cjs +76770 -63333
  6. package/dist/zod.d.cts +51487 -42288
  7. package/dist/zod.d.ts +51487 -42288
  8. package/dist/zod.js +76661 -63325
  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,8 @@ 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 });
1062
+ var getFlightRegions = (options) => (options.client ?? client).get({ url: "/v1/enums/flight-regions", ...options });
1044
1063
  var createAudience = (options) => (options.client ?? client).post({
1045
1064
  url: "/v1/audiences/create",
1046
1065
  ...options,
@@ -1135,8 +1154,8 @@ var peopleSearchCount = (options) => (options.client ?? client).post({
1135
1154
  ...options.headers
1136
1155
  }
1137
1156
  });
1138
- var syncCombinedSearch = (options) => (options.client ?? client).post({
1139
- url: "/v1/combined-search/sync",
1157
+ var paginatedCombinedSearch = (options) => (options.client ?? client).post({
1158
+ url: "/v1/combined-search/paginated",
1140
1159
  ...options,
1141
1160
  headers: {
1142
1161
  "Content-Type": "application/json",
@@ -1167,6 +1186,22 @@ var combinedSearchCount = (options) => (options.client ?? client).post({
1167
1186
  ...options.headers
1168
1187
  }
1169
1188
  });
1189
+ var stealthFoundersSearch = (options) => (options.client ?? client).post({
1190
+ url: "/v1/stealth-founders/search",
1191
+ ...options,
1192
+ headers: {
1193
+ "Content-Type": "application/json",
1194
+ ...options.headers
1195
+ }
1196
+ });
1197
+ var stealthFoundersCount = (options) => (options.client ?? client).post({
1198
+ url: "/v1/stealth-founders/count",
1199
+ ...options,
1200
+ headers: {
1201
+ "Content-Type": "application/json",
1202
+ ...options.headers
1203
+ }
1204
+ });
1170
1205
  var syncTurboContactEnrichment = (options) => (options.client ?? client).post({
1171
1206
  url: "/v1/contact-details/turbo/sync",
1172
1207
  ...options,
@@ -1183,6 +1218,22 @@ var syncQuickContactReveal = (options) => (options.client ?? client).post({
1183
1218
  ...options.headers
1184
1219
  }
1185
1220
  });
1221
+ var liteContactReveal = (options) => (options.client ?? client).post({
1222
+ url: "/v1/contact-details/lite",
1223
+ ...options,
1224
+ headers: {
1225
+ "Content-Type": "application/json",
1226
+ ...options.headers
1227
+ }
1228
+ });
1229
+ var startDepthChart = (options) => (options.client ?? client).post({
1230
+ url: "/v1/depth-chart/start",
1231
+ ...options,
1232
+ headers: {
1233
+ "Content-Type": "application/json",
1234
+ ...options.headers
1235
+ }
1236
+ });
1186
1237
  var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client).post({
1187
1238
  url: "/v1/contact-details/exhaustive/start",
1188
1239
  ...options,
@@ -1191,8 +1242,8 @@ var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client)
1191
1242
  ...options.headers
1192
1243
  }
1193
1244
  });
1194
- var startBatchContactEnrichment = (options) => (options.client ?? client).post({
1195
- url: "/v1/contact-enrich/batch/start",
1245
+ var startBatchContactDetails = (options) => (options.client ?? client).post({
1246
+ url: "/v1/contact-details/batch/start",
1196
1247
  ...options,
1197
1248
  headers: {
1198
1249
  "Content-Type": "application/json",
@@ -1215,6 +1266,22 @@ var companyLiveEnrich = (options) => (options.client ?? client).post({
1215
1266
  ...options.headers
1216
1267
  }
1217
1268
  });
1269
+ var webpageScreenshot = (options) => (options.client ?? client).post({
1270
+ url: "/v1/live-fetch/webpage/screenshot",
1271
+ ...options,
1272
+ headers: {
1273
+ "Content-Type": "application/json",
1274
+ ...options.headers
1275
+ }
1276
+ });
1277
+ var startBatchLiveEnrich = (options) => (options.client ?? client).post({
1278
+ url: "/v1/linkedin-live-fetch/batch/start",
1279
+ ...options,
1280
+ headers: {
1281
+ "Content-Type": "application/json",
1282
+ ...options.headers
1283
+ }
1284
+ });
1218
1285
  var profilePostsLiveFetch = (options) => (options.client ?? client).post({
1219
1286
  url: "/v1/linkedin-live-fetch/profile-posts",
1220
1287
  ...options,
@@ -1295,6 +1362,14 @@ var reverseEmailLookup = (options) => (options.client ?? client).post({
1295
1362
  ...options.headers
1296
1363
  }
1297
1364
  });
1365
+ var twitterHandleToLinkedinUrl = (options) => (options.client ?? client).post({
1366
+ url: "/v1/twitter-handle-to-linkedin/single",
1367
+ ...options,
1368
+ headers: {
1369
+ "Content-Type": "application/json",
1370
+ ...options.headers
1371
+ }
1372
+ });
1298
1373
  var googleMapsSearch = (options) => (options.client ?? client).post({
1299
1374
  url: "/v1/google-maps-search/start",
1300
1375
  ...options,
@@ -1343,6 +1418,14 @@ var companyTypeahead = (options) => (options.client ?? client).post({
1343
1418
  ...options.headers
1344
1419
  }
1345
1420
  });
1421
+ var jobTitleRewrite = (options) => (options.client ?? client).post({
1422
+ url: "/v1/typeahead/job-title",
1423
+ ...options,
1424
+ headers: {
1425
+ "Content-Type": "application/json",
1426
+ ...options.headers
1427
+ }
1428
+ });
1346
1429
  var locationTypeahead = (options) => (options.client ?? client).post({
1347
1430
  url: "/v1/typeahead/location",
1348
1431
  ...options,
@@ -1447,6 +1530,14 @@ var githubToLinkedInTrigger = (options) => (options.client ?? client).post({
1447
1530
  ...options.headers
1448
1531
  }
1449
1532
  });
1533
+ var githubToLinkedinSingle = (options) => (options.client ?? client).post({
1534
+ url: "/v1/github-to-linkedin/single",
1535
+ ...options,
1536
+ headers: {
1537
+ "Content-Type": "application/json",
1538
+ ...options.headers
1539
+ }
1540
+ });
1450
1541
  var socialMediaLookupTrigger = (options) => (options.client ?? client).post({
1451
1542
  url: "/v1/social-media-lookup/trigger",
1452
1543
  ...options,
@@ -1495,6 +1586,22 @@ var youtubeChannel = (options) => (options.client ?? client).post({
1495
1586
  ...options.headers
1496
1587
  }
1497
1588
  });
1589
+ var flightSearch = (options) => (options.client ?? client).post({
1590
+ url: "/v1/flights/search",
1591
+ ...options,
1592
+ headers: {
1593
+ "Content-Type": "application/json",
1594
+ ...options.headers
1595
+ }
1596
+ });
1597
+ var fetchRealEstateListings = (options) => (options.client ?? client).post({
1598
+ url: "/v1/real-estate/listings",
1599
+ ...options,
1600
+ headers: {
1601
+ "Content-Type": "application/json",
1602
+ ...options.headers
1603
+ }
1604
+ });
1498
1605
  var getScoutingReport = (options) => (options.client ?? client).post({
1499
1606
  url: "/v1/scouting-report",
1500
1607
  ...options,
@@ -1567,6 +1674,198 @@ var listAllProfilesFromJourneymanList = (options) => (options.client ?? client).
1567
1674
  ...options.headers
1568
1675
  }
1569
1676
  });
1677
+ var tiktokProfile = (options) => (options.client ?? client).post({
1678
+ url: "/v1/tiktok/profile",
1679
+ ...options,
1680
+ headers: {
1681
+ "Content-Type": "application/json",
1682
+ ...options.headers
1683
+ }
1684
+ });
1685
+ var tiktokUserVideos = (options) => (options.client ?? client).post({
1686
+ url: "/v1/tiktok/user-videos",
1687
+ ...options,
1688
+ headers: {
1689
+ "Content-Type": "application/json",
1690
+ ...options.headers
1691
+ }
1692
+ });
1693
+ var tiktokUserFollowers = (options) => (options.client ?? client).post({
1694
+ url: "/v1/tiktok/user-followers",
1695
+ ...options,
1696
+ headers: {
1697
+ "Content-Type": "application/json",
1698
+ ...options.headers
1699
+ }
1700
+ });
1701
+ var tiktokUserFollowing = (options) => (options.client ?? client).post({
1702
+ url: "/v1/tiktok/user-following",
1703
+ ...options,
1704
+ headers: {
1705
+ "Content-Type": "application/json",
1706
+ ...options.headers
1707
+ }
1708
+ });
1709
+ var tiktokVideoDetails = (options) => (options.client ?? client).post({
1710
+ url: "/v1/tiktok/video-details",
1711
+ ...options,
1712
+ headers: {
1713
+ "Content-Type": "application/json",
1714
+ ...options.headers
1715
+ }
1716
+ });
1717
+ var tiktokVideoComments = (options) => (options.client ?? client).post({
1718
+ url: "/v1/tiktok/video-comments",
1719
+ ...options,
1720
+ headers: {
1721
+ "Content-Type": "application/json",
1722
+ ...options.headers
1723
+ }
1724
+ });
1725
+ var tiktokCommentReplies = (options) => (options.client ?? client).post({
1726
+ url: "/v1/tiktok/comment-replies",
1727
+ ...options,
1728
+ headers: {
1729
+ "Content-Type": "application/json",
1730
+ ...options.headers
1731
+ }
1732
+ });
1733
+ var tiktokVideoTranscript = (options) => (options.client ?? client).post({
1734
+ url: "/v1/tiktok/video-transcript",
1735
+ ...options,
1736
+ headers: {
1737
+ "Content-Type": "application/json",
1738
+ ...options.headers
1739
+ }
1740
+ });
1741
+ var tiktokSearchUsers = (options) => (options.client ?? client).post({
1742
+ url: "/v1/tiktok/search-users",
1743
+ ...options,
1744
+ headers: {
1745
+ "Content-Type": "application/json",
1746
+ ...options.headers
1747
+ }
1748
+ });
1749
+ var tiktokSearchKeyword = (options) => (options.client ?? client).post({
1750
+ url: "/v1/tiktok/search-keyword",
1751
+ ...options,
1752
+ headers: {
1753
+ "Content-Type": "application/json",
1754
+ ...options.headers
1755
+ }
1756
+ });
1757
+ var tiktokSearchHashtag = (options) => (options.client ?? client).post({
1758
+ url: "/v1/tiktok/search-hashtag",
1759
+ ...options,
1760
+ headers: {
1761
+ "Content-Type": "application/json",
1762
+ ...options.headers
1763
+ }
1764
+ });
1765
+ var tiktokUnifiedSearch = (options) => (options.client ?? client).post({
1766
+ url: "/v1/tiktok/unified-search",
1767
+ ...options,
1768
+ headers: {
1769
+ "Content-Type": "application/json",
1770
+ ...options.headers
1771
+ }
1772
+ });
1773
+ var tiktokPopularCreators = (options) => (options.client ?? client).post({
1774
+ url: "/v1/tiktok/popular-creators",
1775
+ ...options,
1776
+ headers: {
1777
+ "Content-Type": "application/json",
1778
+ ...options.headers
1779
+ }
1780
+ });
1781
+ var tiktokPopularVideos = (options) => (options.client ?? client).post({
1782
+ url: "/v1/tiktok/popular-videos",
1783
+ ...options,
1784
+ headers: {
1785
+ "Content-Type": "application/json",
1786
+ ...options.headers
1787
+ }
1788
+ });
1789
+ var tiktokPopularHashtags = (options) => (options.client ?? client).post({
1790
+ url: "/v1/tiktok/popular-hashtags",
1791
+ ...options,
1792
+ headers: {
1793
+ "Content-Type": "application/json",
1794
+ ...options.headers
1795
+ }
1796
+ });
1797
+ var tiktokPopularSongs = (options) => (options.client ?? client).post({
1798
+ url: "/v1/tiktok/popular-songs",
1799
+ ...options,
1800
+ headers: {
1801
+ "Content-Type": "application/json",
1802
+ ...options.headers
1803
+ }
1804
+ });
1805
+ var tiktokTrendingFeed = (options) => (options.client ?? client).post({
1806
+ url: "/v1/tiktok/trending-feed",
1807
+ ...options,
1808
+ headers: {
1809
+ "Content-Type": "application/json",
1810
+ ...options.headers
1811
+ }
1812
+ });
1813
+ var tiktokSongDetails = (options) => (options.client ?? client).post({
1814
+ url: "/v1/tiktok/song-details",
1815
+ ...options,
1816
+ headers: {
1817
+ "Content-Type": "application/json",
1818
+ ...options.headers
1819
+ }
1820
+ });
1821
+ var tiktokSongVideos = (options) => (options.client ?? client).post({
1822
+ url: "/v1/tiktok/song-videos",
1823
+ ...options,
1824
+ headers: {
1825
+ "Content-Type": "application/json",
1826
+ ...options.headers
1827
+ }
1828
+ });
1829
+ var instagramProfile = (options) => (options.client ?? client).post({
1830
+ url: "/v1/instagram/profile",
1831
+ ...options,
1832
+ headers: {
1833
+ "Content-Type": "application/json",
1834
+ ...options.headers
1835
+ }
1836
+ });
1837
+ var instagramUserPosts = (options) => (options.client ?? client).post({
1838
+ url: "/v1/instagram/user-posts",
1839
+ ...options,
1840
+ headers: {
1841
+ "Content-Type": "application/json",
1842
+ ...options.headers
1843
+ }
1844
+ });
1845
+ var instagramUserReels = (options) => (options.client ?? client).post({
1846
+ url: "/v1/instagram/user-reels",
1847
+ ...options,
1848
+ headers: {
1849
+ "Content-Type": "application/json",
1850
+ ...options.headers
1851
+ }
1852
+ });
1853
+ var instagramPostDetails = (options) => (options.client ?? client).post({
1854
+ url: "/v1/instagram/post-details",
1855
+ ...options,
1856
+ headers: {
1857
+ "Content-Type": "application/json",
1858
+ ...options.headers
1859
+ }
1860
+ });
1861
+ var instagramPostComments = (options) => (options.client ?? client).post({
1862
+ url: "/v1/instagram/post-comments",
1863
+ ...options,
1864
+ headers: {
1865
+ "Content-Type": "application/json",
1866
+ ...options.headers
1867
+ }
1868
+ });
1570
1869
  var twitterProfile = (options) => (options.client ?? client).post({
1571
1870
  url: "/v1/twitter/profile",
1572
1871
  ...options,
@@ -1690,6 +1989,8 @@ export {
1690
1989
  estimateEnrichmentCost,
1691
1990
  exportCompanies,
1692
1991
  exportProspects,
1992
+ fetchRealEstateListings,
1993
+ flightSearch,
1693
1994
  getAccelerators,
1694
1995
  getAudienceCompanies,
1695
1996
  getAudienceProspects,
@@ -1700,6 +2001,7 @@ export {
1700
2001
  getEnrichmentStatus,
1701
2002
  getExcludedCompaniesForExclusionList,
1702
2003
  getExcludedProspectsForExclusionList,
2004
+ getFlightRegions,
1703
2005
  getIndustries,
1704
2006
  getJourneymanList,
1705
2007
  getLanguages,
@@ -1707,20 +2009,29 @@ export {
1707
2009
  getOpenApi,
1708
2010
  getOrgCredits,
1709
2011
  getProspectExclusionLists,
2012
+ getRateLimits,
1710
2013
  getRegions,
1711
2014
  getScoutingReport,
1712
2015
  getSubdivisions,
1713
2016
  getTags,
2017
+ getTechnologies,
1714
2018
  getTimeZones,
1715
- githubLookupPolling,
2019
+ githubLookupPoll,
1716
2020
  githubLookupTrigger,
1717
2021
  githubToLinkedInPolling,
1718
2022
  githubToLinkedInTrigger,
2023
+ githubToLinkedinSingle,
1719
2024
  googleMapsSearch,
1720
2025
  healthCheck,
2026
+ instagramPostComments,
2027
+ instagramPostDetails,
2028
+ instagramProfile,
2029
+ instagramUserPosts,
2030
+ instagramUserReels,
1721
2031
  jdToProfileSearch,
1722
2032
  jobPostingSearch,
1723
2033
  jobPostingSearchCount,
2034
+ jobTitleRewrite,
1724
2035
  kitchenSinkBulkCompany,
1725
2036
  kitchenSinkBulkProfile,
1726
2037
  kitchenSinkCompany,
@@ -1728,11 +2039,15 @@ export {
1728
2039
  listAllJourneymanLists,
1729
2040
  listAllProfilesFromJourneymanList,
1730
2041
  listAudiences,
2042
+ liteContactReveal,
1731
2043
  locationTypeahead,
1732
2044
  multiSourceSearch,
2045
+ paginatedCombinedSearch,
1733
2046
  peopleSearch,
1734
2047
  peopleSearchCount,
1735
- pollBatchContactEnrichment,
2048
+ pollBatchContactDetails,
2049
+ pollBatchLiveEnrich,
2050
+ pollDepthChart,
1736
2051
  pollExhaustiveContactEnrichmentResult,
1737
2052
  pollGoogleMapsResults,
1738
2053
  pollLocalBusinessSearch,
@@ -1750,15 +2065,38 @@ export {
1750
2065
  socialMediaLookupTrigger,
1751
2066
  standardizeCompany,
1752
2067
  standardizeProfile,
1753
- startBatchContactEnrichment,
2068
+ startBatchContactDetails,
2069
+ startBatchLiveEnrich,
2070
+ startDepthChart,
1754
2071
  startLocalBusinessSearch,
1755
- syncCombinedSearch,
2072
+ stealthFoundersCount,
2073
+ stealthFoundersSearch,
1756
2074
  syncQuickContactReveal,
1757
2075
  syncTurboContactEnrichment,
1758
2076
  textToCombinedSearch,
1759
2077
  textToCombinedSearchParam,
2078
+ tiktokCommentReplies,
2079
+ tiktokPopularCreators,
2080
+ tiktokPopularHashtags,
2081
+ tiktokPopularSongs,
2082
+ tiktokPopularVideos,
2083
+ tiktokProfile,
2084
+ tiktokSearchHashtag,
2085
+ tiktokSearchKeyword,
2086
+ tiktokSearchUsers,
2087
+ tiktokSongDetails,
2088
+ tiktokSongVideos,
2089
+ tiktokTrendingFeed,
2090
+ tiktokUnifiedSearch,
2091
+ tiktokUserFollowers,
2092
+ tiktokUserFollowing,
2093
+ tiktokUserVideos,
2094
+ tiktokVideoComments,
2095
+ tiktokVideoDetails,
2096
+ tiktokVideoTranscript,
1760
2097
  triggerEnrichment,
1761
2098
  triggerExhaustiveContactEnrichment,
2099
+ twitterHandleToLinkedinUrl,
1762
2100
  twitterProfile,
1763
2101
  twitterSearch,
1764
2102
  twitterTweetDetails,
@@ -1773,6 +2111,7 @@ export {
1773
2111
  updateAutoTopupSettings,
1774
2112
  updateJobChangeList,
1775
2113
  validatePhoneNumber,
2114
+ webpageScreenshot,
1776
2115
  youtubeChannel,
1777
2116
  youtubeSearch,
1778
2117
  youtubeTranscript,