@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 +183 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22607 -2890
- package/dist/index.d.ts +22607 -2890
- package/dist/index.js +159 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -888,6 +888,22 @@ var domainLookupPolling = (options) => (options.client ?? client).post({
|
|
|
888
888
|
...options.headers
|
|
889
889
|
}
|
|
890
890
|
});
|
|
891
|
+
var githubLookupPolling = (options) => (options.client ?? client).post({
|
|
892
|
+
url: "/v1/github-lookup/polling",
|
|
893
|
+
...options,
|
|
894
|
+
headers: {
|
|
895
|
+
"Content-Type": "application/json",
|
|
896
|
+
...options.headers
|
|
897
|
+
}
|
|
898
|
+
});
|
|
899
|
+
var githubToLinkedInPolling = (options) => (options.client ?? client).post({
|
|
900
|
+
url: "/v1/github-to-linkedin/polling",
|
|
901
|
+
...options,
|
|
902
|
+
headers: {
|
|
903
|
+
"Content-Type": "application/json",
|
|
904
|
+
...options.headers
|
|
905
|
+
}
|
|
906
|
+
});
|
|
891
907
|
var getCompanyExclusionLists = (options) => (options.client ?? client).post({
|
|
892
908
|
url: "/v1/exclusions/companies/get-lists",
|
|
893
909
|
...options,
|
|
@@ -1007,6 +1023,53 @@ var getIndustries = (options) => (options.client ?? client).get({ url: "/v1/enum
|
|
|
1007
1023
|
var getTags = (options) => (options.client ?? client).get({ url: "/v1/enums/tags", ...options });
|
|
1008
1024
|
var getNaicsCodes = (options) => (options.client ?? client).get({ url: "/v1/enums/naics-codes", ...options });
|
|
1009
1025
|
var getAccelerators = (options) => (options.client ?? client).get({ url: "/v1/enums/accelerators", ...options });
|
|
1026
|
+
var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/enums/subdivisions", ...options });
|
|
1027
|
+
var createAudience = (options) => (options.client ?? client).post({
|
|
1028
|
+
url: "/v1/audiences/create",
|
|
1029
|
+
...options,
|
|
1030
|
+
headers: {
|
|
1031
|
+
"Content-Type": "application/json",
|
|
1032
|
+
...options.headers
|
|
1033
|
+
}
|
|
1034
|
+
});
|
|
1035
|
+
var deleteAudience = (options) => (options.client ?? client).delete({ url: "/v1/audiences/{audienceId}", ...options });
|
|
1036
|
+
var getAudienceStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}", ...options });
|
|
1037
|
+
var listAudiences = (options) => (options.client ?? client).get({ url: "/v1/audiences", ...options });
|
|
1038
|
+
var getAudienceCompanies = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/companies", ...options });
|
|
1039
|
+
var getAudienceProspects = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/prospects", ...options });
|
|
1040
|
+
var updateAudienceSearchParams = (options) => (options.client ?? client).patch({
|
|
1041
|
+
url: "/v1/audiences/{audienceId}/search-params",
|
|
1042
|
+
...options,
|
|
1043
|
+
headers: {
|
|
1044
|
+
"Content-Type": "application/json",
|
|
1045
|
+
...options.headers
|
|
1046
|
+
}
|
|
1047
|
+
});
|
|
1048
|
+
var getEnrichmentStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/enrichment/status", ...options });
|
|
1049
|
+
var estimateEnrichmentCost = (options) => (options.client ?? client).post({
|
|
1050
|
+
url: "/v1/audiences/{audienceId}/enrichment/estimate",
|
|
1051
|
+
...options,
|
|
1052
|
+
headers: {
|
|
1053
|
+
"Content-Type": "application/json",
|
|
1054
|
+
...options.headers
|
|
1055
|
+
}
|
|
1056
|
+
});
|
|
1057
|
+
var exportCompanies = (options) => (options.client ?? client).post({
|
|
1058
|
+
url: "/v1/audiences/{audienceId}/export/companies",
|
|
1059
|
+
...options,
|
|
1060
|
+
headers: {
|
|
1061
|
+
"Content-Type": "application/json",
|
|
1062
|
+
...options.headers
|
|
1063
|
+
}
|
|
1064
|
+
});
|
|
1065
|
+
var exportProspects = (options) => (options.client ?? client).post({
|
|
1066
|
+
url: "/v1/audiences/{audienceId}/export/prospects",
|
|
1067
|
+
...options,
|
|
1068
|
+
headers: {
|
|
1069
|
+
"Content-Type": "application/json",
|
|
1070
|
+
...options.headers
|
|
1071
|
+
}
|
|
1072
|
+
});
|
|
1010
1073
|
var companySearch = (options) => (options.client ?? client).post({
|
|
1011
1074
|
url: "/v1/company-search",
|
|
1012
1075
|
...options,
|
|
@@ -1111,6 +1174,22 @@ var syncContactEnrichment = (options) => (options.client ?? client).post({
|
|
|
1111
1174
|
...options.headers
|
|
1112
1175
|
}
|
|
1113
1176
|
});
|
|
1177
|
+
var syncTurboContactEnrichment = (options) => (options.client ?? client).post({
|
|
1178
|
+
url: "/v1/contact-details/turbo/sync",
|
|
1179
|
+
...options,
|
|
1180
|
+
headers: {
|
|
1181
|
+
"Content-Type": "application/json",
|
|
1182
|
+
...options.headers
|
|
1183
|
+
}
|
|
1184
|
+
});
|
|
1185
|
+
var syncQuickContactReveal = (options) => (options.client ?? client).post({
|
|
1186
|
+
url: "/v1/contact-details/single",
|
|
1187
|
+
...options,
|
|
1188
|
+
headers: {
|
|
1189
|
+
"Content-Type": "application/json",
|
|
1190
|
+
...options.headers
|
|
1191
|
+
}
|
|
1192
|
+
});
|
|
1114
1193
|
var startBatchContactEnrichment = (options) => (options.client ?? client).post({
|
|
1115
1194
|
url: "/v1/contact-enrich/batch/start",
|
|
1116
1195
|
...options,
|
|
@@ -1183,6 +1262,14 @@ var profileReactionsLiveFetch = (options) => (options.client ?? client).post({
|
|
|
1183
1262
|
...options.headers
|
|
1184
1263
|
}
|
|
1185
1264
|
});
|
|
1265
|
+
var postSearchByKeywords = (options) => (options.client ?? client).post({
|
|
1266
|
+
url: "/v1/linkedin-live-fetch/posts/search",
|
|
1267
|
+
...options,
|
|
1268
|
+
headers: {
|
|
1269
|
+
"Content-Type": "application/json",
|
|
1270
|
+
...options.headers
|
|
1271
|
+
}
|
|
1272
|
+
});
|
|
1186
1273
|
var reverseEmailLookup = (options) => (options.client ?? client).post({
|
|
1187
1274
|
url: "/v1/email-to-person/single",
|
|
1188
1275
|
...options,
|
|
@@ -1255,6 +1342,14 @@ var emailBounceDetection = (options) => (options.client ?? client).post({
|
|
|
1255
1342
|
...options.headers
|
|
1256
1343
|
}
|
|
1257
1344
|
});
|
|
1345
|
+
var validatePhoneNumber = (options) => (options.client ?? client).post({
|
|
1346
|
+
url: "/v1/validate-phone/single",
|
|
1347
|
+
...options,
|
|
1348
|
+
headers: {
|
|
1349
|
+
"Content-Type": "application/json",
|
|
1350
|
+
...options.headers
|
|
1351
|
+
}
|
|
1352
|
+
});
|
|
1258
1353
|
var textToCompanySearchParams = (options) => (options.client ?? client).post({
|
|
1259
1354
|
url: "/v1/text-to-search-params/companies",
|
|
1260
1355
|
...options,
|
|
@@ -1303,6 +1398,14 @@ var createSavedSearch = (options) => (options.client ?? client).post({
|
|
|
1303
1398
|
...options.headers
|
|
1304
1399
|
}
|
|
1305
1400
|
});
|
|
1401
|
+
var getSavedSearch = (options) => (options.client ?? client).post({
|
|
1402
|
+
url: "/v1/saved-search/get",
|
|
1403
|
+
...options,
|
|
1404
|
+
headers: {
|
|
1405
|
+
"Content-Type": "application/json",
|
|
1406
|
+
...options.headers
|
|
1407
|
+
}
|
|
1408
|
+
});
|
|
1306
1409
|
var getSavedSearchRun = (options) => (options.client ?? client).post({
|
|
1307
1410
|
url: "/v1/saved-search/run/get",
|
|
1308
1411
|
...options,
|
|
@@ -1407,9 +1510,42 @@ var domainLookupTrigger = (options) => (options.client ?? client).post({
|
|
|
1407
1510
|
...options.headers
|
|
1408
1511
|
}
|
|
1409
1512
|
});
|
|
1513
|
+
var buildAudience = (options) => (options.client ?? client).post({
|
|
1514
|
+
url: "/v1/audiences/{audienceId}/build",
|
|
1515
|
+
...options,
|
|
1516
|
+
headers: {
|
|
1517
|
+
"Content-Type": "application/json",
|
|
1518
|
+
...options.headers
|
|
1519
|
+
}
|
|
1520
|
+
});
|
|
1521
|
+
var triggerEnrichment = (options) => (options.client ?? client).post({
|
|
1522
|
+
url: "/v1/audiences/{audienceId}/enrich",
|
|
1523
|
+
...options,
|
|
1524
|
+
headers: {
|
|
1525
|
+
"Content-Type": "application/json",
|
|
1526
|
+
...options.headers
|
|
1527
|
+
}
|
|
1528
|
+
});
|
|
1529
|
+
var githubLookupTrigger = (options) => (options.client ?? client).post({
|
|
1530
|
+
url: "/v1/github-lookup/trigger",
|
|
1531
|
+
...options,
|
|
1532
|
+
headers: {
|
|
1533
|
+
"Content-Type": "application/json",
|
|
1534
|
+
...options.headers
|
|
1535
|
+
}
|
|
1536
|
+
});
|
|
1537
|
+
var githubToLinkedInTrigger = (options) => (options.client ?? client).post({
|
|
1538
|
+
url: "/v1/github-to-linkedin/trigger",
|
|
1539
|
+
...options,
|
|
1540
|
+
headers: {
|
|
1541
|
+
"Content-Type": "application/json",
|
|
1542
|
+
...options.headers
|
|
1543
|
+
}
|
|
1544
|
+
});
|
|
1410
1545
|
export {
|
|
1411
1546
|
addCompaniesToExclusionList,
|
|
1412
1547
|
addProspectsToExclusionList,
|
|
1548
|
+
buildAudience,
|
|
1413
1549
|
bulkCompanyLogos,
|
|
1414
1550
|
checkGoogleMapsResults,
|
|
1415
1551
|
client,
|
|
@@ -1419,6 +1555,7 @@ export {
|
|
|
1419
1555
|
companyPostsLiveFetch,
|
|
1420
1556
|
companySearch,
|
|
1421
1557
|
companyTypeahead,
|
|
1558
|
+
createAudience,
|
|
1422
1559
|
createClient,
|
|
1423
1560
|
createCompanyExclusionList,
|
|
1424
1561
|
createCompanyExclusionListFromAudience,
|
|
@@ -1426,15 +1563,23 @@ export {
|
|
|
1426
1563
|
createProspectExclusionList,
|
|
1427
1564
|
createProspectExclusionListFromAudience,
|
|
1428
1565
|
createSavedSearch,
|
|
1566
|
+
deleteAudience,
|
|
1429
1567
|
deleteCompanyExclusionList,
|
|
1430
1568
|
deleteProspectExclusionList,
|
|
1431
1569
|
domainLookupPolling,
|
|
1432
1570
|
domainLookupTrigger,
|
|
1433
1571
|
emailBounceDetection,
|
|
1572
|
+
estimateEnrichmentCost,
|
|
1573
|
+
exportCompanies,
|
|
1574
|
+
exportProspects,
|
|
1434
1575
|
getAccelerators,
|
|
1576
|
+
getAudienceCompanies,
|
|
1577
|
+
getAudienceProspects,
|
|
1578
|
+
getAudienceStatus,
|
|
1435
1579
|
getCompanyExclusionLists,
|
|
1436
1580
|
getCurrentCompaniesInSavedSearch,
|
|
1437
1581
|
getCurrentProfilesInSavedSearch,
|
|
1582
|
+
getEnrichmentStatus,
|
|
1438
1583
|
getExcludedCompaniesForExclusionList,
|
|
1439
1584
|
getExcludedProspectsForExclusionList,
|
|
1440
1585
|
getIndustries,
|
|
@@ -1445,12 +1590,18 @@ export {
|
|
|
1445
1590
|
getOrgCredits,
|
|
1446
1591
|
getProspectExclusionLists,
|
|
1447
1592
|
getRegions,
|
|
1593
|
+
getSavedSearch,
|
|
1448
1594
|
getSavedSearchRun,
|
|
1449
1595
|
getSavedSearchRunCompanies,
|
|
1450
1596
|
getSavedSearchRunProfiles,
|
|
1451
1597
|
getSavedSearchRunStatus,
|
|
1598
|
+
getSubdivisions,
|
|
1452
1599
|
getTags,
|
|
1453
1600
|
getTimeZones,
|
|
1601
|
+
githubLookupPolling,
|
|
1602
|
+
githubLookupTrigger,
|
|
1603
|
+
githubToLinkedInPolling,
|
|
1604
|
+
githubToLinkedInTrigger,
|
|
1454
1605
|
googleMapsSearch,
|
|
1455
1606
|
healthCheck,
|
|
1456
1607
|
investmentSearch,
|
|
@@ -1461,6 +1612,7 @@ export {
|
|
|
1461
1612
|
kitchenSinkBulkProfile,
|
|
1462
1613
|
kitchenSinkCompany,
|
|
1463
1614
|
kitchenSinkProfile,
|
|
1615
|
+
listAudiences,
|
|
1464
1616
|
listSavedSearch,
|
|
1465
1617
|
listSavedSearchRuns,
|
|
1466
1618
|
locationTypeahead,
|
|
@@ -1474,6 +1626,7 @@ export {
|
|
|
1474
1626
|
pollLocalBusinessSearch,
|
|
1475
1627
|
postCommentsLiveFetch,
|
|
1476
1628
|
postReactionsLiveFetch,
|
|
1629
|
+
postSearchByKeywords,
|
|
1477
1630
|
profileCommentsLiveFetch,
|
|
1478
1631
|
profileLiveEnrich,
|
|
1479
1632
|
profilePostsLiveFetch,
|
|
@@ -1485,12 +1638,17 @@ export {
|
|
|
1485
1638
|
startLocalBusinessSearch,
|
|
1486
1639
|
syncCombinedSearch,
|
|
1487
1640
|
syncContactEnrichment,
|
|
1641
|
+
syncQuickContactReveal,
|
|
1642
|
+
syncTurboContactEnrichment,
|
|
1488
1643
|
textToCombinedSearch,
|
|
1489
1644
|
textToCompanySearch,
|
|
1490
1645
|
textToCompanySearchParams,
|
|
1491
1646
|
textToProfileSearch,
|
|
1492
1647
|
textToProfileSearchParams,
|
|
1493
1648
|
triggerContactEnrichment,
|
|
1494
|
-
|
|
1649
|
+
triggerEnrichment,
|
|
1650
|
+
updateAudienceSearchParams,
|
|
1651
|
+
updateSavedSearch,
|
|
1652
|
+
validatePhoneNumber
|
|
1495
1653
|
};
|
|
1496
1654
|
//# sourceMappingURL=index.js.map
|