@fiberai/sdk 0.0.37 → 0.0.39

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 +172 -21
  2. package/dist/index.d.cts +38183 -23139
  3. package/dist/index.d.ts +38183 -23139
  4. package/dist/index.js +150 -19
  5. package/dist/zod.cjs +61451 -11156
  6. package/dist/zod.d.cts +49897 -9233
  7. package/dist/zod.d.ts +49897 -9233
  8. package/dist/zod.js +61404 -11151
  9. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -850,6 +850,42 @@ var buyCredits = (options) => (options.client ?? client).post({
850
850
  ...options.headers
851
851
  }
852
852
  });
853
+ var listWebhookEventTypes = (options) => (options.client ?? client).get({ url: "/v1/webhooks/event-types", ...options });
854
+ var listWebhookEndpoints = (options) => (options.client ?? client).get({ url: "/v1/webhooks/endpoints", ...options });
855
+ var createWebhookEndpoint = (options) => (options.client ?? client).post({
856
+ url: "/v1/webhooks/endpoints",
857
+ ...options,
858
+ headers: {
859
+ "Content-Type": "application/json",
860
+ ...options.headers
861
+ }
862
+ });
863
+ var deleteWebhookEndpoint = (options) => (options.client ?? client).delete({ url: "/v1/webhooks/endpoints/{endpointId}", ...options });
864
+ var getWebhookEndpoint = (options) => (options.client ?? client).get({ url: "/v1/webhooks/endpoints/{endpointId}", ...options });
865
+ var updateWebhookEndpoint = (options) => (options.client ?? client).patch({
866
+ url: "/v1/webhooks/endpoints/{endpointId}",
867
+ ...options,
868
+ headers: {
869
+ "Content-Type": "application/json",
870
+ ...options.headers
871
+ }
872
+ });
873
+ var rotateWebhookEndpointSecret = (options) => (options.client ?? client).post({
874
+ url: "/v1/webhooks/endpoints/{endpointId}/rotate-secret",
875
+ ...options,
876
+ headers: {
877
+ "Content-Type": "application/json",
878
+ ...options.headers
879
+ }
880
+ });
881
+ var sendTestWebhookEvent = (options) => (options.client ?? client).post({
882
+ url: "/v1/webhooks/endpoints/{endpointId}/test-event",
883
+ ...options,
884
+ headers: {
885
+ "Content-Type": "application/json",
886
+ ...options.headers
887
+ }
888
+ });
853
889
  var pollExhaustiveContactEnrichmentResult = (options) => (options.client ?? client).post({
854
890
  url: "/v1/contact-details/exhaustive/poll",
855
891
  ...options,
@@ -866,6 +902,14 @@ var pollDepthChart = (options) => (options.client ?? client).post({
866
902
  ...options.headers
867
903
  }
868
904
  });
905
+ var pollMosaic = (options) => (options.client ?? client).post({
906
+ url: "/v1/mosaic/poll",
907
+ ...options,
908
+ headers: {
909
+ "Content-Type": "application/json",
910
+ ...options.headers
911
+ }
912
+ });
869
913
  var pollBatchContactDetails = (options) => (options.client ?? client).post({
870
914
  url: "/v1/contact-details/batch/poll",
871
915
  ...options,
@@ -1069,6 +1113,9 @@ var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/en
1069
1113
  var getTechnologies = (options) => (options.client ?? client).get({ url: "/v1/enums/technologies", ...options });
1070
1114
  var getSkills = (options) => (options.client ?? client).get({ url: "/v1/enums/skills", ...options });
1071
1115
  var getFlightRegions = (options) => (options.client ?? client).get({ url: "/v1/enums/flight-regions", ...options });
1116
+ var getHotelAmenities = (options) => (options.client ?? client).get({ url: "/v1/enums/hotels/amenities", ...options });
1117
+ var getHotelPropertyTypes = (options) => (options.client ?? client).get({ url: "/v1/enums/hotels/property-types", ...options });
1118
+ var getHotelBrands = (options) => (options.client ?? client).get({ url: "/v1/enums/hotels/brands", ...options });
1072
1119
  var getMetroAreas = (options) => (options.client ?? client).get({ url: "/v1/enums/metro-areas", ...options });
1073
1120
  var createAudience = (options) => (options.client ?? client).post({
1074
1121
  url: "/v1/audiences/create",
@@ -1078,8 +1125,8 @@ var createAudience = (options) => (options.client ?? client).post({
1078
1125
  ...options.headers
1079
1126
  }
1080
1127
  });
1128
+ var getAudienceStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/status", ...options });
1081
1129
  var deleteAudience = (options) => (options.client ?? client).delete({ url: "/v1/audiences/{audienceId}", ...options });
1082
- var getAudienceStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}", ...options });
1083
1130
  var listAudiences = (options) => (options.client ?? client).get({ url: "/v1/audiences", ...options });
1084
1131
  var getAudienceCompanies = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/companies", ...options });
1085
1132
  var getAudienceProspects = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/prospects", ...options });
@@ -1180,6 +1227,14 @@ var bulkCompanyLogos = (options) => (options.client ?? client).post({
1180
1227
  ...options.headers
1181
1228
  }
1182
1229
  });
1230
+ var companyLogo = (options) => (options.client ?? client).post({
1231
+ url: "/v1/company-logos/single",
1232
+ ...options,
1233
+ headers: {
1234
+ "Content-Type": "application/json",
1235
+ ...options.headers
1236
+ }
1237
+ });
1183
1238
  var bulkProfilePic = (options) => (options.client ?? client).post({
1184
1239
  url: "/v1/profile-pic/bulk",
1185
1240
  ...options,
@@ -1252,6 +1307,14 @@ var startDepthChart = (options) => (options.client ?? client).post({
1252
1307
  ...options.headers
1253
1308
  }
1254
1309
  });
1310
+ var startMosaic = (options) => (options.client ?? client).post({
1311
+ url: "/v1/mosaic/start",
1312
+ ...options,
1313
+ headers: {
1314
+ "Content-Type": "application/json",
1315
+ ...options.headers
1316
+ }
1317
+ });
1255
1318
  var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client).post({
1256
1319
  url: "/v1/contact-details/exhaustive/start",
1257
1320
  ...options,
@@ -1356,22 +1419,6 @@ var profileReactionsLiveFetch = (options) => (options.client ?? client).post({
1356
1419
  ...options.headers
1357
1420
  }
1358
1421
  });
1359
- var profileLatestActivitiesLiveFetch = (options) => (options.client ?? client).post({
1360
- url: "/v1/linkedin-live-fetch/profile-latest-activities",
1361
- ...options,
1362
- headers: {
1363
- "Content-Type": "application/json",
1364
- ...options.headers
1365
- }
1366
- });
1367
- var profileLastActivityDateLiveFetch = (options) => (options.client ?? client).post({
1368
- url: "/v1/linkedin-live-fetch/profile-last-activity-date",
1369
- ...options,
1370
- headers: {
1371
- "Content-Type": "application/json",
1372
- ...options.headers
1373
- }
1374
- });
1375
1422
  var postSearchByKeywords = (options) => (options.client ?? client).post({
1376
1423
  url: "/v1/linkedin-live-fetch/posts/search",
1377
1424
  ...options,
@@ -1420,6 +1467,14 @@ var liteReverseEmailLookup = (options) => (options.client ?? client).post({
1420
1467
  ...options.headers
1421
1468
  }
1422
1469
  });
1470
+ var reversePhoneLookup = (options) => (options.client ?? client).post({
1471
+ url: "/v1/phone-to-person/single",
1472
+ ...options,
1473
+ headers: {
1474
+ "Content-Type": "application/json",
1475
+ ...options.headers
1476
+ }
1477
+ });
1423
1478
  var googleMapsSearch = (options) => (options.client ?? client).post({
1424
1479
  url: "/v1/google-maps-search/start",
1425
1480
  ...options,
@@ -1508,6 +1563,22 @@ var validatePhoneNumber = (options) => (options.client ?? client).post({
1508
1563
  ...options.headers
1509
1564
  }
1510
1565
  });
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
+ });
1511
1582
  var nlpSearchParse = (options) => (options.client ?? client).post({
1512
1583
  url: "/v1/nlp-search/parse",
1513
1584
  ...options,
@@ -1780,6 +1851,30 @@ var flightSearch = (options) => (options.client ?? client).post({
1780
1851
  ...options.headers
1781
1852
  }
1782
1853
  });
1854
+ var flightBookingOptions = (options) => (options.client ?? client).post({
1855
+ url: "/v1/flights/booking-options",
1856
+ ...options,
1857
+ headers: {
1858
+ "Content-Type": "application/json",
1859
+ ...options.headers
1860
+ }
1861
+ });
1862
+ var hotelSearch = (options) => (options.client ?? client).post({
1863
+ url: "/v1/hotels/search",
1864
+ ...options,
1865
+ headers: {
1866
+ "Content-Type": "application/json",
1867
+ ...options.headers
1868
+ }
1869
+ });
1870
+ var hotelProperty = (options) => (options.client ?? client).post({
1871
+ url: "/v1/hotels/property",
1872
+ ...options,
1873
+ headers: {
1874
+ "Content-Type": "application/json",
1875
+ ...options.headers
1876
+ }
1877
+ });
1783
1878
  var fetchRealEstateListings = (options) => (options.client ?? client).post({
1784
1879
  url: "/v1/real-estate/listings",
1785
1880
  ...options,
@@ -1958,6 +2053,22 @@ var previewTrackerSignal = (options) => (options.client ?? client).post({
1958
2053
  }
1959
2054
  });
1960
2055
  var listAvailableTrackerRules = (options) => (options.client ?? client).get({ url: "/v1/tracker/rules", ...options });
2056
+ var refreshTrackerCompanyList = (options) => (options.client ?? client).post({
2057
+ url: "/v1/tracker/company-lists/{listId}/refresh",
2058
+ ...options,
2059
+ headers: {
2060
+ "Content-Type": "application/json",
2061
+ ...options.headers
2062
+ }
2063
+ });
2064
+ var refreshTrackerPersonList = (options) => (options.client ?? client).post({
2065
+ url: "/v1/tracker/person-lists/{listId}/refresh",
2066
+ ...options,
2067
+ headers: {
2068
+ "Content-Type": "application/json",
2069
+ ...options.headers
2070
+ }
2071
+ });
1961
2072
  var tiktokProfile = (options) => (options.client ?? client).post({
1962
2073
  url: "/v1/tiktok/profile",
1963
2074
  ...options,
@@ -2264,6 +2375,7 @@ export {
2264
2375
  combinedSearchCount,
2265
2376
  companyCount,
2266
2377
  companyLiveEnrich,
2378
+ companyLogo,
2267
2379
  companyPostsLiveFetch,
2268
2380
  companySearch,
2269
2381
  companyTypeahead,
@@ -2278,6 +2390,7 @@ export {
2278
2390
  createSavedSearch,
2279
2391
  createTrackerCompanyList,
2280
2392
  createTrackerPersonList,
2393
+ createWebhookEndpoint,
2281
2394
  deleteAudience,
2282
2395
  deleteCompanyExclusionList,
2283
2396
  deleteJobChangeList,
@@ -2285,6 +2398,7 @@ export {
2285
2398
  deleteProspectExclusionList,
2286
2399
  deleteTrackerCompanyList,
2287
2400
  deleteTrackerPersonList,
2401
+ deleteWebhookEndpoint,
2288
2402
  domainLookupPolling,
2289
2403
  domainLookupTrigger,
2290
2404
  emailBounceDetection,
@@ -2293,6 +2407,7 @@ export {
2293
2407
  exportProspects,
2294
2408
  fetchRealEstateListings,
2295
2409
  fireTrackerDummy,
2410
+ flightBookingOptions,
2296
2411
  flightSearch,
2297
2412
  getAccelerators,
2298
2413
  getAudienceCompanies,
@@ -2307,6 +2422,9 @@ export {
2307
2422
  getExcludedCompaniesForExclusionList,
2308
2423
  getExcludedProspectsForExclusionList,
2309
2424
  getFlightRegions,
2425
+ getHotelAmenities,
2426
+ getHotelBrands,
2427
+ getHotelPropertyTypes,
2310
2428
  getIndustries,
2311
2429
  getJobChangeList,
2312
2430
  getLanguages,
@@ -2332,6 +2450,7 @@ export {
2332
2450
  getTrackerCompanyList,
2333
2451
  getTrackerOverview,
2334
2452
  getTrackerPersonList,
2453
+ getWebhookEndpoint,
2335
2454
  githubLookupPoll,
2336
2455
  githubLookupTrigger,
2337
2456
  githubToLinkedInPolling,
@@ -2339,11 +2458,14 @@ export {
2339
2458
  githubToLinkedinSingle,
2340
2459
  googleMapsSearch,
2341
2460
  healthCheck,
2461
+ hotelProperty,
2462
+ hotelSearch,
2342
2463
  instagramPostComments,
2343
2464
  instagramPostDetails,
2344
2465
  instagramProfile,
2345
2466
  instagramUserPosts,
2346
2467
  instagramUserReels,
2468
+ jdToProfileSearch,
2347
2469
  jobPostingSearch,
2348
2470
  jobPostingSearchCount,
2349
2471
  jobTitleRewrite,
@@ -2360,6 +2482,8 @@ export {
2360
2482
  listTrackerCompanyLists,
2361
2483
  listTrackerPersonLists,
2362
2484
  listTrackerSignals,
2485
+ listWebhookEndpoints,
2486
+ listWebhookEventTypes,
2363
2487
  liteContactReveal,
2364
2488
  liteReverseEmailLookup,
2365
2489
  locationTypeahead,
@@ -2375,14 +2499,13 @@ export {
2375
2499
  pollExhaustiveContactEnrichmentResult,
2376
2500
  pollGoogleMapsResults,
2377
2501
  pollLocalBusinessSearch,
2502
+ pollMosaic,
2378
2503
  postCommentsLiveFetch,
2379
2504
  postReactionsLiveFetch,
2380
2505
  postSearchByKeywords,
2381
2506
  premiumPhoneReveal,
2382
2507
  previewTrackerSignal,
2383
2508
  profileCommentsLiveFetch,
2384
- profileLastActivityDateLiveFetch,
2385
- profileLatestActivitiesLiveFetch,
2386
2509
  profileLiveEnrich,
2387
2510
  profilePostsLiveFetch,
2388
2511
  profileReactionsLiveFetch,
@@ -2390,11 +2513,16 @@ export {
2390
2513
  redditSearch,
2391
2514
  redditSubredditPosts,
2392
2515
  redditSubredditSearch,
2516
+ refreshTrackerCompanyList,
2517
+ refreshTrackerPersonList,
2393
2518
  removeCompanyFromExclusionList,
2394
2519
  removeProspectFromExclusionList,
2395
2520
  removeTrackerCompanies,
2396
2521
  removeTrackerPeople,
2397
2522
  reverseEmailLookup,
2523
+ reversePhoneLookup,
2524
+ rotateWebhookEndpointSecret,
2525
+ sendTestWebhookEvent,
2398
2526
  skillsTypeahead,
2399
2527
  skipNextSavedSearchRun,
2400
2528
  slushieRun,
@@ -2409,10 +2537,12 @@ export {
2409
2537
  startBatchLiveEnrich,
2410
2538
  startDepthChart,
2411
2539
  startLocalBusinessSearch,
2540
+ startMosaic,
2412
2541
  stealthFoundersCount,
2413
2542
  stealthFoundersSearch,
2414
2543
  syncQuickContactReveal,
2415
2544
  syncTurboContactEnrichment,
2545
+ textToCombinedSearchParam,
2416
2546
  tiktokCommentReplies,
2417
2547
  tiktokPopularSongs,
2418
2548
  tiktokProfile,
@@ -2449,6 +2579,7 @@ export {
2449
2579
  updateSavedSearch,
2450
2580
  updateTrackerCompanyList,
2451
2581
  updateTrackerPersonList,
2582
+ updateWebhookEndpoint,
2452
2583
  validatePhoneNumber,
2453
2584
  webpageScreenshot,
2454
2585
  youtubeChannel,