@fiberai/sdk 0.0.42 → 0.0.44
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 +49357 -42802
- package/dist/index.d.ts +49357 -42802
- package/dist/index.js +101 -18
- package/dist/zod.cjs +52193 -41728
- package/dist/zod.d.cts +27432 -17502
- package/dist/zod.d.ts +27432 -17502
- package/dist/zod.js +52169 -41724
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -830,6 +830,7 @@ var client = createClient(createConfig({ baseUrl: "https://api.fiber.ai" }));
|
|
|
830
830
|
|
|
831
831
|
// src/generated/sdk.gen.ts
|
|
832
832
|
var getOpenApi = (options) => (options?.client ?? client).get({ url: "/openapi.json", ...options });
|
|
833
|
+
var getQuickstartScript = (options) => (options?.client ?? client).get({ url: "/quickstart", ...options });
|
|
833
834
|
var healthCheck = (options) => (options?.client ?? client).get({ url: "/health", ...options });
|
|
834
835
|
var getOrgCredits = (options) => (options.client ?? client).get({ url: "/v1/get-org-credits", ...options });
|
|
835
836
|
var getRateLimits = (options) => (options.client ?? client).get({ url: "/v1/rate-limits", ...options });
|
|
@@ -850,6 +851,54 @@ var buyCredits = (options) => (options.client ?? client).post({
|
|
|
850
851
|
...options.headers
|
|
851
852
|
}
|
|
852
853
|
});
|
|
854
|
+
var getAllApiKeys = (options) => (options.client ?? client).post({
|
|
855
|
+
url: "/v1/api-keys",
|
|
856
|
+
...options,
|
|
857
|
+
headers: {
|
|
858
|
+
"Content-Type": "application/json",
|
|
859
|
+
...options.headers
|
|
860
|
+
}
|
|
861
|
+
});
|
|
862
|
+
var getCurrentApiKey = (options) => (options.client ?? client).post({
|
|
863
|
+
url: "/v1/api-keys/current",
|
|
864
|
+
...options,
|
|
865
|
+
headers: {
|
|
866
|
+
"Content-Type": "application/json",
|
|
867
|
+
...options.headers
|
|
868
|
+
}
|
|
869
|
+
});
|
|
870
|
+
var updateApiKeyExpiration = (options) => (options.client ?? client).post({
|
|
871
|
+
url: "/v1/api-keys/expiration",
|
|
872
|
+
...options,
|
|
873
|
+
headers: {
|
|
874
|
+
"Content-Type": "application/json",
|
|
875
|
+
...options.headers
|
|
876
|
+
}
|
|
877
|
+
});
|
|
878
|
+
var revokeCurrentApiKey = (options) => (options.client ?? client).post({
|
|
879
|
+
url: "/v1/api-keys/revoke",
|
|
880
|
+
...options,
|
|
881
|
+
headers: {
|
|
882
|
+
"Content-Type": "application/json",
|
|
883
|
+
...options.headers
|
|
884
|
+
}
|
|
885
|
+
});
|
|
886
|
+
var updateApiKeyLimit = (options) => (options.client ?? client).post({
|
|
887
|
+
url: "/v1/api-keys/limit",
|
|
888
|
+
...options,
|
|
889
|
+
headers: {
|
|
890
|
+
"Content-Type": "application/json",
|
|
891
|
+
...options.headers
|
|
892
|
+
}
|
|
893
|
+
});
|
|
894
|
+
var resetApiKeyUsage = (options) => (options.client ?? client).post({
|
|
895
|
+
url: "/v1/api-keys/usage/reset",
|
|
896
|
+
...options,
|
|
897
|
+
headers: {
|
|
898
|
+
"Content-Type": "application/json",
|
|
899
|
+
...options.headers
|
|
900
|
+
}
|
|
901
|
+
});
|
|
853
902
|
var listWebhookEventTypes = (options) => (options.client ?? client).get({ url: "/v1/webhooks/event-types", ...options });
|
|
854
903
|
var listWebhookEndpoints = (options) => (options.client ?? client).get({ url: "/v1/webhooks/endpoints", ...options });
|
|
855
904
|
var createWebhookEndpoint = (options) => (options.client ?? client).post({
|
|
@@ -886,6 +935,22 @@ var sendTestWebhookEvent = (options) => (options.client ?? client).post({
|
|
|
886
935
|
...options.headers
|
|
887
936
|
}
|
|
888
937
|
});
|
|
938
|
+
var accountSendOtp = (options) => (options.client ?? client).post({
|
|
939
|
+
url: "/v1/account/send-otp",
|
|
940
|
+
...options,
|
|
941
|
+
headers: {
|
|
942
|
+
"Content-Type": "application/json",
|
|
943
|
+
...options.headers
|
|
944
|
+
}
|
|
945
|
+
});
|
|
946
|
+
var accountVerifyOtp = (options) => (options.client ?? client).post({
|
|
947
|
+
url: "/v1/account/verify-otp",
|
|
948
|
+
...options,
|
|
949
|
+
headers: {
|
|
950
|
+
"Content-Type": "application/json",
|
|
951
|
+
...options.headers
|
|
952
|
+
}
|
|
953
|
+
});
|
|
889
954
|
var pollExhaustiveContactEnrichmentResult = (options) => (options.client ?? client).post({
|
|
890
955
|
url: "/v1/contact-details/exhaustive/poll",
|
|
891
956
|
...options,
|
|
@@ -1307,6 +1372,22 @@ var startDepthChart = (options) => (options.client ?? client).post({
|
|
|
1307
1372
|
...options.headers
|
|
1308
1373
|
}
|
|
1309
1374
|
});
|
|
1375
|
+
var getDepartmentSize = (options) => (options.client ?? client).post({
|
|
1376
|
+
url: "/v1/department-size",
|
|
1377
|
+
...options,
|
|
1378
|
+
headers: {
|
|
1379
|
+
"Content-Type": "application/json",
|
|
1380
|
+
...options.headers
|
|
1381
|
+
}
|
|
1382
|
+
});
|
|
1383
|
+
var getTalentFlow = (options) => (options.client ?? client).post({
|
|
1384
|
+
url: "/v1/talent-flow",
|
|
1385
|
+
...options,
|
|
1386
|
+
headers: {
|
|
1387
|
+
"Content-Type": "application/json",
|
|
1388
|
+
...options.headers
|
|
1389
|
+
}
|
|
1390
|
+
});
|
|
1310
1391
|
var startMosaic = (options) => (options.client ?? client).post({
|
|
1311
1392
|
url: "/v1/mosaic/start",
|
|
1312
1393
|
...options,
|
|
@@ -1563,22 +1644,6 @@ var validatePhoneNumber = (options) => (options.client ?? client).post({
|
|
|
1563
1644
|
...options.headers
|
|
1564
1645
|
}
|
|
1565
1646
|
});
|
|
1566
|
-
var jdToProfileSearch = (options) => (options.client ?? client).post({
|
|
1567
|
-
url: "/v1/natural-language-search/job-description-search",
|
|
1568
|
-
...options,
|
|
1569
|
-
headers: {
|
|
1570
|
-
"Content-Type": "application/json",
|
|
1571
|
-
...options.headers
|
|
1572
|
-
}
|
|
1573
|
-
});
|
|
1574
|
-
var textToCombinedSearchParam = (options) => (options.client ?? client).post({
|
|
1575
|
-
url: "/v1/natural-language-search/combined-search-param",
|
|
1576
|
-
...options,
|
|
1577
|
-
headers: {
|
|
1578
|
-
"Content-Type": "application/json",
|
|
1579
|
-
...options.headers
|
|
1580
|
-
}
|
|
1581
|
-
});
|
|
1582
1647
|
var nlpSearchParse = (options) => (options.client ?? client).post({
|
|
1583
1648
|
url: "/v1/nlp-search/parse",
|
|
1584
1649
|
...options,
|
|
@@ -1883,6 +1948,14 @@ var fetchRealEstateListings = (options) => (options.client ?? client).post({
|
|
|
1883
1948
|
...options.headers
|
|
1884
1949
|
}
|
|
1885
1950
|
});
|
|
1951
|
+
var financialInstrumentLookup = (options) => (options.client ?? client).post({
|
|
1952
|
+
url: "/v1/finance/instrument",
|
|
1953
|
+
...options,
|
|
1954
|
+
headers: {
|
|
1955
|
+
"Content-Type": "application/json",
|
|
1956
|
+
...options.headers
|
|
1957
|
+
}
|
|
1958
|
+
});
|
|
1886
1959
|
var blueCollarJobsSearch = (options) => (options.client ?? client).post({
|
|
1887
1960
|
url: "/v1/blue-collar-jobs/search",
|
|
1888
1961
|
...options,
|
|
@@ -2358,6 +2431,8 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
|
|
|
2358
2431
|
}
|
|
2359
2432
|
});
|
|
2360
2433
|
export {
|
|
2434
|
+
accountSendOtp,
|
|
2435
|
+
accountVerifyOtp,
|
|
2361
2436
|
addCompaniesToExclusionList,
|
|
2362
2437
|
addProfilesToList,
|
|
2363
2438
|
addProspectsToExclusionList,
|
|
@@ -2406,18 +2481,22 @@ export {
|
|
|
2406
2481
|
exportCompanies,
|
|
2407
2482
|
exportProspects,
|
|
2408
2483
|
fetchRealEstateListings,
|
|
2484
|
+
financialInstrumentLookup,
|
|
2409
2485
|
fireTrackerDummy,
|
|
2410
2486
|
flightBookingOptions,
|
|
2411
2487
|
flightSearch,
|
|
2412
2488
|
getAccelerators,
|
|
2489
|
+
getAllApiKeys,
|
|
2413
2490
|
getAudienceCompanies,
|
|
2414
2491
|
getAudienceProspects,
|
|
2415
2492
|
getAudienceStatus,
|
|
2416
2493
|
getAutoTopupSettings,
|
|
2417
2494
|
getCompanyExclusionLists,
|
|
2418
2495
|
getCompanyRevenue,
|
|
2496
|
+
getCurrentApiKey,
|
|
2419
2497
|
getCurrentCompaniesInSavedSearch,
|
|
2420
2498
|
getCurrentProfilesInSavedSearch,
|
|
2499
|
+
getDepartmentSize,
|
|
2421
2500
|
getEnrichmentStatus,
|
|
2422
2501
|
getExcludedCompaniesForExclusionList,
|
|
2423
2502
|
getExcludedProspectsForExclusionList,
|
|
@@ -2434,6 +2513,7 @@ export {
|
|
|
2434
2513
|
getOpenApi,
|
|
2435
2514
|
getOrgCredits,
|
|
2436
2515
|
getProspectExclusionLists,
|
|
2516
|
+
getQuickstartScript,
|
|
2437
2517
|
getRateLimits,
|
|
2438
2518
|
getRegions,
|
|
2439
2519
|
getSavedSearch,
|
|
@@ -2445,6 +2525,7 @@ export {
|
|
|
2445
2525
|
getSkills,
|
|
2446
2526
|
getSubdivisions,
|
|
2447
2527
|
getTags,
|
|
2528
|
+
getTalentFlow,
|
|
2448
2529
|
getTechnologies,
|
|
2449
2530
|
getTimeZones,
|
|
2450
2531
|
getTrackerCompanyList,
|
|
@@ -2465,7 +2546,6 @@ export {
|
|
|
2465
2546
|
instagramProfile,
|
|
2466
2547
|
instagramUserPosts,
|
|
2467
2548
|
instagramUserReels,
|
|
2468
|
-
jdToProfileSearch,
|
|
2469
2549
|
jobPostingSearch,
|
|
2470
2550
|
jobPostingSearchCount,
|
|
2471
2551
|
jobTitleRewrite,
|
|
@@ -2519,8 +2599,10 @@ export {
|
|
|
2519
2599
|
removeProspectFromExclusionList,
|
|
2520
2600
|
removeTrackerCompanies,
|
|
2521
2601
|
removeTrackerPeople,
|
|
2602
|
+
resetApiKeyUsage,
|
|
2522
2603
|
reverseEmailLookup,
|
|
2523
2604
|
reversePhoneLookup,
|
|
2605
|
+
revokeCurrentApiKey,
|
|
2524
2606
|
rotateWebhookEndpointSecret,
|
|
2525
2607
|
sendTestWebhookEvent,
|
|
2526
2608
|
skillsTypeahead,
|
|
@@ -2542,7 +2624,6 @@ export {
|
|
|
2542
2624
|
stealthFoundersSearch,
|
|
2543
2625
|
syncQuickContactReveal,
|
|
2544
2626
|
syncTurboContactEnrichment,
|
|
2545
|
-
textToCombinedSearchParam,
|
|
2546
2627
|
tiktokCommentReplies,
|
|
2547
2628
|
tiktokPopularSongs,
|
|
2548
2629
|
tiktokProfile,
|
|
@@ -2573,6 +2654,8 @@ export {
|
|
|
2573
2654
|
twitterUserMentions,
|
|
2574
2655
|
twitterUserTweets,
|
|
2575
2656
|
undoSkipNextSavedSearchRun,
|
|
2657
|
+
updateApiKeyExpiration,
|
|
2658
|
+
updateApiKeyLimit,
|
|
2576
2659
|
updateAudienceSearchParams,
|
|
2577
2660
|
updateAutoTopupSettings,
|
|
2578
2661
|
updateJobChangeList,
|