@getanyapi/sdk 0.156.3 → 0.157.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.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -75821,6 +75821,11 @@ interface YoutubeChannelContactInput {
|
|
|
75821
75821
|
* YouTube channel ID (UC...).
|
|
75822
75822
|
*/
|
|
75823
75823
|
channelId?: string;
|
|
75824
|
+
/**
|
|
75825
|
+
* Optional, and it costs more. Set true to have the address read from YouTube now instead of one a source already holds, for a channel that may have changed its email. With it on, the price is $0.44 per email found instead of this API's normal $0.11 or $0.132; a channel with no email is still free. Only one source offers it, so leave `source` out or name that source (the lane whose offer lists the `fresh` add-on); naming another source is refused with no charge. A lookup that is not ready inside the call is charged $0.44 when it starts and refunded if no email is found within 48 hours. Leave it out and nothing changes.
|
|
75826
|
+
* Default: false.
|
|
75827
|
+
*/
|
|
75828
|
+
fresh?: boolean;
|
|
75824
75829
|
/**
|
|
75825
75830
|
* YouTube channel handle, with or without the leading @.
|
|
75826
75831
|
*/
|
|
@@ -75835,7 +75840,7 @@ interface YoutubeChannelContactInput {
|
|
|
75835
75840
|
*/
|
|
75836
75841
|
preferLatencyUnderMs?: number;
|
|
75837
75842
|
/**
|
|
75838
|
-
* Optional. One source serves each request to this API, and a request never moves to another source: there is no automatic failover. Leave it out and the lowest-priced source is used. To choose a source, list its id from this endpoint's `lanes[].source.id` in /catalog or /apis; if you list several, the lowest-priced of them is used. You are charged that source's price. If the chosen source is not serving right now, or costs more than your `max_cost_usd` (the REST query parameter or MCP `run_api` argument), the request is refused with no charge and is never sent to another source. An id that does not serve this endpoint is rejected as invalid input with no charge.
|
|
75843
|
+
* Optional. One source serves each request to this API, and a request never moves to another source: there is no automatic failover. Leave it out and the lowest-priced source is used, or with `fresh` on the one source that offers it. To choose a source, list its id from this endpoint's `lanes[].source.id` in /catalog or /apis; if you list several, the lowest-priced of them is used. You are charged that source's price. If the chosen source is not serving right now, or costs more than your `max_cost_usd` (the REST query parameter or MCP `run_api` argument), the request is refused with no charge and is never sent to another source. An id that does not serve this endpoint is rejected as invalid input with no charge.
|
|
75839
75844
|
*/
|
|
75840
75845
|
source?: string[];
|
|
75841
75846
|
}
|
|
@@ -77365,7 +77370,7 @@ declare class YoutubeNamespace {
|
|
|
77365
77370
|
/**
|
|
77366
77371
|
* YouTube Channel Contact Email
|
|
77367
77372
|
*
|
|
77368
|
-
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found.
|
|
77373
|
+
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found. Set `fresh` to true to have the address read from YouTube now instead of one a source already holds: that costs more, $0.44 per email found instead of the normal $0.11 or $0.132, and it runs only on the source that offers it.
|
|
77369
77374
|
*
|
|
77370
77375
|
* Price: $0.11 per request.
|
|
77371
77376
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -75821,6 +75821,11 @@ interface YoutubeChannelContactInput {
|
|
|
75821
75821
|
* YouTube channel ID (UC...).
|
|
75822
75822
|
*/
|
|
75823
75823
|
channelId?: string;
|
|
75824
|
+
/**
|
|
75825
|
+
* Optional, and it costs more. Set true to have the address read from YouTube now instead of one a source already holds, for a channel that may have changed its email. With it on, the price is $0.44 per email found instead of this API's normal $0.11 or $0.132; a channel with no email is still free. Only one source offers it, so leave `source` out or name that source (the lane whose offer lists the `fresh` add-on); naming another source is refused with no charge. A lookup that is not ready inside the call is charged $0.44 when it starts and refunded if no email is found within 48 hours. Leave it out and nothing changes.
|
|
75826
|
+
* Default: false.
|
|
75827
|
+
*/
|
|
75828
|
+
fresh?: boolean;
|
|
75824
75829
|
/**
|
|
75825
75830
|
* YouTube channel handle, with or without the leading @.
|
|
75826
75831
|
*/
|
|
@@ -75835,7 +75840,7 @@ interface YoutubeChannelContactInput {
|
|
|
75835
75840
|
*/
|
|
75836
75841
|
preferLatencyUnderMs?: number;
|
|
75837
75842
|
/**
|
|
75838
|
-
* Optional. One source serves each request to this API, and a request never moves to another source: there is no automatic failover. Leave it out and the lowest-priced source is used. To choose a source, list its id from this endpoint's `lanes[].source.id` in /catalog or /apis; if you list several, the lowest-priced of them is used. You are charged that source's price. If the chosen source is not serving right now, or costs more than your `max_cost_usd` (the REST query parameter or MCP `run_api` argument), the request is refused with no charge and is never sent to another source. An id that does not serve this endpoint is rejected as invalid input with no charge.
|
|
75843
|
+
* Optional. One source serves each request to this API, and a request never moves to another source: there is no automatic failover. Leave it out and the lowest-priced source is used, or with `fresh` on the one source that offers it. To choose a source, list its id from this endpoint's `lanes[].source.id` in /catalog or /apis; if you list several, the lowest-priced of them is used. You are charged that source's price. If the chosen source is not serving right now, or costs more than your `max_cost_usd` (the REST query parameter or MCP `run_api` argument), the request is refused with no charge and is never sent to another source. An id that does not serve this endpoint is rejected as invalid input with no charge.
|
|
75839
75844
|
*/
|
|
75840
75845
|
source?: string[];
|
|
75841
75846
|
}
|
|
@@ -77365,7 +77370,7 @@ declare class YoutubeNamespace {
|
|
|
77365
77370
|
/**
|
|
77366
77371
|
* YouTube Channel Contact Email
|
|
77367
77372
|
*
|
|
77368
|
-
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found.
|
|
77373
|
+
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found. Set `fresh` to true to have the address read from YouTube now instead of one a source already holds: that costs more, $0.44 per email found instead of the normal $0.11 or $0.132, and it runs only on the source that offers it.
|
|
77369
77374
|
*
|
|
77370
77375
|
* Price: $0.11 per request.
|
|
77371
77376
|
*
|
package/dist/index.js
CHANGED
|
@@ -9455,7 +9455,7 @@ var YoutubeNamespace = class {
|
|
|
9455
9455
|
/**
|
|
9456
9456
|
* YouTube Channel Contact Email
|
|
9457
9457
|
*
|
|
9458
|
-
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found.
|
|
9458
|
+
* Reveal the business inquiry email a YouTube creator publishes behind the channel's View email address button. YouTube gates that address behind a signed-in Google session and a CAPTCHA, so it is absent from the channel page a logged-out scraper reads. Each lookup runs on one source only and never moves to another: the cheapest source unless the call names one. An email found inside the call is charged that source's price, and a channel with no email is free. A lookup the source cannot answer yet takes minutes to hours: it is charged when the lookup starts, refunded automatically if no email is found within 48 hours, and the call returns a request id at once with a link that collects the answer later with no API key. A finished answer stays readable for 3 days after it is found. Set `fresh` to true to have the address read from YouTube now instead of one a source already holds: that costs more, $0.44 per email found instead of the normal $0.11 or $0.132, and it runs only on the source that offers it.
|
|
9459
9459
|
*
|
|
9460
9460
|
* Price: $0.11 per request.
|
|
9461
9461
|
*
|