@getanyapi/sdk 0.138.1 → 0.139.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.d.cts CHANGED
@@ -16305,7 +16305,7 @@ declare class EmailNamespace {
16305
16305
  *
16306
16306
  * Find a person's work email address from their name and company domain.
16307
16307
  *
16308
- * Price: $0.0308 per request.
16308
+ * Price: $0.0154 per request.
16309
16309
  *
16310
16310
  * @example
16311
16311
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -21498,6 +21498,10 @@ interface FacebookSearchPostsInput {
21498
21498
  * Keyword or phrase to search Facebook posts for (e.g. 'product launch').
21499
21499
  */
21500
21500
  query: string;
21501
+ /**
21502
+ * 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 `imagesCount` or `albumPreview`, 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.
21503
+ */
21504
+ requireFields?: ("albumPreview" | "imagesCount" | "type")[];
21501
21505
  /**
21502
21506
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source 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`.
21503
21507
  */
package/dist/index.d.ts CHANGED
@@ -16305,7 +16305,7 @@ declare class EmailNamespace {
16305
16305
  *
16306
16306
  * Find a person's work email address from their name and company domain.
16307
16307
  *
16308
- * Price: $0.0308 per request.
16308
+ * Price: $0.0154 per request.
16309
16309
  *
16310
16310
  * @example
16311
16311
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -21498,6 +21498,10 @@ interface FacebookSearchPostsInput {
21498
21498
  * Keyword or phrase to search Facebook posts for (e.g. 'product launch').
21499
21499
  */
21500
21500
  query: string;
21501
+ /**
21502
+ * 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 `imagesCount` or `albumPreview`, 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.
21503
+ */
21504
+ requireFields?: ("albumPreview" | "imagesCount" | "type")[];
21501
21505
  /**
21502
21506
  * Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source 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`.
21503
21507
  */
package/dist/index.js CHANGED
@@ -2270,7 +2270,7 @@ var EmailNamespace = class {
2270
2270
  *
2271
2271
  * Find a person's work email address from their name and company domain.
2272
2272
  *
2273
- * Price: $0.0308 per request.
2273
+ * Price: $0.0154 per request.
2274
2274
  *
2275
2275
  * @example
2276
2276
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });