@getanyapi/sdk 0.163.4 → 0.164.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.map +1 -1
- package/dist/index.d.cts +2 -6
- package/dist/index.d.ts +2 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3334,7 +3334,7 @@ interface AppstoreAppData {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
ratingCount?: number | null;
|
|
3336
3336
|
/**
|
|
3337
|
-
* Number of ratings at each star level.
|
|
3337
|
+
* Number of ratings at each star level. A star level is null when the serving source leaves it out, even if the app has ratings at it.
|
|
3338
3338
|
*/
|
|
3339
3339
|
ratingHistogram?: {
|
|
3340
3340
|
/**
|
|
@@ -23589,10 +23589,6 @@ interface GoogleScholarInput {
|
|
|
23589
23589
|
* The Google Scholar search query.
|
|
23590
23590
|
*/
|
|
23591
23591
|
query: string;
|
|
23592
|
-
/**
|
|
23593
|
-
* 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 `year`, 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 record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
23594
|
-
*/
|
|
23595
|
-
requireFields?: "year"[];
|
|
23596
23592
|
/**
|
|
23597
23593
|
* 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`.
|
|
23598
23594
|
*/
|
|
@@ -40418,7 +40414,7 @@ interface MapsSearchInput {
|
|
|
40418
40414
|
/**
|
|
40419
40415
|
* 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 `cid` or `street`, 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 place that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40420
40416
|
*/
|
|
40421
|
-
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "
|
|
40417
|
+
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "postalCode" | "priceLevel" | "state" | "street")[];
|
|
40422
40418
|
/**
|
|
40423
40419
|
* 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`.
|
|
40424
40420
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3334,7 +3334,7 @@ interface AppstoreAppData {
|
|
|
3334
3334
|
*/
|
|
3335
3335
|
ratingCount?: number | null;
|
|
3336
3336
|
/**
|
|
3337
|
-
* Number of ratings at each star level.
|
|
3337
|
+
* Number of ratings at each star level. A star level is null when the serving source leaves it out, even if the app has ratings at it.
|
|
3338
3338
|
*/
|
|
3339
3339
|
ratingHistogram?: {
|
|
3340
3340
|
/**
|
|
@@ -23589,10 +23589,6 @@ interface GoogleScholarInput {
|
|
|
23589
23589
|
* The Google Scholar search query.
|
|
23590
23590
|
*/
|
|
23591
23591
|
query: string;
|
|
23592
|
-
/**
|
|
23593
|
-
* 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 `year`, 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 record that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
23594
|
-
*/
|
|
23595
|
-
requireFields?: "year"[];
|
|
23596
23592
|
/**
|
|
23597
23593
|
* 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`.
|
|
23598
23594
|
*/
|
|
@@ -40418,7 +40414,7 @@ interface MapsSearchInput {
|
|
|
40418
40414
|
/**
|
|
40419
40415
|
* 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 `cid` or `street`, 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 place that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
40420
40416
|
*/
|
|
40421
|
-
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "
|
|
40417
|
+
requireFields?: ("cid" | "city" | "countryCode" | "hours" | "permanentlyClosed" | "postalCode" | "priceLevel" | "state" | "street")[];
|
|
40422
40418
|
/**
|
|
40423
40419
|
* 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`.
|
|
40424
40420
|
*/
|