@fiberai/sdk 0.0.31 → 0.0.32

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
  */
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
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiberai/sdk",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "description": "Official TypeScript SDK for Fiber AI API",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",