@fiberai/sdk 0.0.31 → 0.0.33

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.d.cts CHANGED
@@ -45173,7 +45173,7 @@ type CompanyLiveEnrichData = {
45173
45173
  */
45174
45174
  value: string;
45175
45175
  /**
45176
- * Whether to compute the company's historical employee count and recent growth trends. No additional cost, but may take longer.
45176
+ * Whether to compute the company's overall employee count over time and recent growth trends. This returns total headcount through time, not a per-department breakdown — for per-department headcount, use the Depth Chart endpoints. No additional cost, but may take longer.
45177
45177
  */
45178
45178
  getHistoricalHeadcount?: boolean;
45179
45179
  };
@@ -118938,7 +118938,7 @@ declare const pollExhaustiveContactEnrichmentResult: <ThrowOnError extends boole
118938
118938
  /**
118939
118939
  * Poll depth chart generation result
118940
118940
  *
118941
- * Polls the status of a depth chart generation — a close analog to a company's internal org chart. Pass the report ID returned by /depth-chart/start. Returns the current status and, once complete, the depth chart aggregate with employee distribution across functions and seniority levels. Includes summary stats for each bucket, but does not list the people in each bucket.
118941
+ * Retrieves the employee breakdown started by the `depth-chart/start` endpoint. Pass the report ID you received when you started the report. Returns the current status and, once complete, numerical counts of employees grouped by department, seniority, or both, plus a printable markdown summary in tabular format — useful for CLI output or for LLMs building reports. Returns summary stats per bucket, not the individual people in each bucket.
118942
118942
  *
118943
118943
  * <span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>
118944
118944
  */
@@ -119566,7 +119566,7 @@ declare const liteContactReveal: <ThrowOnError extends boolean = false>(options:
119566
119566
  /**
119567
119567
  * Start depth chart generation
119568
119568
  *
119569
- * Generates an organizational depth chart for a company — a close analog to the company's internal org chart. Classifies employees by function (Engineering, Sales, Marketing, etc.) and seniority level (Junior through Executive). This is asynchronous: call this endpoint to start generation, then poll /depth-chart/poll with the returned report ID. Processing typically takes 1-5 minutes depending on company size. Depth chart generation processes up to 10,000 employee profiles per report; larger companies are truncated to the most relevant profiles.
119569
+ * Generates a breakdown of the number of employees at a given company by department/function (Engineering, Sales, Marketing, etc.), seniority (Junior through Executive), or both. This helps answer questions like, 'how many senior engineers does this company have?'. Asynchronous; use the polling endpoint to get your results. Processes up to 10,000 employees per report. This is a more thorough alternative to guessing a company's internal org chart.
119570
119570
  *
119571
119571
  * <span>⚡ <strong>Rate limit:</strong> 30 requests per 1 minute</span>
119572
119572
  */
@@ -119843,7 +119843,7 @@ declare const googleMapsSearch: <ThrowOnError extends boolean = false>(options:
119843
119843
  *
119844
119844
  * <span>💰 <strong>Cost:</strong> Pay per person: 2 credits per lookup, plus 2 additional credits when the liveFetch flag is set.&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary. LinkedIn live fetch credits only apply when the liveFetch flag is set.">ⓘ</span></span>
119845
119845
  *
119846
- * <span>⏱ <strong>Recommended timeout:</strong> 30 seconds&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 30 seconds for this endpoint.">ⓘ</span></span>
119846
+ * <span>⏱ <strong>Recommended timeout:</strong> 1 minute&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 1 minute for this endpoint.">ⓘ</span></span>
119847
119847
  */
119848
119848
  declare const kitchenSinkProfile: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkProfileData, ThrowOnError>) => RequestResult<KitchenSinkProfileResponses, KitchenSinkProfileErrors, ThrowOnError, "fields">;
119849
119849
  /**
@@ -119854,6 +119854,8 @@ declare const kitchenSinkProfile: <ThrowOnError extends boolean = false>(options
119854
119854
  * <span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>
119855
119855
  *
119856
119856
  * <span>💰 <strong>Cost:</strong> 2 credits per company lookup&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>
119857
+ *
119858
+ * <span>⏱ <strong>Recommended timeout:</strong> 30 seconds&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 30 seconds for this endpoint.">ⓘ</span></span>
119857
119859
  */
119858
119860
  declare const kitchenSinkCompany: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkCompanyData, ThrowOnError>) => RequestResult<KitchenSinkCompanyResponses, KitchenSinkCompanyErrors, ThrowOnError, "fields">;
