@getanyapi/sdk 0.17.1 → 0.18.1
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.cjs +23 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +101 -5
- package/dist/index.d.ts +101 -5
- package/dist/index.js +23 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1158,7 +1158,7 @@ var AlibabaNamespace = class {
|
|
|
1158
1158
|
*
|
|
1159
1159
|
* Search Alibaba by keyword and get up to 25 wholesale listings (title, price range, minimum order, and supplier) in one normalized response.
|
|
1160
1160
|
*
|
|
1161
|
-
* Price: $0 per request plus $0.
|
|
1161
|
+
* Price: $0 per request plus $0.00084 per result (maximum $0.021).
|
|
1162
1162
|
*
|
|
1163
1163
|
* @example
|
|
1164
1164
|
* const res = await client.alibaba.search({ query: "bluetooth speaker", limit: 3 });
|
|
@@ -1736,6 +1736,9 @@ var EmailFindingNamespace = class {
|
|
|
1736
1736
|
* Find a professional email from a person and company through the durable Request lifecycle.
|
|
1737
1737
|
*
|
|
1738
1738
|
* Price: $0.0168 per request.
|
|
1739
|
+
*
|
|
1740
|
+
* @example
|
|
1741
|
+
* const res = await client.emailFinding.icypeas({ domainOrCompany: "apollo.io", firstname: "Tim", lastname: "Zheng" });
|
|
1739
1742
|
*/
|
|
1740
1743
|
icypeas(input, options) {
|
|
1741
1744
|
return this._core.run("email_finding.icypeas", input, options);
|
|
@@ -1767,6 +1770,9 @@ var EmailVerificationNamespace = class {
|
|
|
1767
1770
|
* Verify an email address, including catch-all handling. Completion uses the durable Request lifecycle; a negative verdict is a successful result.
|
|
1768
1771
|
*
|
|
1769
1772
|
* Price: $0.0072 per request.
|
|
1773
|
+
*
|
|
1774
|
+
* @example
|
|
1775
|
+
* const res = await client.emailVerification.bounceban({ email: "tim@apollo.io", mode: "regular" });
|
|
1770
1776
|
*/
|
|
1771
1777
|
bounceban(input, options) {
|
|
1772
1778
|
return this._core.run("email_verification.bounceban", input, options);
|
|
@@ -5550,12 +5556,12 @@ var TwitterNamespace = class {
|
|
|
5550
5556
|
/**
|
|
5551
5557
|
* X / Twitter Post Replies
|
|
5552
5558
|
*
|
|
5553
|
-
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement.
|
|
5559
|
+
* Fetch the replies to any X (Twitter) post URL as structured records: author, text, and engagement. An empty result is valid and does not assert whether the target post exists.
|
|
5554
5560
|
*
|
|
5555
|
-
* Price: $0.
|
|
5561
|
+
* Price: $0.00075 per request.
|
|
5556
5562
|
*
|
|
5557
5563
|
* @example
|
|
5558
|
-
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20"
|
|
5564
|
+
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20" });
|
|
5559
5565
|
*/
|
|
5560
5566
|
replies(input, options) {
|
|
5561
5567
|
return this._core.run("twitter.replies", input, options);
|
|
@@ -5589,6 +5595,19 @@ var TwitterNamespace = class {
|
|
|
5589
5595
|
options
|
|
5590
5596
|
);
|
|
5591
5597
|
}
|
|
5598
|
+
/**
|
|
5599
|
+
* X / Twitter Tweet Thread
|
|
5600
|
+
*
|
|
5601
|
+
* Resolve the linear self-thread containing an X (Twitter) post, from its root through the author's linked continuations. This excludes replies from other users.
|
|
5602
|
+
*
|
|
5603
|
+
* Price: $0.005 per request.
|
|
5604
|
+
*
|
|
5605
|
+
* @example
|
|
5606
|
+
* const res = await client.twitter.thread({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
5607
|
+
*/
|
|
5608
|
+
thread(input, options) {
|
|
5609
|
+
return this._core.run("twitter.thread", input, options);
|
|
5610
|
+
}
|
|
5592
5611
|
/**
|
|
5593
5612
|
* X / Twitter Trends
|
|
5594
5613
|
*
|