@fiberai/sdk 0.0.30 → 0.0.32

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 +253 -24
  2. package/dist/index.d.cts +48870 -17114
  3. package/dist/index.d.ts +48870 -17114
  4. package/dist/index.js +223 -19
  5. package/dist/zod.cjs +120846 -32119
  6. package/dist/zod.d.cts +82970 -4689
  7. package/dist/zod.d.ts +82970 -4689
  8. package/dist/zod.js +120701 -32109
  9. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -938,6 +938,14 @@ var socialMediaLookupPolling = (options) => (options.client ?? client).post({
938
938
  ...options.headers
939
939
  }
940
940
  });
941
+ var socialMediaLookupBatchPolling = (options) => (options.client ?? client).post({
942
+ url: "/v1/social-media-lookup/batch/poll",
943
+ ...options,
944
+ headers: {
945
+ "Content-Type": "application/json",
946
+ ...options.headers
947
+ }
948
+ });
941
949
  var getCompanyExclusionLists = (options) => (options.client ?? client).post({
942
950
  url: "/v1/exclusions/companies/get-lists",
943
951
  ...options,
@@ -1061,6 +1069,7 @@ var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/en
1061
1069
  var getTechnologies = (options) => (options.client ?? client).get({ url: "/v1/enums/technologies", ...options });
1062
1070
  var getSkills = (options) => (options.client ?? client).get({ url: "/v1/enums/skills", ...options });
1063
1071
  var getFlightRegions = (options) => (options.client ?? client).get({ url: "/v1/enums/flight-regions", ...options });
1072
+ var getMetroAreas = (options) => (options.client ?? client).get({ url: "/v1/enums/metro-areas", ...options });
1064
1073
  var createAudience = (options) => (options.client ?? client).post({
1065
1074
  url: "/v1/audiences/create",
1066
1075
  ...options,
@@ -1211,6 +1220,14 @@ var syncTurboContactEnrichment = (options) => (options.client ?? client).post({
1211
1220
  ...options.headers
1212
1221
  }
1213
1222
  });
1223
+ var premiumPhoneReveal = (options) => (options.client ?? client).post({
1224
+ url: "/v1/contact-details/premium-phone/sync",
1225
+ ...options,
1226
+ headers: {
1227
+ "Content-Type": "application/json",
1228
+ ...options.headers
1229
+ }
1230
+ });
1214
1231
  var syncQuickContactReveal = (options) => (options.client ?? client).post({
1215
1232
  url: "/v1/contact-details/single",
1216
1233
  ...options,
@@ -1379,6 +1396,14 @@ var standardizeCompany = (options) => (options.client ?? client).post({
1379
1396
  ...options.headers
1380
1397
  }
1381
1398
  });
1399
+ var standardizeCompanyBulk = (options) => (options.client ?? client).post({
1400
+ url: "/v1/standardize/company/bulk",
1401
+ ...options,
1402
+ headers: {
1403
+ "Content-Type": "application/json",
1404
+ ...options.headers
1405
+ }
1406
+ });
1382
1407
  var reverseEmailLookup = (options) => (options.client ?? client).post({
1383
1408
  url: "/v1/email-to-person/single",
1384
1409
  ...options,
@@ -1387,8 +1412,8 @@ var reverseEmailLookup = (options) => (options.client ?? client).post({
1387
1412
  ...options.headers
1388
1413
  }
1389
1414
  });
1390
- var twitterHandleToLinkedinUrl = (options) => (options.client ?? client).post({
1391
- url: "/v1/twitter-handle-to-linkedin/single",
1415
+ var liteReverseEmailLookup = (options) => (options.client ?? client).post({
1416
+ url: "/v1/email-to-person/single/lite",
1392
1417
  ...options,
1393
1418
  headers: {
1394
1419
  "Content-Type": "application/json",
@@ -1499,6 +1524,126 @@ var slushieRun = (options) => (options.client ?? client).post({
1499
1524
  ...options.headers
1500
1525
  }
1501
1526
  });
1527
+ var createSavedSearch = (options) => (options.client ?? client).post({
1528
+ url: "/v1/saved-search/create",
1529
+ ...options,
1530
+ headers: {
1531
+ "Content-Type": "application/json",
1532
+ ...options.headers
1533
+ }
1534
+ });
1535
+ var getSavedSearch = (options) => (options.client ?? client).post({
1536
+ url: "/v1/saved-search/get",
1537
+ ...options,
1538
+ headers: {
1539
+ "Content-Type": "application/json",
1540
+ ...options.headers
1541
+ }
1542
+ });
1543
+ var getSavedSearchRun = (options) => (options.client ?? client).post({
1544
+ url: "/v1/saved-search/run/get",
1545
+ ...options,
1546
+ headers: {
1547
+ "Content-Type": "application/json",
1548
+ ...options.headers
1549
+ }
1550
+ });
1551
+ var manuallySpawnSavedSearchRun = (options) => (options.client ?? client).post({
1552
+ url: "/v1/saved-search/spawn",
1553
+ ...options,
1554
+ headers: {
1555
+ "Content-Type": "application/json",
1556
+ ...options.headers
1557
+ }
1558
+ });
1559
+ var skipNextSavedSearchRun = (options) => (options.client ?? client).post({
1560
+ url: "/v1/saved-search/skip-next-run",
1561
+ ...options,
1562
+ headers: {
1563
+ "Content-Type": "application/json",
1564
+ ...options.headers
1565
+ }
1566
+ });
1567
+ var undoSkipNextSavedSearchRun = (options) => (options.client ?? client).post({
1568
+ url: "/v1/saved-search/undo-skip",
1569
+ ...options,
1570
+ headers: {
1571
+ "Content-Type": "application/json",
1572
+ ...options.headers
1573
+ }
1574
+ });
1575
+ var updateSavedSearch = (options) => (options.client ?? client).post({
1576
+ url: "/v1/saved-search/update",
1577
+ ...options,
1578
+ headers: {
1579
+ "Content-Type": "application/json",
1580
+ ...options.headers
1581
+ }
1582
+ });
1583
+ var listSavedSearchRuns = (options) => (options.client ?? client).post({
1584
+ url: "/v1/saved-search/run/list",
1585
+ ...options,
1586
+ headers: {
1587
+ "Content-Type": "application/json",
1588
+ ...options.headers
1589
+ }
1590
+ });
1591
+ var listSavedSearch = (options) => (options.client ?? client).post({
1592
+ url: "/v1/saved-search/list",
1593
+ ...options,
1594
+ headers: {
1595
+ "Content-Type": "application/json",
1596
+ ...options.headers
1597
+ }
1598
+ });
1599
+ var getSavedSearchRunStatus = (options) => (options.client ?? client).post({
1600
+ url: "/v1/saved-search/run/status",
1601
+ ...options,
1602
+ headers: {
1603
+ "Content-Type": "application/json",
1604
+ ...options.headers
1605
+ }
1606
+ });
1607
+ var getCurrentProfilesInSavedSearch = (options) => (options.client ?? client).post({
1608
+ url: "/v1/saved-search/current/profiles",
1609
+ ...options,
1610
+ headers: {
1611
+ "Content-Type": "application/json",
1612
+ ...options.headers
1613
+ }
1614
+ });
1615
+ var getCurrentCompaniesInSavedSearch = (options) => (options.client ?? client).post({
1616
+ url: "/v1/saved-search/current/companies",
1617
+ ...options,
1618
+ headers: {
1619
+ "Content-Type": "application/json",
1620
+ ...options.headers
1621
+ }
1622
+ });
1623
+ var getSavedSearchRunProfiles = (options) => (options.client ?? client).post({
1624
+ url: "/v1/saved-search/run/profiles",
1625
+ ...options,
1626
+ headers: {
1627
+ "Content-Type": "application/json",
1628
+ ...options.headers
1629
+ }
1630
+ });
1631
+ var getSavedSearchRunCompanies = (options) => (options.client ?? client).post({
1632
+ url: "/v1/saved-search/run/companies",
1633
+ ...options,
1634
+ headers: {
1635
+ "Content-Type": "application/json",
1636
+ ...options.headers
1637
+ }
1638
+ });
1639
+ var getLatestSavedSearchRun = (options) => (options.client ?? client).post({
1640
+ url: "/v1/saved-search/run/get-latest",
1641
+ ...options,
1642
+ headers: {
1643
+ "Content-Type": "application/json",
1644
+ ...options.headers
1645
+ }
1646
+ });
1502
1647
  var startLocalBusinessSearch = (options) => (options.client ?? client).post({
1503
1648
  url: "/v1/local-business-search/start",
1504
1649
  ...options,
@@ -1571,6 +1716,22 @@ var socialMediaLookupTrigger = (options) => (options.client ?? client).post({
1571
1716
  ...options.headers
1572
1717
  }
1573
1718
  });
1719
+ var socialMediaLookupBatchTrigger = (options) => (options.client ?? client).post({
1720
+ url: "/v1/social-media-lookup/batch/trigger",
1721
+ ...options,
1722
+ headers: {
1723
+ "Content-Type": "application/json",
1724
+ ...options.headers
1725
+ }
1726
+ });
1727
+ var twitterHandleToLinkedinUrl = (options) => (options.client ?? client).post({
1728
+ url: "/v1/twitter-handle-to-linkedin/single",
1729
+ ...options,
1730
+ headers: {
1731
+ "Content-Type": "application/json",
1732
+ ...options.headers
1733
+ }
1734
+ });
1574
1735
  var youtubeTranscript = (options) => (options.client ?? client).post({
1575
1736
  url: "/v1/youtube/transcript",
1576
1737
  ...options,
@@ -1627,6 +1788,22 @@ var fetchRealEstateListings = (options) => (options.client ?? client).post({
1627
1788
  ...options.headers
1628
1789
  }
1629
1790
  });
1791
+ var blueCollarJobsSearch = (options) => (options.client ?? client).post({
1792
+ url: "/v1/blue-collar-jobs/search",
1793
+ ...options,
1794
+ headers: {
1795
+ "Content-Type": "application/json",
1796
+ ...options.headers
1797
+ }
1798
+ });
1799
+ var blueCollarResolveCompany = (options) => (options.client ?? client).post({
1800
+ url: "/v1/blue-collar-jobs/resolve-company",
1801
+ ...options,
1802
+ headers: {
1803
+ "Content-Type": "application/json",
1804
+ ...options.headers
1805
+ }
1806
+ });
1630
1807
  var getScoutingReport = (options) => (options.client ?? client).post({
1631
1808
  url: "/v1/scouting-report",
1632
1809
  ...options,
@@ -1643,7 +1820,7 @@ var createJobChangeList = (options) => (options.client ?? client).post({
1643
1820
  ...options.headers
1644
1821
  }
1645
1822
  });
1646
- var getJourneymanList = (options) => (options.client ?? client).post({
1823
+ var getJobChangeList = (options) => (options.client ?? client).post({
1647
1824
  url: "/v1/job-changes/get-list",
1648
1825
  ...options,
1649
1826
  headers: {
@@ -1683,7 +1860,7 @@ var deleteProfilesFromJobChangeList = (options) => (options.client ?? client).po
1683
1860
  ...options.headers
1684
1861
  }
1685
1862
  });
1686
- var listAllJourneymanLists = (options) => (options.client ?? client).post({
1863
+ var listAllJobChangeLists = (options) => (options.client ?? client).post({
1687
1864
  url: "/v1/job-changes/list-all",
1688
1865
  ...options,
1689
1866
  headers: {
@@ -1691,7 +1868,7 @@ var listAllJourneymanLists = (options) => (options.client ?? client).post({
1691
1868
  ...options.headers
1692
1869
  }
1693
1870
  });
1694
- var listAllProfilesFromJourneymanList = (options) => (options.client ?? client).post({
1871
+ var listAllProfilesFromJobChangeList = (options) => (options.client ?? client).post({
1695
1872
  url: "/v1/job-changes/list-all-profiles",
1696
1873
  ...options,
1697
1874
  headers: {
@@ -1734,7 +1911,7 @@ var addTrackerCompanies = (options) => (options.client ?? client).put({
1734
1911
  ...options.headers
1735
1912
  }
1736
1913
  });
1737
- var listTrackerChanges = (options) => (options.client ?? client).get({ url: "/v1/tracker/changes/{listId}", ...options });
1914
+ var listTrackerSignals = (options) => (options.client ?? client).get({ url: "/v1/tracker/signals/{listId}", ...options });
1738
1915
  var listTrackerPersonLists = (options) => (options.client ?? client).get({ url: "/v1/tracker/person-lists", ...options });
1739
1916
  var createTrackerPersonList = (options) => (options.client ?? client).post({
1740
1917
  url: "/v1/tracker/person-lists",
@@ -1771,6 +1948,16 @@ var addTrackerPeople = (options) => (options.client ?? client).put({
1771
1948
  }
1772
1949
  });
1773
1950
  var getTrackerOverview = (options) => (options.client ?? client).get({ url: "/v1/tracker/overview", ...options });
1951
+ var fireTrackerDummy = (options) => (options.client ?? client).post({ url: "/v1/tracker/fire-dummy/{listId}", ...options });
1952
+ var previewTrackerSignal = (options) => (options.client ?? client).post({
1953
+ url: "/v1/tracker/rules/preview-signal",
1954
+ ...options,
1955
+ headers: {
1956
+ "Content-Type": "application/json",
1957
+ ...options.headers
1958
+ }
1959
+ });
1960
+ var listAvailableTrackerRules = (options) => (options.client ?? client).get({ url: "/v1/tracker/rules", ...options });
1774
1961
  var tiktokProfile = (options) => (options.client ?? client).post({
1775
1962
  url: "/v1/tiktok/profile",
1776
1963
  ...options,
@@ -1867,14 +2054,6 @@ var tiktokUnifiedSearch = (options) => (options.client ?? client).post({
1867
2054
  ...options.headers
1868
2055
  }
1869
2056
  });
1870
- var tiktokPopularCreators = (options) => (options.client ?? client).post({
1871
- url: "/v1/tiktok/popular-creators",
1872
- ...options,
1873
- headers: {
1874
- "Content-Type": "application/json",
1875
- ...options.headers
1876
- }
1877
- });
1878
2057
  var tiktokPopularSongs = (options) => (options.client ?? client).post({
1879
2058
  url: "/v1/tiktok/popular-songs",
1880
2059
  ...options,
@@ -2073,6 +2252,8 @@ export {
2073
2252
  addProspectsToExclusionList,
2074
2253
  addTrackerCompanies,
2075
2254
  addTrackerPeople,
2255
+ blueCollarJobsSearch,
2256
+ blueCollarResolveCompany,
2076
2257
  buildAudience,
2077
2258
  bulkCompanyLogos,
2078
2259
  bulkProfilePic,
@@ -2094,6 +2275,7 @@ export {
2094
2275
  createJobChangeList,
2095
2276
  createProspectExclusionList,
2096
2277
  createProspectExclusionListFromAudience,
2278
+ createSavedSearch,
2097
2279
  createTrackerCompanyList,
2098
2280
  createTrackerPersonList,
2099
2281
  deleteAudience,
@@ -2110,6 +2292,7 @@ export {
2110
2292
  exportCompanies,
2111
2293
  exportProspects,
2112
2294
  fetchRealEstateListings,
2295
+ fireTrackerDummy,
2113
2296
  flightSearch,
2114
2297
  getAccelerators,
2115
2298
  getAudienceCompanies,
@@ -2118,19 +2301,28 @@ export {
2118
2301
  getAutoTopupSettings,
2119
2302
  getCompanyExclusionLists,
2120
2303
  getCompanyRevenue,
2304
+ getCurrentCompaniesInSavedSearch,
2305
+ getCurrentProfilesInSavedSearch,
2121
2306
  getEnrichmentStatus,
2122
2307
  getExcludedCompaniesForExclusionList,
2123
2308
  getExcludedProspectsForExclusionList,
2124
2309
  getFlightRegions,
2125
2310
  getIndustries,
2126
- getJourneymanList,
2311
+ getJobChangeList,
2127
2312
  getLanguages,
2313
+ getLatestSavedSearchRun,
2314
+ getMetroAreas,
2128
2315
  getNaicsCodes,
2129
2316
  getOpenApi,
2130
2317
  getOrgCredits,
2131
2318
  getProspectExclusionLists,
2132
2319
  getRateLimits,
2133
2320
  getRegions,
2321
+ getSavedSearch,
2322
+ getSavedSearchRun,
2323
+ getSavedSearchRunCompanies,
2324
+ getSavedSearchRunProfiles,
2325
+ getSavedSearchRunStatus,
2134
2326
  getScoutingReport,
2135
2327
  getSkills,
2136
2328
  getSubdivisions,
@@ -2159,14 +2351,19 @@ export {
2159
2351
  kitchenSinkBulkProfile,
2160
2352
  kitchenSinkCompany,
2161
2353
  kitchenSinkProfile,
2162
- listAllJourneymanLists,
2163
- listAllProfilesFromJourneymanList,
2354
+ listAllJobChangeLists,
2355
+ listAllProfilesFromJobChangeList,
2164
2356
  listAudiences,
2165
- listTrackerChanges,
2357
+ listAvailableTrackerRules,
2358
+ listSavedSearch,
2359
+ listSavedSearchRuns,
2166
2360
  listTrackerCompanyLists,
2167
2361
  listTrackerPersonLists,
2362
+ listTrackerSignals,
2168
2363
  liteContactReveal,
2364
+ liteReverseEmailLookup,
2169
2365
  locationTypeahead,
2366
+ manuallySpawnSavedSearchRun,
2170
2367
  multiSourceSearch,
2171
2368
  nlpSearchParse,
2172
2369
  paginatedCombinedSearch,
@@ -2181,6 +2378,8 @@ export {
2181
2378
  postCommentsLiveFetch,
2182
2379
  postReactionsLiveFetch,
2183
2380
  postSearchByKeywords,
2381
+ premiumPhoneReveal,
2382
+ previewTrackerSignal,
2184
2383
  profileCommentsLiveFetch,
2185
2384
  profileLastActivityDateLiveFetch,
2186
2385
  profileLatestActivitiesLiveFetch,
@@ -2197,10 +2396,14 @@ export {
2197
2396
  removeTrackerPeople,
2198
2397
  reverseEmailLookup,
2199
2398
  skillsTypeahead,
2399
+ skipNextSavedSearchRun,
2200
2400
  slushieRun,
2401
+ socialMediaLookupBatchPolling,
2402
+ socialMediaLookupBatchTrigger,
2201
2403
  socialMediaLookupPolling,
2202
2404
  socialMediaLookupTrigger,
2203
2405
  standardizeCompany,
2406
+ standardizeCompanyBulk,
2204
2407
  standardizeProfile,
2205
2408
  startBatchContactDetails,
2206
2409
  startBatchLiveEnrich,
@@ -2211,7 +2414,6 @@ export {
2211
2414
  syncQuickContactReveal,
2212
2415
  syncTurboContactEnrichment,
2213
2416
  tiktokCommentReplies,
2214
- tiktokPopularCreators,
2215
2417
  tiktokPopularSongs,
2216
2418
  tiktokProfile,
2217
2419
  tiktokSearchHashtag,
@@ -2240,9 +2442,11 @@ export {
2240
2442
  twitterUserFollowing,
2241
2443
  twitterUserMentions,
2242
2444
  twitterUserTweets,
2445
+ undoSkipNextSavedSearchRun,
2243
2446
  updateAudienceSearchParams,
2244
2447
  updateAutoTopupSettings,
2245
2448
  updateJobChangeList,
2449
+ updateSavedSearch,
2246
2450
  updateTrackerCompanyList,
2247
2451
  updateTrackerPersonList,
2248
2452
  validatePhoneNumber,