119859
119861
  /**
@@ -119864,6 +119866,8 @@ declare const kitchenSinkCompany: <ThrowOnError extends boolean = false>(options
119864
119866
  * <span>⚡ <strong>Rate limit:</strong> 60 requests per 1 minute</span>
119865
119867
  *
119866
119868
  * <span>💰 <strong>Cost:</strong> Pay per person: 2 credits per lookup, plus 2 additional credits when the liveFetch flag is set.&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary. LinkedIn live fetch credits only apply when the liveFetch flag is set.">ⓘ</span></span>
119869
+ *
119870
+ * <span>⏱ <strong>Recommended timeout:</strong> 3 minutes&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 3 minutes for this endpoint.">ⓘ</span></span>
119867
119871
  */
119868
119872
  declare const kitchenSinkBulkProfile: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkBulkProfileData, ThrowOnError>) => RequestResult<KitchenSinkBulkProfileResponses, KitchenSinkBulkProfileErrors, ThrowOnError, "fields">;
119869
119873
  /**
@@ -119874,6 +119878,8 @@ declare const kitchenSinkBulkProfile: <ThrowOnError extends boolean = false>(opt
119874
119878
  * <span>⚡ <strong>Rate limit:</strong> 60 requests per 1 minute</span>
119875
119879
  *
119876
119880
  * <span>💰 <strong>Cost:</strong> 2 credits per company lookup&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>
119881
+ *
119882
+ * <span>⏱ <strong>Recommended timeout:</strong> 3 minutes&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 3 minutes for this endpoint.">ⓘ</span></span>
119877
119883
  */
119878
119884
  declare const kitchenSinkBulkCompany: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkBulkCompanyData, ThrowOnError>) => RequestResult<KitchenSinkBulkCompanyResponses, KitchenSinkBulkCompanyErrors, ThrowOnError, "fields">;
119879
119885
  /**
package/dist/index.d.ts CHANGED
@@ -45173,7 +45173,7 @@ type CompanyLiveEnrichData = {
45173
45173
  */
45174
45174
  value: string;
45175
45175
  /**
45176
- * Whether to compute the company's historical employee count and recent growth trends. No additional cost, but may take longer.
45176
+ * Whether to compute the company's overall employee count over time and recent growth trends. This returns total headcount through time, not a per-department breakdown — for per-department headcount, use the Depth Chart endpoints. No additional cost, but may take longer.
45177
45177
  */
45178
45178
  getHistoricalHeadcount?: boolean;
45179
45179
  };
@@ -118938,7 +118938,7 @@ declare const pollExhaustiveContactEnrichmentResult: <ThrowOnError extends boole
118938
118938
  /**
118939
118939
  * Poll depth chart generation result
118940
118940
  *
118941
- * Polls the status of a depth chart generation — a close analog to a company's internal org chart. Pass the report ID returned by /depth-chart/start. Returns the current status and, once complete, the depth chart aggregate with employee distribution across functions and seniority levels. Includes summary stats for each bucket, but does not list the people in each bucket.
118941
+ * Retrieves the employee breakdown started by the `depth-chart/start` endpoint. Pass the report ID you received when you started the report. Returns the current status and, once complete, numerical counts of employees grouped by department, seniority, or both, plus a printable markdown summary in tabular format — useful for CLI output or for LLMs building reports. Returns summary stats per bucket, not the individual people in each bucket.
118942
118942
  *
118943
118943
  * <span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>
118944
118944
  */
