@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.cjs CHANGED
@@ -37,6 +37,7 @@ __export(src_exports, {
37
37
  combinedSearchCount: () => combinedSearchCount,
38
38
  companyCount: () => companyCount,
39
39
  companyLiveEnrich: () => companyLiveEnrich,
40
+ companyLogo: () => companyLogo,
40
41
  companyPostsLiveFetch: () => companyPostsLiveFetch,
41
42
  companySearch: () => companySearch,
42
43
  companyTypeahead: () => companyTypeahead,
@@ -51,6 +52,7 @@ __export(src_exports, {
51
52
  createSavedSearch: () => createSavedSearch,
52
53
  createTrackerCompanyList: () => createTrackerCompanyList,
53
54
  createTrackerPersonList: () => createTrackerPersonList,
55
+ createWebhookEndpoint: () => createWebhookEndpoint,
54
56
  deleteAudience: () => deleteAudience,
55
57
  deleteCompanyExclusionList: () => deleteCompanyExclusionList,
56
58
  deleteJobChangeList: () => deleteJobChangeList,
@@ -58,6 +60,7 @@ __export(src_exports, {
58
60
  deleteProspectExclusionList: () => deleteProspectExclusionList,
59
61
  deleteTrackerCompanyList: () => deleteTrackerCompanyList,
60
62
  deleteTrackerPersonList: () => deleteTrackerPersonList,
63
+ deleteWebhookEndpoint: () => deleteWebhookEndpoint,
61
64
  domainLookupPolling: () => domainLookupPolling,
62
65
  domainLookupTrigger: () => domainLookupTrigger,
63
66
  emailBounceDetection: () => emailBounceDetection,
@@ -66,6 +69,7 @@ __export(src_exports, {
66
69
  exportProspects: () => exportProspects,
67
70
  fetchRealEstateListings: () => fetchRealEstateListings,
68
71
  fireTrackerDummy: () => fireTrackerDummy,
72
+ flightBookingOptions: () => flightBookingOptions,
69
73
  flightSearch: () => flightSearch,
70
74
  getAccelerators: () => getAccelerators,
71
75
  getAudienceCompanies: () => getAudienceCompanies,
@@ -80,6 +84,9 @@ __export(src_exports, {
80
84
  getExcludedCompaniesForExclusionList: () => getExcludedCompaniesForExclusionList,
81
85
  getExcludedProspectsForExclusionList: () => getExcludedProspectsForExclusionList,
82
86
  getFlightRegions: () => getFlightRegions,
87
+ getHotelAmenities: () => getHotelAmenities,
88
+ getHotelBrands: () => getHotelBrands,
89
+ getHotelPropertyTypes: () => getHotelPropertyTypes,
83
90
  getIndustries: () => getIndustries,
84
91
  getJobChangeList: () => getJobChangeList,
85
92
  getLanguages: () => getLanguages,
@@ -105,6 +112,7 @@ __export(src_exports, {
105
112
  getTrackerCompanyList: () => getTrackerCompanyList,
106
113
  getTrackerOverview: () => getTrackerOverview,
107
114
  getTrackerPersonList: () => getTrackerPersonList,
115
+ getWebhookEndpoint: () => getWebhookEndpoint,
108
116
  githubLookupPoll: () => githubLookupPoll,
109
117
  githubLookupTrigger: () => githubLookupTrigger,
110
118
  githubToLinkedInPolling: () => githubToLinkedInPolling,
@@ -112,11 +120,14 @@ __export(src_exports, {
112
120
  githubToLinkedinSingle: () => githubToLinkedinSingle,
113
121
  googleMapsSearch: () => googleMapsSearch,
114
122
  healthCheck: () => healthCheck,
123
+ hotelProperty: () => hotelProperty,
124
+ hotelSearch: () => hotelSearch,
115
125
  instagramPostComments: () => instagramPostComments,
116
126
  instagramPostDetails: () => instagramPostDetails,
117
127
  instagramProfile: () => instagramProfile,
118
128
  instagramUserPosts: () => instagramUserPosts,
119
129
  instagramUserReels: () => instagramUserReels,
130
+ jdToProfileSearch: () => jdToProfileSearch,
120
131
  jobPostingSearch: () => jobPostingSearch,
121
132
  jobPostingSearchCount: () => jobPostingSearchCount,
122
133
  jobTitleRewrite: () => jobTitleRewrite,
@@ -133,6 +144,8 @@ __export(src_exports, {
133
144
  listTrackerCompanyLists: () => listTrackerCompanyLists,
134
145
  listTrackerPersonLists: () => listTrackerPersonLists,
135
146
  listTrackerSignals: () => listTrackerSignals,
147
+ listWebhookEndpoints: () => listWebhookEndpoints,
148
+ listWebhookEventTypes: () => listWebhookEventTypes,
136
149
  liteContactReveal: () => liteContactReveal,
137
150
  liteReverseEmailLookup: () => liteReverseEmailLookup,
138
151
  locationTypeahead: () => locationTypeahead,
@@ -148,6 +161,7 @@ __export(src_exports, {
148
161
  pollExhaustiveContactEnrichmentResult: () => pollExhaustiveContactEnrichmentResult,
149
162
  pollGoogleMapsResults: () => pollGoogleMapsResults,
150
163
  pollLocalBusinessSearch: () => pollLocalBusinessSearch,
164
+ pollMosaic: () => pollMosaic,
151
165
  postCommentsLiveFetch: () => postCommentsLiveFetch,
152
166
  postReactionsLiveFetch: () => postReactionsLiveFetch,
153
167
  postSearchByKeywords: () => postSearchByKeywords,
@@ -163,11 +177,16 @@ __export(src_exports, {
163
177
  redditSearch: () => redditSearch,
164
178
  redditSubredditPosts: () => redditSubredditPosts,
165
179
  redditSubredditSearch: () => redditSubredditSearch,
180
+ refreshTrackerCompanyList: () => refreshTrackerCompanyList,
181
+ refreshTrackerPersonList: () => refreshTrackerPersonList,
166
182
  removeCompanyFromExclusionList: () => removeCompanyFromExclusionList,
167
183
  removeProspectFromExclusionList: () => removeProspectFromExclusionList,
168
184
  removeTrackerCompanies: () => removeTrackerCompanies,
169
185
  removeTrackerPeople: () => removeTrackerPeople,
170
186
  reverseEmailLookup: () => reverseEmailLookup,
187
+ reversePhoneLookup: () => reversePhoneLookup,
188
+ rotateWebhookEndpointSecret: () => rotateWebhookEndpointSecret,
189
+ sendTestWebhookEvent: () => sendTestWebhookEvent,
171
190
  skillsTypeahead: () => skillsTypeahead,
172
191
  skipNextSavedSearchRun: () => skipNextSavedSearchRun,
173
192
  slushieRun: () => slushieRun,
@@ -182,10 +201,12 @@ __export(src_exports, {
182
201
  startBatchLiveEnrich: () => startBatchLiveEnrich,
183
202
  startDepthChart: () => startDepthChart,
184
203
  startLocalBusinessSearch: () => startLocalBusinessSearch,
204
+ startMosaic: () => startMosaic,
185
205
  stealthFoundersCount: () => stealthFoundersCount,
186
206
  stealthFoundersSearch: () => stealthFoundersSearch,
187
207
  syncQuickContactReveal: () => syncQuickContactReveal,
188
208
  syncTurboContactEnrichment: () => syncTurboContactEnrichment,
209
+ textToCombinedSearchParam: () => textToCombinedSearchParam,
189
210
  tiktokCommentReplies: () => tiktokCommentReplies,
190
211
  tiktokPopularSongs: () => tiktokPopularSongs,
191
212
  tiktokProfile: () => tiktokProfile,
@@ -222,6 +243,7 @@ __export(src_exports, {
222
243
  updateSavedSearch: () => updateSavedSearch,
223
244
  updateTrackerCompanyList: () => updateTrackerCompanyList,
224
245
  updateTrackerPersonList: () => updateTrackerPersonList,
246
+ updateWebhookEndpoint: () => updateWebhookEndpoint,
225
247
  validatePhoneNumber: () => validatePhoneNumber,
226
248
  webpageScreenshot: () => webpageScreenshot,
227
249
  youtubeChannel: () => youtubeChannel,
@@ -1084,6 +1106,42 @@ var buyCredits = (options) => (options.client ?? client).post({
1084
1106
  ...options.headers
1085
1107
  }
1086
1108
  });
1109
+ var listWebhookEventTypes = (options) => (options.client ?? client).get({ url: "/v1/webhooks/event-types", ...options });
1110
+ var listWebhookEndpoints = (options) => (options.client ?? client).get({ url: "/v1/webhooks/endpoints", ...options });
1111
+ var createWebhookEndpoint = (options) => (options.client ?? client).post({
1112
+ url: "/v1/webhooks/endpoints",
1113
+ ...options,
1114
+ headers: {
1115
+ "Content-Type": "application/json",
1116
+ ...options.headers
1117
+ }
1118
+ });
1119
+ var deleteWebhookEndpoint = (options) => (options.client ?? client).delete({ url: "/v1/webhooks/endpoints/{endpointId}", ...options });
1120
+ var getWebhookEndpoint = (options) => (options.client ?? client).get({ url: "/v1/webhooks/endpoints/{endpointId}", ...options });
1121
+ var updateWebhookEndpoint = (options) => (options.client ?? client).patch({
1122
+ url: "/v1/webhooks/endpoints/{endpointId}",
1123
+ ...options,
1124
+ headers: {
1125
+ "Content-Type": "application/json",
1126
+ ...options.headers
1127
+ }
1128
+ });
1129
+ var rotateWebhookEndpointSecret = (options) => (options.client ?? client).post({
1130
+ url: "/v1/webhooks/endpoints/{endpointId}/rotate-secret",
1131
+ ...options,
1132
+ headers: {
1133
+ "Content-Type": "application/json",
1134
+ ...options.headers
1135
+ }
1136
+ });
1137
+ var sendTestWebhookEvent = (options) => (options.client ?? client).post({
1138
+ url: "/v1/webhooks/endpoints/{endpointId}/test-event",
1139
+ ...options,
1140
+ headers: {
1141
+ "Content-Type": "application/json",
1142
+ ...options.headers
1143
+ }
1144
+ });
1087
1145
  var pollExhaustiveContactEnrichmentResult = (options) => (options.client ?? client).post({
1088
1146
  url: "/v1/contact-details/exhaustive/poll",
1089
1147
  ...options,
@@ -1100,6 +1158,14 @@ var pollDepthChart = (options) => (options.client ?? client).post({
1100
1158
  ...options.headers
1101
1159
  }
1102
1160
  });
1161
+ var pollMosaic = (options) => (options.client ?? client).post({
1162
+ url: "/v1/mosaic/poll",
1163
+ ...options,
1164
+ headers: {
1165
+ "Content-Type": "application/json",
1166
+ ...options.headers
1167
+ }
1168
+ });
1103
1169
  var pollBatchContactDetails = (options) => (options.client ?? client).post({
1104
1170
  url: "/v1/contact-details/batch/poll",
1105
1171
  ...options,
@@ -1303,6 +1369,9 @@ var getSubdivisions = (options) => (options.client ?? client).get({ url: "/v1/en
1303
1369
  var getTechnologies = (options) => (options.client ?? client).get({ url: "/v1/enums/technologies", ...options });
1304
1370
  var getSkills = (options) => (options.client ?? client).get({ url: "/v1/enums/skills", ...options });
1305
1371
  var getFlightRegions = (options) => (options.client ?? client).get({ url: "/v1/enums/flight-regions", ...options });
1372
+ var getHotelAmenities = (options) => (options.client ?? client).get({ url: "/v1/enums/hotels/amenities", ...options });
1373
+ var getHotelPropertyTypes = (options) => (options.client ?? client).get({ url: "/v1/enums/hotels/property-types", ...options });
1374
+ var getHotelBrands = (options) => (options.client ?? client).get({ url: "/v1/enums/hotels/brands", ...options });
1306
1375
  var getMetroAreas = (options) => (options.client ?? client).get({ url: "/v1/enums/metro-areas", ...options });
1307
1376
  var createAudience = (options) => (options.client ?? client).post({
1308
1377
  url: "/v1/audiences/create",
@@ -1312,8 +1381,8 @@ var createAudience = (options) => (options.client ?? client).post({
1312
1381
  ...options.headers
1313
1382
  }
1314
1383
  });
1384
+ var getAudienceStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/status", ...options });
1315
1385
  var deleteAudience = (options) => (options.client ?? client).delete({ url: "/v1/audiences/{audienceId}", ...options });
1316
- var getAudienceStatus = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}", ...options });
1317
1386
  var listAudiences = (options) => (options.client ?? client).get({ url: "/v1/audiences", ...options });
1318
1387
  var getAudienceCompanies = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/companies", ...options });
1319
1388
  var getAudienceProspects = (options) => (options.client ?? client).get({ url: "/v1/audiences/{audienceId}/prospects", ...options });
@@ -1414,6 +1483,14 @@ var bulkCompanyLogos = (options) => (options.client ?? client).post({
1414
1483
  ...options.headers
1415
1484
  }
1416
1485
  });
1486
+ var companyLogo = (options) => (options.client ?? client).post({
1487
+ url: "/v1/company-logos/single",
1488
+ ...options,
1489
+ headers: {
1490
+ "Content-Type": "application/json",
1491
+ ...options.headers
1492
+ }
1493
+ });
1417
1494
  var bulkProfilePic = (options) => (options.client ?? client).post({
1418
1495
  url: "/v1/profile-pic/bulk",
1419
1496
  ...options,
@@ -1486,6 +1563,14 @@ var startDepthChart = (options) => (options.client ?? client).post({
1486
1563
  ...options.headers
1487
1564
  }
1488
1565
  });
1566
+ var startMosaic = (options) => (options.client ?? client).post({
1567
+ url: "/v1/mosaic/start",
1568
+ ...options,
1569
+ headers: {
1570
+ "Content-Type": "application/json",
1571
+ ...options.headers
1572
+ }
1573
+ });
1489
1574
  var triggerExhaustiveContactEnrichment = (options) => (options.client ?? client).post({
1490
1575
  url: "/v1/contact-details/exhaustive/start",
1491
1576
  ...options,
@@ -1654,6 +1739,14 @@ var liteReverseEmailLookup = (options) => (options.client ?? client).post({
1654
1739
  ...options.headers
1655
1740
  }
1656
1741
  });
1742
+ var reversePhoneLookup = (options) => (options.client ?? client).post({
1743
+ url: "/v1/phone-to-person/single",
1744
+ ...options,
1745
+ headers: {
1746
+ "Content-Type": "application/json",
1747
+ ...options.headers
1748
+ }
1749
+ });
1657
1750
  var googleMapsSearch = (options) => (options.client ?? client).post({
1658
1751
  url: "/v1/google-maps-search/start",
1659
1752
  ...options,
@@ -1742,6 +1835,22 @@ var validatePhoneNumber = (options) => (options.client ?? client).post({
1742
1835
  ...options.headers
1743
1836
  }
1744
1837
  });
1838
+ var jdToProfileSearch = (options) => (options.client ?? client).post({
1839
+ url: "/v1/natural-language-search/job-description-search",
1840
+ ...options,
1841
+ headers: {
1842
+ "Content-Type": "application/json",
1843
+ ...options.headers
1844
+ }
1845
+ });
1846
+ var textToCombinedSearchParam = (options) => (options.client ?? client).post({
1847
+ url: "/v1/natural-language-search/combined-search-param",
1848
+ ...options,
1849
+ headers: {
1850
+ "Content-Type": "application/json",
1851
+ ...options.headers
1852
+ }
1853
+ });
1745
1854
  var nlpSearchParse = (options) => (options.client ?? client).post({
1746
1855
  url: "/v1/nlp-search/parse",
1747
1856
  ...options,
@@ -2014,6 +2123,30 @@ var flightSearch = (options) => (options.client ?? client).post({
2014
2123
  ...options.headers
2015
2124
  }
2016
2125
  });
2126
+ var flightBookingOptions = (options) => (options.client ?? client).post({
2127
+ url: "/v1/flights/booking-options",
2128
+ ...options,
2129
+ headers: {
2130
+ "Content-Type": "application/json",
2131
+ ...options.headers
2132
+ }
2133
+ });
2134
+ var hotelSearch = (options) => (options.client ?? client).post({
2135
+ url: "/v1/hotels/search",
2136
+ ...options,
2137
+ headers: {
2138
+ "Content-Type": "application/json",
2139
+ ...options.headers
2140
+ }
2141
+ });
2142
+ var hotelProperty = (options) => (options.client ?? client).post({
2143
+ url: "/v1/hotels/property",
2144
+ ...options,
2145
+ headers: {
2146
+ "Content-Type": "application/json",
2147
+ ...options.headers
2148
+ }
2149
+ });
2017
2150
  var fetchRealEstateListings = (options) => (options.client ?? client).post({
2018
2151
  url: "/v1/real-estate/listings",
2019
2152
  ...options,
@@ -2192,6 +2325,22 @@ var previewTrackerSignal = (options) => (options.client ?? client).post({
2192
2325
  }
2193
2326
  });
2194
2327
  var listAvailableTrackerRules = (options) => (options.client ?? client).get({ url: "/v1/tracker/rules", ...options });
2328
+ var refreshTrackerCompanyList = (options) => (options.client ?? client).post({
2329
+ url: "/v1/tracker/company-lists/{listId}/refresh",
2330
+ ...options,
2331
+ headers: {
2332
+ "Content-Type": "application/json",
2333
+ ...options.headers
2334
+ }
2335
+ });
2336
+ var refreshTrackerPersonList = (options) => (options.client ?? client).post({
2337
+ url: "/v1/tracker/person-lists/{listId}/refresh",
2338
+ ...options,
2339
+ headers: {
2340
+ "Content-Type": "application/json",
2341
+ ...options.headers
2342
+ }
2343
+ });
2195
2344
  var tiktokProfile = (options) => (options.client ?? client).post({
2196
2345
  url: "/v1/tiktok/profile",
2197
2346
  ...options,
@@ -2499,6 +2648,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2499
2648
  combinedSearchCount,
2500
2649
  companyCount,
2501
2650
  companyLiveEnrich,
2651
+ companyLogo,
2502
2652
  companyPostsLiveFetch,
2503
2653
  companySearch,
2504
2654
  companyTypeahead,
@@ -2513,6 +2663,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2513
2663
  createSavedSearch,
2514
2664
  createTrackerCompanyList,
2515
2665
  createTrackerPersonList,
2666
+ createWebhookEndpoint,
2516
2667
  deleteAudience,
2517
2668
  deleteCompanyExclusionList,
2518
2669
  deleteJobChangeList,
@@ -2520,6 +2671,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2520
2671
  deleteProspectExclusionList,
2521
2672
  deleteTrackerCompanyList,
2522
2673
  deleteTrackerPersonList,
2674
+ deleteWebhookEndpoint,
2523
2675
  domainLookupPolling,
2524
2676
  domainLookupTrigger,
2525
2677
  emailBounceDetection,
@@ -2528,6 +2680,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2528
2680
  exportProspects,
2529
2681
  fetchRealEstateListings,
2530
2682
  fireTrackerDummy,
2683
+ flightBookingOptions,
2531
2684
  flightSearch,
2532
2685
  getAccelerators,
2533
2686
  getAudienceCompanies,
@@ -2542,6 +2695,9 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2542
2695
  getExcludedCompaniesForExclusionList,
2543
2696
  getExcludedProspectsForExclusionList,
2544
2697
  getFlightRegions,
2698
+ getHotelAmenities,
2699
+ getHotelBrands,
2700
+ getHotelPropertyTypes,
2545
2701
  getIndustries,
2546
2702
  getJobChangeList,
2547
2703
  getLanguages,
@@ -2567,6 +2723,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2567
2723
  getTrackerCompanyList,
2568
2724
  getTrackerOverview,
2569
2725
  getTrackerPersonList,
2726
+ getWebhookEndpoint,
2570
2727
  githubLookupPoll,
2571
2728
  githubLookupTrigger,
2572
2729
  githubToLinkedInPolling,
@@ -2574,11 +2731,14 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2574
2731
  githubToLinkedinSingle,
2575
2732
  googleMapsSearch,
2576
2733
  healthCheck,
2734
+ hotelProperty,
2735
+ hotelSearch,
2577
2736
  instagramPostComments,
2578
2737
  instagramPostDetails,
2579
2738
  instagramProfile,
2580
2739
  instagramUserPosts,
2581
2740
  instagramUserReels,
2741
+ jdToProfileSearch,
2582
2742
  jobPostingSearch,
2583
2743
  jobPostingSearchCount,
2584
2744
  jobTitleRewrite,
@@ -2595,6 +2755,8 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2595
2755
  listTrackerCompanyLists,
2596
2756
  listTrackerPersonLists,
2597
2757
  listTrackerSignals,
2758
+ listWebhookEndpoints,
2759
+ listWebhookEventTypes,
2598
2760
  liteContactReveal,
2599
2761
  liteReverseEmailLookup,
2600
2762
  locationTypeahead,
@@ -2610,6 +2772,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2610
2772
  pollExhaustiveContactEnrichmentResult,
2611
2773
  pollGoogleMapsResults,
2612
2774
  pollLocalBusinessSearch,
2775
+ pollMosaic,
2613
2776
  postCommentsLiveFetch,
2614
2777
  postReactionsLiveFetch,
2615
2778
  postSearchByKeywords,
@@ -2625,11 +2788,16 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2625
2788
  redditSearch,
2626
2789
  redditSubredditPosts,
2627
2790
  redditSubredditSearch,
2791
+ refreshTrackerCompanyList,
2792
+ refreshTrackerPersonList,
2628
2793
  removeCompanyFromExclusionList,
2629
2794
  removeProspectFromExclusionList,
2630
2795
  removeTrackerCompanies,
2631
2796
  removeTrackerPeople,
2632
2797
  reverseEmailLookup,
2798
+ reversePhoneLookup,
2799
+ rotateWebhookEndpointSecret,
2800
+ sendTestWebhookEvent,
2633
2801
  skillsTypeahead,
2634
2802
  skipNextSavedSearchRun,
2635
2803
  slushieRun,
@@ -2644,10 +2812,12 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2644
2812
  startBatchLiveEnrich,
2645
2813
  startDepthChart,
2646
2814
  startLocalBusinessSearch,
2815
+ startMosaic,
2647
2816
  stealthFoundersCount,
2648
2817
  stealthFoundersSearch,
2649
2818
  syncQuickContactReveal,
2650
2819
  syncTurboContactEnrichment,
2820
+ textToCombinedSearchParam,
2651
2821
  tiktokCommentReplies,
2652
2822
  tiktokPopularSongs,
2653
2823
  tiktokProfile,
@@ -2684,6 +2854,7 @@ var getCompanyRevenue = (options) => (options.client ?? client).post({
2684
2854
  updateSavedSearch,
2685
2855
  updateTrackerCompanyList,
2686
2856
  updateTrackerPersonList,
2857
+ updateWebhookEndpoint,
2687
2858
  validatePhoneNumber,
2688
2859
  webpageScreenshot,
2689
2860
  youtubeChannel,