@fiberai/sdk 0.0.36 → 0.0.38

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 -1
  2. package/dist/index.d.cts +38473 -22828
  3. package/dist/index.d.ts +38473 -22828
  4. package/dist/index.js +150 -1
  5. package/dist/zod.cjs +61143 -10635
  6. package/dist/zod.d.cts +50150 -9324
  7. package/dist/zod.d.ts +50150 -9324
  8. package/dist/zod.js +61096 -10634
  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,
@@ -1420,6 +1483,14 @@ var liteReverseEmailLookup = (options) => (options.client ?? client).post({
1420
1483
  ...options.headers
1421
1484
  }
1422
1485
  });
1486
+ var reversePhoneLookup = (options) => (options.client ?? client).post({
1487
+ url: "/v1/phone-to-person/single",
1488
+ ...options,
1489
+ headers: {
1490
+ "Content-Type": "application/json",
1491
+ ...options.headers
1492
+ }
1493
+ });
1423
1494
  var googleMapsSearch = (options) => (options.client ?? client).post({
1424
1495
  url: "/v1/google-maps-search/start",
1425
1496
  ...options,
@@ -1508,6 +1579,22 @@ var validatePhoneNumber = (options) => (options.client ?? client).post({
1508
1579
  ...options.headers
1509
1580
  }
1510
1581
  });
1582
+ var jdToProfileSearch = (options) => (options.client ?? client).post({
1583
+ url: "/v1/natural-language-search/job-description-search",
1584
+ ...options,
1585
+ headers: {
1586
+ "Content-Type": "application/json",
1587
+ ...options.headers
1588
+ }
1589
+ });
1590
+ var textToCombinedSearchParam = (options) => (options.client ?? client).post({
1591
+ url: "/v1/natural-language-search/combined-search-param",
1592
+ ...options,
1593
+ headers: {
1594
+ "Content-Type": "application/json",
1595
+ ...options.headers
1596
+ }
1597
+ });
1511
1598
  var nlpSearchParse = (options) => (options.client ?? client).post({
1512
1599
  url: "/v1/nlp-search/parse",
1513
1600
  ...options,
@@ -1780,6 +1867,30 @@ var flightSearch = (options) => (options.client ?? client).post({
1780
1867
  ...options.headers
1781
1868
  }
1782
1869
  });
1870
+ var flightBookingOptions = (options) => (options.client ?? client).post({
1871
+ url: "/v1/flights/booking-options",
1872
+ ...options,
1873
+ headers: {
1874
+ "Content-Type": "application/json",
1875
+ ...options.headers
1876
+ }
1877
+ });
1878
+ var hotelSearch = (options) => (options.client ?? client).post({
1879
+ url: "/v1/hotels/search",
1880
+ ...options,
1881
+ headers: {
1882
+ "Content-Type": "application/json",
1883
+ ...options.headers
1884
+ }
1885
+ });
1886
+ var hotelProperty = (options) => (options.client ?? client).post({
1887
+ url: "/v1/hotels/property",
1888
+ ...options,
1889
+ headers: {
1890
+ "Content-Type": "application/json",
1891
+ ...options.headers
1892
+ }
1893
+ });
1783
1894
  var fetchRealEstateListings = (options) => (options.client ?? client).post({
1784
1895
  url: "/v1/real-estate/listings",
1785
1896
  ...options,
@@ -1958,6 +2069,22 @@ var previewTrackerSignal = (options) => (options.client ?? client).post({
1958
2069
  }
1959
2070
  });
1960
2071
  var listAvailableTrackerRules = (options) => (options.client ?? client).get({ url: "/v1/tracker/rules", ...options });
2072
+ var refreshTrackerCompanyList = (options) => (options.client ?? client).post({
2073
+ url: "/v1/tracker/company-lists/{listId}/refresh",
2074
+ ...options,
2075
+ headers: {
2076
+ "Content-Type": "application/json",
2077
+ ...options.headers
2078
+ }
2079
+ });
2080
+ var refreshTrackerPersonList = (options) => (options.client ?? client).post({
2081
+ url: "/v1/tracker/person-lists/{listId}/refresh",
2082
+ ...options,
2083
+ headers: {
2084
+ "Content-Type": "application/json",
2085
+ ...options.headers
2086
+ }
2087
+ });
1961
2088
  var tiktokProfile = (options) => (options.client ?? client).post({
1962
2089
  url: "/v1/tiktok/profile",
1963
2090
  ...options,
@@ -2264,6 +2391,7 @@ export {
2264
2391
  combinedSearchCount,
2265
2392
  companyCount,
2266
2393
  companyLiveEnrich,
2394
+ companyLogo,
2267
2395
  companyPostsLiveFetch,
2268
2396
  companySearch,
2269
2397
  companyTypeahead,
@@ -2278,6 +2406,7 @@ export {
2278
2406
  createSavedSearch,
2279
2407
  createTrackerCompanyList,
2280
2408
  createTrackerPersonList,
2409
+ createWebhookEndpoint,
2281
2410
  deleteAudience,
2282
2411
  deleteCompanyExclusionList,
2283
2412
  deleteJobChangeList,
@@ -2285,6 +2414,7 @@ export {
2285
2414
  deleteProspectExclusionList,
2286
2415
  deleteTrackerCompanyList,
2287
2416
  deleteTrackerPersonList,
2417
+ deleteWebhookEndpoint,
2288
2418
  domainLookupPolling,
2289
2419
  domainLookupTrigger,
2290
2420
  emailBounceDetection,
@@ -2293,6 +2423,7 @@ export {
2293
2423
  exportProspects,
2294
2424
  fetchRealEstateListings,
2295
2425
  fireTrackerDummy,
2426
+ flightBookingOptions,
2296
2427
  flightSearch,
2297
2428
  getAccelerators,
2298
2429
  getAudienceCompanies,
@@ -2307,6 +2438,9 @@ export {
2307
2438
  getExcludedCompaniesForExclusionList,
2308
2439
  getExcludedProspectsForExclusionList,
2309
2440
  getFlightRegions,
2441
+ getHotelAmenities,
2442
+ getHotelBrands,
2443
+ getHotelPropertyTypes,
2310
2444
  getIndustries,
2311
2445
  getJobChangeList,
2312
2446
  getLanguages,
@@ -2332,6 +2466,7 @@ export {
2332
2466
  getTrackerCompanyList,
2333
2467
  getTrackerOverview,
2334
2468
  getTrackerPersonList,
2469
+ getWebhookEndpoint,
2335
2470
  githubLookupPoll,
2336
2471
  githubLookupTrigger,
2337
2472
  githubToLinkedInPolling,
@@ -2339,11 +2474,14 @@ export {
2339
2474
  githubToLinkedinSingle,
2340
2475
  googleMapsSearch,
2341
2476
  healthCheck,
2477
+ hotelProperty,
2478
+ hotelSearch,
2342
2479
  instagramPostComments,
2343
2480
  instagramPostDetails,
2344
2481
  instagramProfile,
2345
2482
  instagramUserPosts,
2346
2483
  instagramUserReels,
2484
+ jdToProfileSearch,
2347
2485
  jobPostingSearch,
2348
2486
  jobPostingSearchCount,
2349
2487
  jobTitleRewrite,
@@ -2360,6 +2498,8 @@ export {
2360
2498
  listTrackerCompanyLists,
2361
2499
  listTrackerPersonLists,
2362
2500
  listTrackerSignals,
2501
+ listWebhookEndpoints,
2502
+ listWebhookEventTypes,
2363
2503
  liteContactReveal,
2364
2504
  liteReverseEmailLookup,
2365
2505
  locationTypeahead,
@@ -2375,6 +2515,7 @@ export {
2375
2515
  pollExhaustiveContactEnrichmentResult,
2376
2516
  pollGoogleMapsResults,
2377
2517
  pollLocalBusinessSearch,
2518
+ pollMosaic,
2378
2519
  postCommentsLiveFetch,
2379
2520
  postReactionsLiveFetch,
2380
2521
  postSearchByKeywords,
@@ -2390,11 +2531,16 @@ export {
2390
2531
  redditSearch,
2391
2532
  redditSubredditPosts,
2392
2533
  redditSubredditSearch,
2534
+ refreshTrackerCompanyList,
2535
+ refreshTrackerPersonList,
2393
2536
  removeCompanyFromExclusionList,
2394
2537
  removeProspectFromExclusionList,
2395
2538
  removeTrackerCompanies,
2396
2539
  removeTrackerPeople,
2397
2540
  reverseEmailLookup,
2541
+ reversePhoneLookup,
2542
+ rotateWebhookEndpointSecret,
2543
+ sendTestWebhookEvent,
2398
2544
  skillsTypeahead,
2399
2545
  skipNextSavedSearchRun,
2400
2546
  slushieRun,
@@ -2409,10 +2555,12 @@ export {
2409
2555
  startBatchLiveEnrich,
2410
2556
  startDepthChart,
2411
2557
  startLocalBusinessSearch,
2558
+ startMosaic,
2412
2559
  stealthFoundersCount,
2413
2560
  stealthFoundersSearch,
2414
2561
  syncQuickContactReveal,
2415
2562
  syncTurboContactEnrichment,
2563
+ textToCombinedSearchParam,
2416
2564
  tiktokCommentReplies,
2417
2565
  tiktokPopularSongs,
2418
2566
  tiktokProfile,
@@ -2449,6 +2597,7 @@ export {
2449
2597
  updateSavedSearch,
2450
2598
  updateTrackerCompanyList,
2451
2599
  updateTrackerPersonList,
2600
+ updateWebhookEndpoint,
2452
2601
  validatePhoneNumber,
2453
2602
  webpageScreenshot,
2454
2603
  youtubeChannel,