@@ -119566,7 +119566,7 @@ declare const liteContactReveal: <ThrowOnError extends boolean = false>(options:
119566
119566
  /**
119567
119567
  * Start depth chart generation
119568
119568
  *
119569
- * Generates an organizational depth chart for a company — a close analog to the company's internal org chart. Classifies employees by function (Engineering, Sales, Marketing, etc.) and seniority level (Junior through Executive). This is asynchronous: call this endpoint to start generation, then poll /depth-chart/poll with the returned report ID. Processing typically takes 1-5 minutes depending on company size. Depth chart generation processes up to 10,000 employee profiles per report; larger companies are truncated to the most relevant profiles.
119569
+ * Generates a breakdown of the number of employees at a given company by department/function (Engineering, Sales, Marketing, etc.), seniority (Junior through Executive), or both. This helps answer questions like, 'how many senior engineers does this company have?'. Asynchronous; use the polling endpoint to get your results. Processes up to 10,000 employees per report. This is a more thorough alternative to guessing a company's internal org chart.
119570
119570
  *
119571
119571
  * <span>⚡ <strong>Rate limit:</strong> 30 requests per 1 minute</span>
119572
119572
  */
@@ -119843,7 +119843,7 @@ declare const googleMapsSearch: <ThrowOnError extends boolean = false>(options:
119843
119843
  *
119844
119844
  * <span>💰 <strong>Cost:</strong> Pay per person: 2 credits per lookup, plus 2 additional credits when the liveFetch flag is set.&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary. LinkedIn live fetch credits only apply when the liveFetch flag is set.">ⓘ</span></span>
119845
119845
  *
119846
- * <span>⏱ <strong>Recommended timeout:</strong> 30 seconds&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 30 seconds for this endpoint.">ⓘ</span></span>
119846
+ * <span>⏱ <strong>Recommended timeout:</strong> 1 minute&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 1 minute for this endpoint.">ⓘ</span></span>
119847
119847
  */
119848
119848
  declare const kitchenSinkProfile: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkProfileData, ThrowOnError>) => RequestResult<KitchenSinkProfileResponses, KitchenSinkProfileErrors, ThrowOnError, "fields">;
119849
119849
  /**
@@ -119854,6 +119854,8 @@ declare const kitchenSinkProfile: <ThrowOnError extends boolean = false>(options
119854
119854
  * <span>⚡ <strong>Rate limit:</strong> 120 requests per 1 minute</span>
119855
119855
  *
119856
119856
  * <span>💰 <strong>Cost:</strong> 2 credits per company lookup&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>
119857
+ *
119858
+ * <span>⏱ <strong>Recommended timeout:</strong> 30 seconds&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 30 seconds for this endpoint.">ⓘ</span></span>
119857
119859
  */
119858
119860
  declare const kitchenSinkCompany: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkCompanyData, ThrowOnError>) => RequestResult<KitchenSinkCompanyResponses, KitchenSinkCompanyErrors, ThrowOnError, "fields">;
119859
119861
  /**
@@ -119864,6 +119866,8 @@ declare const kitchenSinkCompany: <ThrowOnError extends boolean = false>(options
119864
119866
  * <span>⚡ <strong>Rate limit:</strong> 60 requests per 1 minute</span>
119865
119867
  *
119866
119868
  * <span>💰 <strong>Cost:</strong> Pay per person: 2 credits per lookup, plus 2 additional credits when the liveFetch flag is set.&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary. LinkedIn live fetch credits only apply when the liveFetch flag is set.">ⓘ</span></span>
119869
+ *
119870
+ * <span>⏱ <strong>Recommended timeout:</strong> 3 minutes&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 3 minutes for this endpoint.">ⓘ</span></span>
119867
119871
  */
119868
119872
  declare const kitchenSinkBulkProfile: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkBulkProfileData, ThrowOnError>) => RequestResult<KitchenSinkBulkProfileResponses, KitchenSinkBulkProfileErrors, ThrowOnError, "fields">;
119869
119873
  /**
@@ -119874,6 +119878,8 @@ declare const kitchenSinkBulkProfile: <ThrowOnError extends boolean = false>(opt
119874
119878
  * <span>⚡ <strong>Rate limit:</strong> 60 requests per 1 minute</span>
119875
119879
  *
119876
119880
  * <span>💰 <strong>Cost:</strong> 2 credits per company lookup&nbsp;<span title="Pricing shown is default pricing. Actual pricing may vary.">ⓘ</span></span>
119881
+ *
119882
+ * <span>⏱ <strong>Recommended timeout:</strong> 3 minutes&nbsp;<span title="Recommended timeout: set your HTTP client timeout to at least 3 minutes for this endpoint.">ⓘ</span></span>
119877
119883
  */
119878
119884
  declare const kitchenSinkBulkCompany: <ThrowOnError extends boolean = false>(options: Options<KitchenSinkBulkCompanyData, ThrowOnError>) => RequestResult<KitchenSinkBulkCompanyResponses, KitchenSinkBulkCompanyErrors, ThrowOnError, "fields">;
119879
119885
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiberai/sdk",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "Official TypeScript SDK for Fiber AI API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",