@fiberai/sdk 0.0.4 → 0.0.5

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.cjs CHANGED
@@ -22,6 +22,7 @@ var index_exports = {};
22
22
  __export(index_exports, {
23
23
  addCompaniesToExclusionList: () => addCompaniesToExclusionList,
24
24
  addProspectsToExclusionList: () => addProspectsToExclusionList,
25
+ buildAudience: () => buildAudience,
25
26
  bulkCompanyLogos: () => bulkCompanyLogos,
26
27
  checkGoogleMapsResults: () => checkGoogleMapsResults,
27
28
  client: () => client,
@@ -31,6 +32,7 @@ __export(index_exports, {
31
32
  companyPostsLiveFetch: () => companyPostsLiveFetch,
32
33
  companySearch: () => companySearch,
33
34
  companyTypeahead: () => companyTypeahead,
35
+ createAudience: () => createAudience,
34
36
  createClient: () => createClient,
35
37
  createCompanyExclusionList: () => createCompanyExclusionList,
36
38
  createCompanyExclusionListFromAudience: () => createCompanyExclusionListFromAudience,
@@ -38,15 +40,23 @@ __export(index_exports, {
38
40
  createProspectExclusionList: () => createProspectExclusionList,
39
41
  createProspectExclusionListFromAudience: () => createProspectExclusionListFromAudience,
40
42
  createSavedSearch: () => createSavedSearch,
43
+ deleteAudience: () => deleteAudience,
41
44
  deleteCompanyExclusionList: () => deleteCompanyExclusionList,
42
45
  deleteProspectExclusionList: () => deleteProspectExclusionList,
43
46
  domainLookupPolling: () => domainLookupPolling,
44
47
  domainLookupTrigger: () => domainLookupTrigger,
45
48
  emailBounceDetection: () => emailBounceDetection,
49
+ estimateEnrichmentCost: () => estimateEnrichmentCost,
50
+ exportCompanies: () => exportCompanies,
51
+ exportProspects: () => exportProspects,
46
52
  getAccelerators: () => getAccelerators,
53
+ getAudienceCompanies: () => getAudienceCompanies,
54
+ getAudienceProspects: () => getAudienceProspects,
55
+ getAudienceStatus: () => getAudienceStatus,
47
56
  getCompanyExclusionLists: () => getCompanyExclusionLists,
48
57
  getCurrentCompaniesInSavedSearch: () => getCurrentCompaniesInSavedSearch,
49
58
  getCurrentProfilesInSavedSearch: () => getCurrentProfilesInSavedSearch,
59
+ getEnrichmentStatus: () => getEnrichmentStatus,
50
60
  getExcludedCompaniesForExclusionList: () => getExcludedCompaniesForExclusionList,
51
61
  getExcludedProspectsForExclusionList: () => getExcludedProspectsForExclusionList,
52
62
  getIndustries: () => getIndustries,
@@ -57,12 +67,18 @@ __export(index_exports, {
57
67
  getOrgCredits: () => getOrgCredits,
58
68
  getProspectExclusionLists: () => getProspectExclusionLists,
59
69
  getRegions: () => getRegions,
70
+ getSavedSearch: () => getSavedSearch,
60
71
  getSavedSearchRun: () => getSavedSearchRun,
61
72
  getSavedSearchRunCompanies: () => getSavedSearchRunCompanies,
62
73
  getSavedSearchRunProfiles: () => getSavedSearchRunProfiles,
63
74
  getSavedSearchRunStatus: () => getSavedSearchRunStatus,
75
+ getSubdivisions: () => getSubdivisions,
64
76
  getTags: () => getTags,
65
77
  getTimeZones: () => getTimeZones,
78
+ githubLookupPolling: () => githubLookupPolling,
79
+ githubLookupTrigger: () => githubLookupTrigger,
80
+ githubToLinkedInPolling: () => githubToLinkedInPolling,
81
+ githubToLinkedInTrigger: () => githubToLinkedInTrigger,
66
82
  googleMapsSearch: () => googleMapsSearch,
67
83
  healthCheck: () => healthCheck,
68
84
  investmentSearch: () => investmentSearch,
@@ -73,6 +89,7 @@ __export(index_exports, {
73
89
  kitchenSinkBulkProfile: () => kitchenSinkBulkProfile,
74
90
  kitchenSinkCompany: () => kitchenSinkCompany,
75
91
  kitchenSinkProfile: () => kitchenSinkProfile,
92
+ listAudiences: () => listAudiences,
76
93
  listSavedSearch: () => listSavedSearch,
77
94
  listSavedSearchRuns: () => listSavedSearchRuns,
78
95
  locationTypeahead: () => locationTypeahead,
@@ -86,6 +103,7 @@ __export(index_exports, {
86
103
  pollLocalBusinessSearch: () => pollLocalBusinessSearch,
87
104
  postCommentsLiveFetch: () => postCommentsLiveFetch,
88
105
  postReactionsLiveFetch: () => postReactionsLiveFetch,
106
+ postSearchByKeywords: () => postSearchByKeywords,
89
107
  profileCommentsLiveFetch: () => profileCommentsLiveFetch,
90
108
  profileLiveEnrich: () => profileLiveEnrich,
91
109
  profilePostsLiveFetch: () => profilePostsLiveFetch,
@@ -97,13 +115,18 @@ __export(index_exports, {
97
115
  startLocalBusinessSearch: () => startLocalBusinessSearch,
98
116
  syncCombinedSearch: () => syncCombinedSearch,
99
117
  syncContactEnrichment: () => syncContactEnrichment,
118
+ syncQuickContactReveal: () => syncQuickContactReveal,
119
+ syncTurboContactEnrichment: () => syncTurboContactEnrichment,
100
120
  textToCombinedSearch: () => textToCombinedSearch,
101
121
  textToCompanySearch: () => textToCompanySearch,
102
122
  textToCompanySearchParams: () => textToCompanySearchParams,
103
123
  textToProfileSearch: () => textToProfileSearch,
104
124
  textToProfileSearchParams: () => textToProfileSearchParams,
105
125
  triggerContactEnrichment: () => triggerContactEnrichment,
106
- updateSavedSearch: () => updateSavedSearch
126
+ triggerEnrichment: () => triggerEnrichment,
127
+ updateAudienceSearchParams: () => updateAudienceSearchParams,
128
+ updateSavedSearch: () => updateSavedSearch,
129
+ validatePhoneNumber: () => validatePhoneNumber
107
130
  });
108
131
  module.exports = __toCommonJS(index_exports);
109
132
 
@@ -997,6 +1020,22 @@ var domainLookupPolling = (options) => (options.client ?? client).post({
997
1020
  ...options.headers
998
1021
  }
999
1022
  });
1023
+ var githubLookupPolling = (options) => (options.client ?? client).post({
1024
+ url: "/v1/github-lookup/polling",
1025
+ ...options,
1026
+ headers: {
1027
+ "Content-Type": "application/json",
1028
+ ...options.headers
1029
+ }
1030
+ });
1031
+ var githubToLinkedInPolling = (options) => (options.client ?? client).post({
1032
+ url: "/v1/github-to-linkedin/polling",
1033
+ ...options,
1034
+ headers: {
1035
+ "Content-Type": "application/json",
1036
+ ...options.headers
1037
+ }
1038
+ });
1000
1039
  var getCompanyExclusionLists = (options) => (options.client ?? client).post({
1001
1040
  url: "/v1/exclusions/companies/get-lists",
1002
1041
  ...options,
@@ -1116,6 +1155,53 @@ var getIndustries = (options) => (options.client ?? client).get({ url: "/v1/enum
1116
1155
  var getTags = (options) => (options.client ?? client).get({ url: "/v1/enums/tags", ...options });
1117
1156
  var getNaicsCodes = (options) => (options.client ?? client).get({ url: "/v1/enums/naics-codes", ...options });
1118
1157
  var getAccelerators = (options) => (options.client ?? client).get({ url: "/v1/enums/accelerators", ...options });
1158
+ var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/enums/subdivisions", ...options });
1159
+ var createAudience = (options) => (options.client ?? client).post({
1160
+ url: "/v1/audiences/create",
1161
+ ...options,
1162
+ headers: {
1163
+ "Content-Type": "application/json",
1164
+ ...options.headers
1165
+ }
1166
+ });
1167
+ var deleteAudience = (options) => (options.client ?? client).delete({ url: "/v1/audiences/{audienceId}", ...options });
1168
+ var getAudienceStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}", ...options });
1169
+ var listAudiences = (options) => (options.client ?? client).get({ url: "/v1/audiences", ...options });
1170
+ var getAudienceCompanies = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/companies", ...options });
1171
+ var getAudienceProspects = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/prospects", ...options });
1172
+ var updateAudienceSearchParams = (options) => (options.client ?? client).patch({
1173
+ url: "/v1/audiences/{audienceId}/search-params",
1174
+ ...options,
1175
+ headers: {
1176
+ "Content-Type": "application/json",
1177
+ ...options.headers
1178
+ }
1179
+ });
1180
+ var getEnrichmentStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/enrichment/status", ...options });
1181
+ var estimateEnrichmentCost = (options) => (options.client ?? client).post({
1182
+ url: "/v1/audiences/{audienceId}/enrichment/estimate",
1183
+ ...options,
1184
+ headers: {
1185
+ "Content-Type": "application/json",
1186
+ ...options.headers
1187
+ }
1188
+ });
1189
+ var exportCompanies = (options) => (options.client ?? client).post({
1190
+ url: "/v1/audiences/{audienceId}/export/companies",
1191
+ ...options,
1192
+ headers: {
1193
+ "Content-Type": "application/json",
1194
+ ...options.headers
1195
+ }
1196
+ });
1197
+ var exportProspects = (options) => (options.client ?? client).post({
1198
+ url: "/v1/audiences/{audienceId}/export/prospects",
1199
+ ...options,
1200
+ headers: {
1201
+ "Content-Type": "application/json",
1202
+ ...options.headers
1203
+ }
1204
+ });
1119
1205
  var companySearch = (options) => (options.client ?? client).post({
1120
1206
  url: "/v1/company-search",
1121
1207
  ...options,
@@ -1220,6 +1306,22 @@ var syncContactEnrichment = (options) => (options.client ?? client).post({
1220
1306
  ...options.headers
1221
1307
  }
1222
1308
  });
1309
+ var syncTurboContactEnrichment = (options) => (options.client ?? client).post({
1310
+ url: "/v1/contact-details/turbo/sync",
1311
+ ...options,
1312
+ headers: {
1313
+ "Content-Type": "application/json",
1314
+ ...options.headers
1315
+ }
1316
+ });
1317
+ var syncQuickContactReveal = (options) => (options.client ?? client).post({
1318
+ url: "/v1/contact-details/single",
1319
+ ...options,
1320
+ headers: {
1321
+ "Content-Type": "application/json",
1322
+ ...options.headers
1323
+ }
1324
+ });
1223
1325
  var startBatchContactEnrichment = (options) => (options.client ?? client).post({
1224
1326
  url: "/v1/contact-enrich/batch/start",
1225
1327
  ...options,
@@ -1292,6 +1394,14 @@ var profileReactionsLiveFetch = (options) => (options.client ?? client).post({
1292
1394
  ...options.headers
1293
1395
  }
1294
1396
  });
1397
+ var postSearchByKeywords = (options) => (options.client ?? client).post({
1398
+ url: "/v1/linkedin-live-fetch/posts/search",
1399
+ ...options,
1400
+ headers: {
1401
+ "Content-Type": "application/json",
1402
+ ...options.headers
1403
+ }
1404
+ });
1295
1405
  var reverseEmailLookup = (options) => (options.client ?? client).post({
1296
1406
  url: "/v1/email-to-person/single",
1297
1407
  ...options,
@@ -1364,6 +1474,14 @@ var emailBounceDetection = (options) => (options.client ?? client).post({
1364
1474
  ...options.headers
1365
1475
  }
1366
1476
  });
1477
+ var validatePhoneNumber = (options) => (options.client ?? client).post({
1478
+ url: "/v1/validate-phone/single",
1479
+ ...options,
1480
+ headers: {
1481
+ "Content-Type": "application/json",
1482
+ ...options.headers
1483
+ }
1484
+ });
1367
1485
  var textToCompanySearchParams = (options) => (options.client ?? client).post({
1368
1486
  url: "/v1/text-to-search-params/companies",
1369
1487
  ...options,
@@ -1412,6 +1530,14 @@ var createSavedSearch = (options) => (options.client ?? client).post({
1412
1530
  ...options.headers
1413
1531
  }
1414
1532
  });
1533
+ var getSavedSearch = (options) => (options.client ?? client).post({
1534
+ url: "/v1/saved-search/get",
1535
+ ...options,
1536
+ headers: {
1537
+ "Content-Type": "application/json",
1538
+ ...options.headers
1539
+ }
1540
+ });
1415
1541
  var getSavedSearchRun = (options) => (options.client ?? client).post({
1416
1542
  url: "/v1/saved-search/run/get",
1417
1543
  ...options,
@@ -1516,10 +1642,43 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1516
1642
  ...options.headers
1517
1643
  }
1518
1644
  });
1645
+ var buildAudience = (options) => (options.client ?? client).post({
1646
+ url: "/v1/audiences/{audienceId}/build",
1647
+ ...options,
1648
+ headers: {
1649
+ "Content-Type": "application/json",
1650
+ ...options.headers
1651
+ }
1652
+ });
1653
+ var triggerEnrichment = (options) => (options.client ?? client).post({
1654
+ url: "/v1/audiences/{audienceId}/enrich",
1655
+ ...options,
1656
+ headers: {
1657
+ "Content-Type": "application/json",
1658
+ ...options.headers
1659
+ }
1660
+ });
1661
+ var githubLookupTrigger = (options) => (options.client ?? client).post({
1662
+ url: "/v1/github-lookup/trigger",
1663
+ ...options,
1664
+ headers: {
1665
+ "Content-Type": "application/json",
1666
+ ...options.headers
1667
+ }
1668
+ });
1669
+ var githubToLinkedInTrigger = (options) => (options.client ?? client).post({
1670
+ url: "/v1/github-to-linkedin/trigger",
1671
+ ...options,
1672
+ headers: {
1673
+ "Content-Type": "application/json",
1674
+ ...options.headers
1675
+ }
1676
+ });
1519
1677
  // Annotate the CommonJS export names for ESM import in node:
1520
1678
  0 && (module.exports = {
1521
1679
  addCompaniesToExclusionList,
1522
1680
  addProspectsToExclusionList,
1681
+ buildAudience,
1523
1682
  bulkCompanyLogos,
1524
1683
  checkGoogleMapsResults,
1525
1684
  client,
@@ -1529,6 +1688,7 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1529
1688
  companyPostsLiveFetch,
1530
1689
  companySearch,
1531
1690
  companyTypeahead,
1691
+ createAudience,
1532
1692
  createClient,
1533
1693
  createCompanyExclusionList,
1534
1694
  createCompanyExclusionListFromAudience,
@@ -1536,15 +1696,23 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1536
1696
  createProspectExclusionList,
1537
1697
  createProspectExclusionListFromAudience,
1538
1698
  createSavedSearch,
1699
+ deleteAudience,
1539
1700
  deleteCompanyExclusionList,
1540
1701
  deleteProspectExclusionList,
1541
1702
  domainLookupPolling,
1542
1703
  domainLookupTrigger,
1543
1704
  emailBounceDetection,
1705
+ estimateEnrichmentCost,
1706
+ exportCompanies,
1707
+ exportProspects,
1544
1708
  getAccelerators,
1709
+ getAudienceCompanies,
1710
+ getAudienceProspects,
1711
+ getAudienceStatus,
1545
1712
  getCompanyExclusionLists,
1546
1713
  getCurrentCompaniesInSavedSearch,
1547
1714
  getCurrentProfilesInSavedSearch,
1715
+ getEnrichmentStatus,
1548
1716
  getExcludedCompaniesForExclusionList,
1549
1717
  getExcludedProspectsForExclusionList,
1550
1718
  getIndustries,
@@ -1555,12 +1723,18 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1555
1723
  getOrgCredits,
1556
1724
  getProspectExclusionLists,
1557
1725
  getRegions,
1726
+ getSavedSearch,
1558
1727
  getSavedSearchRun,
1559
1728
  getSavedSearchRunCompanies,
1560
1729
  getSavedSearchRunProfiles,
1561
1730
  getSavedSearchRunStatus,
1731
+ getSubdivisions,
1562
1732
  getTags,
1563
1733
  getTimeZones,
1734
+ githubLookupPolling,
1735
+ githubLookupTrigger,
1736
+ githubToLinkedInPolling,
1737
+ githubToLinkedInTrigger,
1564
1738
  googleMapsSearch,
1565
1739
  healthCheck,
1566
1740
  investmentSearch,
@@ -1571,6 +1745,7 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1571
1745
  kitchenSinkBulkProfile,
1572
1746
  kitchenSinkCompany,
1573
1747
  kitchenSinkProfile,
1748
+ listAudiences,
1574
1749
  listSavedSearch,
1575
1750
  listSavedSearchRuns,
1576
1751
  locationTypeahead,
@@ -1584,6 +1759,7 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1584
1759
  pollLocalBusinessSearch,
1585
1760
  postCommentsLiveFetch,
1586
1761
  postReactionsLiveFetch,
1762
+ postSearchByKeywords,
1587
1763
  profileCommentsLiveFetch,
1588
1764
  profileLiveEnrich,
1589
1765
  profilePostsLiveFetch,
@@ -1595,12 +1771,17 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
1595
1771
  startLocalBusinessSearch,
1596
1772
  syncCombinedSearch,
1597
1773
  syncContactEnrichment,
1774
+ syncQuickContactReveal,
1775
+ syncTurboContactEnrichment,
1598
1776
  textToCombinedSearch,
1599
1777
  textToCompanySearch,
1600
1778
  textToCompanySearchParams,
1601
1779
  textToProfileSearch,
1602
1780
  textToProfileSearchParams,
1603
1781
  triggerContactEnrichment,
1604
- updateSavedSearch
1782
+ triggerEnrichment,
1783
+ updateAudienceSearchParams,
1784
+ updateSavedSearch,
1785
+ validatePhoneNumber
1605
1786
  });
1606
1787
  //# sourceMappingURL=index.cjs.map