@getanyapi/sdk 0.171.3 → 0.172.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.d.cts CHANGED
@@ -19996,7 +19996,7 @@ declare class FacebookNamespace {
19996
19996
  *
19997
19997
  * Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
19998
19998
  *
19999
- * Price: $0.0004 per request.
19999
+ * Price: $0.00096 per request.
20000
20000
  *
20001
20001
  * @example
20002
20002
  * const res = await client.facebook.eventDetails({ id: "4045709448982422" });
@@ -30608,7 +30608,7 @@ interface InstagramUserPostsInput {
30608
30608
  /**
30609
30609
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `locationName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30610
30610
  */
30611
- requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30611
+ requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30612
30612
  /**
30613
30613
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
30614
30614
  */
@@ -30838,7 +30838,7 @@ interface InstagramUserReelsInput {
30838
30838
  /**
30839
30839
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30840
30840
  */
30841
- requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30841
+ requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30842
30842
  /**
30843
30843
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
30844
30844
  */
@@ -39517,7 +39517,7 @@ declare class LinkedinNamespace {
39517
39517
  *
39518
39518
  * Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
39519
39519
  *
39520
- * Price: $0.0008 per request.
39520
+ * Price: $0.001 per request.
39521
39521
  *
39522
39522
  * @example
39523
39523
  * const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
@@ -54367,7 +54367,7 @@ declare class RedditNamespace {
54367
54367
  *
54368
54368
  * Search Reddit posts across all subreddits by query.
54369
54369
  *
54370
- * Price: $0.00035 per request.
54370
+ * Price: $0.00034 per request.
54371
54371
  *
54372
54372
  * @example
54373
54373
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
package/dist/index.d.ts CHANGED
@@ -19996,7 +19996,7 @@ declare class FacebookNamespace {
19996
19996
  *
19997
19997
  * Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
19998
19998
  *
19999
- * Price: $0.0004 per request.
19999
+ * Price: $0.00096 per request.
20000
20000
  *
20001
20001
  * @example
20002
20002
  * const res = await client.facebook.eventDetails({ id: "4045709448982422" });
@@ -30608,7 +30608,7 @@ interface InstagramUserPostsInput {
30608
30608
  /**
30609
30609
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `locationName`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30610
30610
  */
30611
- requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30611
+ requireFields?: ("audioId" | "carouselCount" | "countsHidden" | "durationSeconds" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30612
30612
  /**
30613
30613
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
30614
30614
  */
@@ -30838,7 +30838,7 @@ interface InstagramUserReelsInput {
30838
30838
  /**
30839
30839
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `soundTitle`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a reel that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
30840
30840
  */
30841
- requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30841
+ requireFields?: ("countsHidden" | "isPinned" | "locationId" | "locationLat" | "locationLng" | "locationName" | "paidPartnership" | "productType" | "reshares" | "soundAuthor" | "soundTitle" | "taggedUsers")[];
30842
30842
  /**
30843
30843
  * Optional and experimental: its behavior may change. We recommend leaving it out and letting automatic routing choose: routing serves the cheapest source, uses cheaper sources as they are added, and fails over to another source when one fails, so your requests are not tied to the uptime of one source. To control cost, set a price ceiling instead: on requests paid from your AnyAPI wallet, the `max_cost_usd` REST query parameter or MCP `run_api` argument skips any source that would charge more, and refuses the request with no charge if none is left. Avoid pinning a single source, especially with `allowFallbacks` false: when that source has an outage your requests fail while others are served. If you send it, list source ids from this endpoint's `lanes[].source.id` in /catalog or /apis; they are tried first in the order given, then the others, unless `allowFallbacks` is false. You are charged for the source that serves, plus any source tried before it that charged for its attempt, and never more than the most this endpoint can cost with the sources that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.
30844
30844
  */
@@ -39517,7 +39517,7 @@ declare class LinkedinNamespace {
39517
39517
  *
39518
39518
  * Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
39519
39519
  *
39520
- * Price: $0.0008 per request.
39520
+ * Price: $0.001 per request.
39521
39521
  *
39522
39522
  * @example
39523
39523
  * const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
@@ -54367,7 +54367,7 @@ declare class RedditNamespace {
54367
54367
  *
54368
54368
  * Search Reddit posts across all subreddits by query.
54369
54369
  *
54370
- * Price: $0.00035 per request.
54370
+ * Price: $0.00034 per request.
54371
54371
  *
54372
54372
  * @example
54373
54373
  * const res = await client.reddit.search({ query: "mechanical keyboard" });
package/dist/index.js CHANGED
@@ -2660,7 +2660,7 @@ var FacebookNamespace = class {
2660
2660
  *
2661
2661
  * Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.
2662
2662
  *
2663
- * Price: $0.0004 per request.
2663
+ * Price: $0.00096 per request.
2664
2664
  *
2665
2665
  * @example
2666
2666
  * const res = await client.facebook.eventDetails({ id: "4045709448982422" });
@@ -5077,7 +5077,7 @@ var LinkedinNamespace = class {
5077
5077
  *
5078
5078
  * Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
5079
5079
  *
5080
- * Price: $0.0008 per request.
5080
+ * Price: $0.001 per request.
5081
5081
  *
5082
5082
  * @example
5083
5083
  * const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
@@ -6430,7 +6430,7 @@ var RedditNamespace = class {
6430
6430
  *
6431
6431
  * Search Reddit posts across all subreddits by query.
6432
6432
  *
6433
- * Price: $0.00035 per request.
6433
+ * Price: $0.00034 per request.
6434
6434
  *
6435
6435
  * @example
6436
6436
  * const res = await client.reddit.search({ query: "mechanical keyboard" });