@fiberai/sdk 0.0.42 → 0.0.43
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 +113 -20
- package/dist/index.d.cts +49913 -43372
- package/dist/index.d.ts +49913 -43372
- package/dist/index.js +101 -18
- package/dist/zod.cjs +52163 -41725
- package/dist/zod.d.cts +27407 -17501
- package/dist/zod.d.ts +27407 -17501
- package/dist/zod.js +52139 -41721
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// src/index.ts
|
|
21
21
|
var src_exports = {};
|
|
22
22
|
__export(src_exports, {
|
|
23
|
+
accountSendOtp: () => accountSendOtp,
|
|
24
|
+
accountVerifyOtp: () => accountVerifyOtp,
|
|
23
25
|
addCompaniesToExclusionList: () => addCompaniesToExclusionList,
|
|
24
26
|
addProfilesToList: () => addProfilesToList,
|
|
25
27
|
addProspectsToExclusionList: () => addProspectsToExclusionList,
|
|
@@ -68,18 +70,22 @@ __export(src_exports, {
|
|
|
68
70
|
exportCompanies: () => exportCompanies,
|
|
69
71
|
exportProspects: () => exportProspects,
|
|
70
72
|
fetchRealEstateListings: () => fetchRealEstateListings,
|
|
73
|
+
financialInstrumentLookup: () => financialInstrumentLookup,
|
|
71
74
|
fireTrackerDummy: () => fireTrackerDummy,
|
|
72
75
|
flightBookingOptions: () => flightBookingOptions,
|
|
73
76
|
flightSearch: () => flightSearch,
|
|
74
77
|
getAccelerators: () => getAccelerators,
|
|
78
|
+
getAllApiKeys: () => getAllApiKeys,
|
|
75
79
|
getAudienceCompanies: () => getAudienceCompanies,
|
|
76
80
|
getAudienceProspects: () => getAudienceProspects,
|
|
77
81
|
getAudienceStatus: () => getAudienceStatus,
|
|
78
82
|
getAutoTopupSettings: () => getAutoTopupSettings,
|
|
79
83
|
getCompanyExclusionLists: () => getCompanyExclusionLists,
|
|
80
84
|
getCompanyRevenue: () => getCompanyRevenue,
|
|
85
|
+
getCurrentApiKey: () => getCurrentApiKey,
|
|
81
86
|
getCurrentCompaniesInSavedSearch: () => getCurrentCompaniesInSavedSearch,
|
|
82
87
|
getCurrentProfilesInSavedSearch: () => getCurrentProfilesInSavedSearch,
|
|
88
|
+
getDepartmentSize: () => getDepartmentSize,
|
|
83
89
|
getEnrichmentStatus: () => getEnrichmentStatus,
|
|
84
90
|
getExcludedCompaniesForExclusionList: () => getExcludedCompaniesForExclusionList,
|
|
85
91
|
getExcludedProspectsForExclusionList: () => getExcludedProspectsForExclusionList,
|
|
@@ -96,6 +102,7 @@ __export(src_exports, {
|
|
|
96
102
|
getOpenApi: () => getOpenApi,
|
|
97
103
|
getOrgCredits: () => getOrgCredits,
|
|
98
104
|
getProspectExclusionLists: () => getProspectExclusionLists,
|
|
105
|
+
getQuickstartScript: () => getQuickstartScript,
|
|
99
106
|
getRateLimits: () => getRateLimits,
|
|
100
107
|
getRegions: () => getRegions,
|
|
101
108
|
getSavedSearch: () => getSavedSearch,
|
|
@@ -107,6 +114,7 @@ __export(src_exports, {
|
|
|
107
114
|
getSkills: () => getSkills,
|
|
108
115
|
getSubdivisions: () => getSubdivisions,
|
|
109
116
|
getTags: () => getTags,
|
|
117
|
+
getTalentFlow: () => getTalentFlow,
|
|
110
118
|
getTechnologies: () => getTechnologies,
|
|
111
119
|
getTimeZones: () => getTimeZones,
|
|
112
120
|
getTrackerCompanyList: () => getTrackerCompanyList,
|
|
@@ -127,7 +135,6 @@ __export(src_exports, {
|
|
|
127
135
|
instagramProfile: () => instagramProfile,
|
|
128
136
|
instagramUserPosts: () => instagramUserPosts,
|
|
129
137
|
instagramUserReels: () => instagramUserReels,
|
|
130
|
-
jdToProfileSearch: () => jdToProfileSearch,
|
|
131
138
|
jobPostingSearch: () => jobPostingSearch,
|
|
132
139
|
jobPostingSearchCount: () => jobPostingSearchCount,
|
|
133
140
|
jobTitleRewrite: () => jobTitleRewrite,
|
|
@@ -181,8 +188,10 @@ __export(src_exports, {
|
|
|
181
188
|
removeProspectFromExclusionList: () => removeProspectFromExclusionList,
|
|
182
189
|
removeTrackerCompanies: () => removeTrackerCompanies,
|
|
183
190
|
removeTrackerPeople: () => removeTrackerPeople,
|
|
191
|
+
resetApiKeyUsage: () => resetApiKeyUsage,
|
|
184
192
|
reverseEmailLookup: () => reverseEmailLookup,
|
|
185
193
|
reversePhoneLookup: () => reversePhoneLookup,
|
|
194
|
+
revokeCurrentApiKey: () => revokeCurrentApiKey,
|
|
186
195
|
rotateWebhookEndpointSecret: () => rotateWebhookEndpointSecret,
|
|
187
196
|
sendTestWebhookEvent: () => sendTestWebhookEvent,
|
|
188
197
|
skillsTypeahead: () => skillsTypeahead,
|
|
@@ -204,7 +213,6 @@ __export(src_exports, {
|
|
|
204
213
|
stealthFoundersSearch: () => stealthFoundersSearch,
|
|
205
214
|
syncQuickContactReveal: () => syncQuickContactReveal,
|
|
206
215
|
syncTurboContactEnrichment: () => syncTurboContactEnrichment,
|
|
207
|
-
textToCombinedSearchParam: () => textToCombinedSearchParam,
|
|
208
216
|
tiktokCommentReplies: () => tiktokCommentReplies,
|
|
209
217
|
tiktokPopularSongs: () => tiktokPopularSongs,
|
|
210
218
|
tiktokProfile: () => tiktokProfile,
|
|
@@ -235,6 +243,8 @@ __export(src_exports, {
|
|
|
235
243
|
twitterUserMentions: () => twitterUserMentions,
|
|
236
244
|
twitterUserTweets: () => twitterUserTweets,
|
|
237
245
|
undoSkipNextSavedSearchRun: () => undoSkipNextSavedSearchRun,
|
|
246
|
+
updateApiKeyExpiration: () => updateApiKeyExpiration,
|
|
247
|
+
updateApiKeyLimit: () => updateApiKeyLimit,
|
|
238
248
|
updateAudienceSearchParams: () => updateAudienceSearchParams,
|
|
239
249
|
updateAutoTopupSettings: () => updateAutoTopupSettings,
|
|
240
250
|
updateJobChangeList: () => updateJobChangeList,
|
|
@@ -1084,6 +1094,7 @@ var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
|
|
|
1084
1094
|
|
|
1085
1095
|
// src/generated/sdk.gen.ts
|
|
1086
1096
|
var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
|
|
1097
|
+
var getQuickstartScript = (options) => (options?.client ?? client).get({ url: "/quickstart", ...options });
|
|
1087
1098
|
var healthCheck = (options) => (options?.client ?? client).get({ url: "/health", ...options });
|
|
1088
1099
|
var getOrgCredits = (options) => (options.client ?? client).get({ url: "/v1/get-org-credits", ...options });
|
|
1089
1100
|
var getRateLimits = (options) => (options.client ?? client).get({ url: "/v1/rate-limits", ...options });
|
|
@@ -1104,6 +1115,54 @@ var buyCredits = (options) => (options.client ?? client).post({
|
|
|
1104
1115
|
...options.headers
|
|
1105
1116
|
}
|
|
1106
1117
|
});
|
|
1118
|
+
var getAllApiKeys = (options) => (options.client ?? client).post({
|
|
1119
|
+
url: "/v1/api-keys",
|
|
1120
|
+
...options,
|
|
1121
|
+
headers: {
|
|
1122
|
+
"Content-Type": "application/json",
|
|
1123
|
+
...options.headers
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
var getCurrentApiKey = (options) => (options.client ?? client).post({
|
|
1127
|
+
url: "/v1/api-keys/current",
|
|
1128
|
+
...options,
|
|
1129
|
+
headers: {
|
|
1130
|
+
"Content-Type": "application/json",
|
|
1131
|
+
...options.headers
|
|
1132
|
+
}
|
|
1133
|
+
});
|
|
1134
|
+
var updateApiKeyExpiration = (options) => (options.client ?? client).post({
|
|
1135
|
+
url: "/v1/api-keys/expiration",
|
|
1136
|
+
...options,
|
|
1137
|
+
headers: {
|
|
1138
|
+
"Content-Type": "application/json",
|
|
1139
|
+
...options.headers
|
|
1140
|
+
}
|
|
1141
|
+
});
|
|
1142
|
+
var revokeCurrentApiKey = (options) => (options.client ?? client).post({
|
|
1143
|
+
url: "/v1/api-keys/revoke",
|
|
1144
|
+
...options,
|
|
1145
|
+
headers: {
|
|
1146
|
+
"Content-Type": "application/json",
|
|
1147
|
+
...options.headers
|
|
1148
|
+
}
|
|
1149
|
+
});
|
|
1150
|
+
var updateApiKeyLimit = (options) => (options.client ?? client).post({
|
|
1151
|
+
url: "/v1/api-keys/limit",
|
|
1152
|
+
...options,
|
|
1153
|
+
headers: {
|
|
1154
|
+
"Content-Type": "application/json",
|
|
1155
|
+
...options.headers
|
|
1156
|
+
}
|
|
1157
|
+
});
|
|
1158
|
+
var resetApiKeyUsage = (options) => (options.client ?? client).post({
|
|
1159
|
+
url: "/v1/api-keys/usage/reset",
|
|
1160
|
+
...options,
|
|
1161
|
+
headers: {
|
|
1162
|
+
"Content-Type": "application/json",
|
|
1163
|
+
...options.headers
|
|
1164
|
+
}
|
|
1165
|
+
});
|
|
1107
1166
|
var listWebhookEventTypes = (options) => (options.client ?? client).get({ url: "/v1/webhooks/event-types", ...options });
|
|
1108
1167
|
var listWebhookEndpoints = (options) => (options.client ?? client).get({ url: "/v1/webhooks/endpoints", ...options });
|
|
1109
1168
|
var createWebhookEndpoint = (options) => (options.client ?? client).post({
|
|
@@ -1140,6 +1199,22 @@ var sendTestWebhookEvent = (options) => (options.client ?? client).post({
|
|
|
1140
1199
|
...options.headers
|
|
1141
1200
|
}
|
|
1142
1201
|
});
|
|
1202
|
+
var accountSendOtp = (options) => (options.client ?? client).post({
|
|
1203
|
+
url: "/v1/account/send-otp",
|
|
1204
|
+
...options,
|
|
1205
|
+
headers: {
|
|
1206
|
+
"Content-Type": "application/json",
|
|
1207
|
+
...options.headers
|
|
1208
|
+
}
|
|
1209
|
+
});
|
|
1210
|
+
var accountVerifyOtp = (options) => (options.client ?? client).post({
|
|
1211
|
+
url: "/v1/account/verify-otp",
|
|
1212
|
+
...options,
|
|
1213
|
+
headers: {
|
|
1214
|
+
"Content-Type": "application/json",
|
|
1215
|
+
...options.headers
|
|
1216
|
+
}
|
|
1217
|
+
});
|
|
1143
1218
|
var pollExhaustiveContactEnrichmentResult = (options) => (options.client ?? client).post({
|
|
1144
1219
|
url: "/v1/contact-details/exhaustive/poll",
|
|
1145
1220
|
...options,
|
|
@@ -1561,6 +1636,22 @@ var startDepthChart = (options) => (options.client ?? client).post({
|
|
|
1561
1636
|
...options.headers
|
|
1562
1637
|
}
|
|
1563
1638
|
});
|
|
1639
|
+
var getDepartmentSize = (options) => (options.client ?? client).post({
|
|
1640
|
+
url: "/v1/department-size",
|
|
1641
|
+
...options,
|
|
1642
|
+
headers: {
|
|
1643
|
+
"Content-Type": "application/json",
|
|
1644
|
+
...options.headers
|
|
1645
|
+
}
|
|
1646
|
+
});
|
|
1647
|
+
var getTalentFlow = (options) => (options.client ?? client).post({
|
|
1648
|
+
url: "/v1/talent-flow",
|
|
1649
|
+
...options,
|
|
1650
|
+
headers: {
|
|
1651
|
+
"Content-Type": "application/json",
|
|
1652
|
+
...options.headers
|
|
1653
|
+
}
|
|
1654
|
+
});
|
|
1564
1655
|
var startMosaic = (options) => (options.client ?? client).post({
|
|
1565
1656
|
url: "/v1/mosaic/start",
|
|
1566
1657
|
...options,
|
|
@@ -1817,22 +1908,6 @@ var validatePhoneNumber = (options) => (options.client ?? client).post({
|
|
|
1817
1908
|
...options.headers
|
|
1818
1909
|
}
|
|
1819
1910
|
});
|
|
1820
|
-
var jdToProfileSearch = (options) => (options.client ?? client).post({
|
|
1821
|
-
url: "/v1/natural-language-search/job-description-search",
|
|
1822
|
-
...options,
|
|
1823
|
-
headers: {
|
|
1824
|
-
"Content-Type": "application/json",
|
|
1825
|
-
...options.headers
|
|
1826
|
-
}
|
|
1827
|
-
});
|
|
1828
|
-
var textToCombinedSearchParam = (options) => (options.client ?? client).post({
|
|
1829
|
-
url: "/v1/natural-language-search/combined-search-param",
|
|
1830
|
-
...options,
|
|
1831
|
-
headers: {
|
|
1832
|
-
"Content-Type": "application/json",
|
|
1833
|
-
...options.headers
|
|
1834
|
-
}
|
|
1835
|
-
});
|
|
1836
1911
|
var nlpSearchParse = (options) => (options.client ?? client).post({
|
|
1837
1912
|
url: "/v1/nlp-search/parse",
|
|
1838
1913
|
...options,
|
|
@@ -2137,6 +2212,14 @@ var fetchRealEstateListings = (options) => (options.client ?? client).post({
|
|
|
2137
2212
|
...options.headers
|
|
2138
2213
|
}
|
|
2139
2214
|
});
|
|
2215
|
+
var financialInstrumentLookup = (options) => (options.client ?? client).post({
|
|
2216
|
+
url: "/v1/finance/instrument",
|
|
2217
|
+
...options,
|
|
2218
|
+
headers: {
|
|
2219
|
+
"Content-Type": "application/json",
|
|
2220
|
+
...options.headers
|
|
2221
|
+
}
|
|
2222
|
+
});
|
|
2140
2223
|
var blueCollarJobsSearch = (options) => (options.client ?? client).post({
|
|
2141
2224
|
url: "/v1/blue-collar-jobs/search",
|
|
2142
2225
|
...options,
|
|
@@ -2613,6 +2696,8 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2613
2696
|
});
|
|
2614
2697
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2615
2698
|
0 && (module.exports = {
|
|
2699
|
+
accountSendOtp,
|
|
2700
|
+
accountVerifyOtp,
|
|
2616
2701
|
addCompaniesToExclusionList,
|
|
2617
2702
|
addProfilesToList,
|
|
2618
2703
|
addProspectsToExclusionList,
|
|
@@ -2661,18 +2746,22 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2661
2746
|
exportCompanies,
|
|
2662
2747
|
exportProspects,
|
|
2663
2748
|
fetchRealEstateListings,
|
|
2749
|
+
financialInstrumentLookup,
|
|
2664
2750
|
fireTrackerDummy,
|
|
2665
2751
|
flightBookingOptions,
|
|
2666
2752
|
flightSearch,
|
|
2667
2753
|
getAccelerators,
|
|
2754
|
+
getAllApiKeys,
|
|
2668
2755
|
getAudienceCompanies,
|
|
2669
2756
|
getAudienceProspects,
|
|
2670
2757
|
getAudienceStatus,
|
|
2671
2758
|
getAutoTopupSettings,
|
|
2672
2759
|
getCompanyExclusionLists,
|
|
2673
2760
|
getCompanyRevenue,
|
|
2761
|
+
getCurrentApiKey,
|
|
2674
2762
|
getCurrentCompaniesInSavedSearch,
|
|
2675
2763
|
getCurrentProfilesInSavedSearch,
|
|
2764
|
+
getDepartmentSize,
|
|
2676
2765
|
getEnrichmentStatus,
|
|
2677
2766
|
getExcludedCompaniesForExclusionList,
|
|
2678
2767
|
getExcludedProspectsForExclusionList,
|
|
@@ -2689,6 +2778,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2689
2778
|
getOpenApi,
|
|
2690
2779
|
getOrgCredits,
|
|
2691
2780
|
getProspectExclusionLists,
|
|
2781
|
+
getQuickstartScript,
|
|
2692
2782
|
getRateLimits,
|
|
2693
2783
|
getRegions,
|
|
2694
2784
|
getSavedSearch,
|
|
@@ -2700,6 +2790,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2700
2790
|
getSkills,
|
|
2701
2791
|
getSubdivisions,
|
|
2702
2792
|
getTags,
|
|
2793
|
+
getTalentFlow,
|
|
2703
2794
|
getTechnologies,
|
|
2704
2795
|
getTimeZones,
|
|
2705
2796
|
getTrackerCompanyList,
|
|
@@ -2720,7 +2811,6 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2720
2811
|
instagramProfile,
|
|
2721
2812
|
instagramUserPosts,
|
|
2722
2813
|
instagramUserReels,
|
|
2723
|
-
jdToProfileSearch,
|
|
2724
2814
|
jobPostingSearch,
|
|
2725
2815
|
jobPostingSearchCount,
|
|
2726
2816
|
jobTitleRewrite,
|
|
@@ -2774,8 +2864,10 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2774
2864
|
removeProspectFromExclusionList,
|
|
2775
2865
|
removeTrackerCompanies,
|
|
2776
2866
|
removeTrackerPeople,
|
|
2867
|
+
resetApiKeyUsage,
|
|
2777
2868
|
reverseEmailLookup,
|
|
2778
2869
|
reversePhoneLookup,
|
|
2870
|
+
revokeCurrentApiKey,
|
|
2779
2871
|
rotateWebhookEndpointSecret,
|
|
2780
2872
|
sendTestWebhookEvent,
|
|
2781
2873
|
skillsTypeahead,
|
|
@@ -2797,7 +2889,6 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2797
2889
|
stealthFoundersSearch,
|
|
2798
2890
|
syncQuickContactReveal,
|
|
2799
2891
|
syncTurboContactEnrichment,
|
|
2800
|
-
textToCombinedSearchParam,
|
|
2801
2892
|
tiktokCommentReplies,
|
|
2802
2893
|
tiktokPopularSongs,
|
|
2803
2894
|
tiktokProfile,
|
|
@@ -2828,6 +2919,8 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2828
2919
|
twitterUserMentions,
|
|
2829
2920
|
twitterUserTweets,
|
|
2830
2921
|
undoSkipNextSavedSearchRun,
|
|
2922
|
+
updateApiKeyExpiration,
|
|
2923
|
+
updateApiKeyLimit,
|
|
2831
2924
|
updateAudienceSearchParams,
|
|
2832
2925
|
updateAutoTopupSettings,
|
|
2833
2926
|
updateJobChangeList,
|