@getanyapi/sdk 0.54.1 → 0.55.0

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.js CHANGED
@@ -1498,7 +1498,7 @@ var CompanyNamespace = class {
1498
1498
  *
1499
1499
  * Research a company from one domain, name, or email and return a cross-checked dossier: what it does, how it talks, who it competes with, its firmographics, its hiring and news signal, and its social presence.
1500
1500
  *
1501
- * Price: $0.44338 per request.
1501
+ * Price: $0.56338 per request.
1502
1502
  *
1503
1503
  * @example
1504
1504
  * const res = await client.company.research({ domain: "stripe.com", maxAgeDays: 7 });
@@ -1515,7 +1515,20 @@ var CompanyEnrichmentNamespace = class {
1515
1515
  }
1516
1516
  _core;
1517
1517
  /**
1518
- * Company Enrichment - Crustdata v3
1518
+ * Company Enrichment - Crustdata
1519
+ *
1520
+ * Enrich a company by domain, name, LinkedIn URL, or Crustdata identifier.
1521
+ *
1522
+ * Price: $0.096 per request.
1523
+ *
1524
+ * @example
1525
+ * const res = await client.companyEnrichment.crustdata({ companyDomain: "posthog.com" });
1526
+ */
1527
+ crustdata(input, options) {
1528
+ return this._core.run("company_enrichment.crustdata", input, options);
1529
+ }
1530
+ /**
1531
+ * Company Enrichment - Crustdata v3 (legacy)
1519
1532
  *
1520
1533
  * Enrich a company by domain, name, LinkedIn URL, or Crustdata identifier.
1521
1534
  *
@@ -1609,7 +1622,36 @@ var CompanySearchNamespace = class {
1609
1622
  return this._core.run("company_search.ai_ark", input, options);
1610
1623
  }
1611
1624
  /**
1612
- * Company Search - Crustdata v3
1625
+ * Company Search - Crustdata
1626
+ *
1627
+ * Search companies by structured filters with cursor pagination.
1628
+ *
1629
+ * Price: $0.0012 per request plus $0.00144 per result (maximum $0.3612).
1630
+ *
1631
+ * @example
1632
+ * const res = await client.companySearch.crustdata({ filters: { field: "basic_info.primary_domain", type: "=", value: "posthog.com" }, limit: 1 });
1633
+ */
1634
+ crustdata(input, options) {
1635
+ return this._core.run("company_search.crustdata", input, options);
1636
+ }
1637
+ /**
1638
+ * Iterate every result of Company Search - Crustdata across pages.
1639
+ *
1640
+ * Yields items directly; call `.pages()` on the return value to walk whole
1641
+ * result pages instead (each carries its own costUsd).
1642
+ */
1643
+ iterCrustdata(input, options) {
1644
+ return paginate(
1645
+ this._core,
1646
+ "company_search.crustdata",
1647
+ input,
1648
+ "companies",
1649
+ false,
1650
+ options
1651
+ );
1652
+ }
1653
+ /**
1654
+ * Company Search - Crustdata v3 (legacy)
1613
1655
  *
1614
1656
  * Search companies by structured filters with cursor pagination.
1615
1657
  *
@@ -1622,7 +1664,7 @@ var CompanySearchNamespace = class {
1622
1664
  return this._core.run("company_search.crustdata_v3", input, options);
1623
1665
  }
1624
1666
  /**
1625
- * Iterate every result of Company Search - Crustdata v3 across pages.
1667
+ * Iterate every result of Company Search - Crustdata v3 (legacy) across pages.
1626
1668
  *
1627
1669
  * Yields items directly; call `.pages()` on the return value to walk whole
1628
1670
  * result pages instead (each carries its own costUsd).
@@ -4686,7 +4728,20 @@ var PeopleSearchNamespace = class {
4686
4728
  return this._core.run("people_search.ai_ark", input, options);
4687
4729
  }
4688
4730
  /**
4689
- * People Search - Crustdata v3
4731
+ * People Search - Crustdata
4732
+ *
4733
+ * Find up to 100 professional profiles by company domain and title keywords.
4734
+ *
4735
+ * Price: $0.0012 per request plus $0.00144 per result (maximum $0.1452).
4736
+ *
4737
+ * @example
4738
+ * const res = await client.peopleSearch.crustdata({ companyDomain: "posthog.com", titleKeywords: "engineer", limit: 1 });
4739
+ */
4740
+ crustdata(input, options) {
4741
+ return this._core.run("people_search.crustdata", input, options);
4742
+ }
4743
+ /**
4744
+ * People Search - Crustdata v3 (legacy)
4690
4745
  *
4691
4746
  * Find up to 100 professional profiles by company domain and title keywords.
4692
4747
  *