@getanyapi/sdk 0.57.0 → 0.59.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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1830,10 +1830,6 @@ interface AmazonSearchInput {
|
|
|
1830
1830
|
* Range: minimum 1.
|
|
1831
1831
|
*/
|
|
1832
1832
|
preferLatencyUnderMs?: number;
|
|
1833
|
-
/**
|
|
1834
|
-
* 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 `offersCount`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
1835
|
-
*/
|
|
1836
|
-
requireFields?: ("currency" | "image" | "isSponsored" | "listPrice" | "offersCount" | "position" | "price" | "rating" | "reviewsCount" | "url")[];
|
|
1837
1833
|
/**
|
|
1838
1834
|
* 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`.
|
|
1839
1835
|
*/
|
|
@@ -19317,7 +19313,7 @@ declare class GoogleNamespace {
|
|
|
19317
19313
|
*
|
|
19318
19314
|
* Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
|
|
19319
19315
|
*
|
|
19320
|
-
* Price: $0.
|
|
19316
|
+
* Price: $0.0007 per request.
|
|
19321
19317
|
*
|
|
19322
19318
|
* @example
|
|
19323
19319
|
* const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -25954,6 +25950,10 @@ interface LinkedinCompanyEmployeesInput {
|
|
|
25954
25950
|
* Range: minimum 1.
|
|
25955
25951
|
*/
|
|
25956
25952
|
preferLatencyUnderMs?: number;
|
|
25953
|
+
/**
|
|
25954
|
+
* 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 `openToWork` or `premium`, 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 an employee who genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
25955
|
+
*/
|
|
25956
|
+
requireFields?: ("city" | "companyId" | "companyUrl" | "country" | "countryCode" | "createdUtc" | "creator" | "firstName" | "image" | "influencer" | "jobTitle" | "lastName" | "location" | "openToWork" | "premium")[];
|
|
25957
25957
|
/**
|
|
25958
25958
|
* 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`.
|
|
25959
25959
|
*/
|
|
@@ -30197,7 +30197,7 @@ declare class LinkedinNamespace {
|
|
|
30197
30197
|
*
|
|
30198
30198
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
30199
30199
|
*
|
|
30200
|
-
* Price: $0 per request plus $0.
|
|
30200
|
+
* Price: $0.0032 per request plus $0.0048 per result (maximum $0.0512).
|
|
30201
30201
|
*
|
|
30202
30202
|
* @example
|
|
30203
30203
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
package/dist/index.d.ts
CHANGED
|
@@ -1830,10 +1830,6 @@ interface AmazonSearchInput {
|
|
|
1830
1830
|
* Range: minimum 1.
|
|
1831
1831
|
*/
|
|
1832
1832
|
preferLatencyUnderMs?: number;
|
|
1833
|
-
/**
|
|
1834
|
-
* 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 `offersCount`, 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 product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
1835
|
-
*/
|
|
1836
|
-
requireFields?: ("currency" | "image" | "isSponsored" | "listPrice" | "offersCount" | "position" | "price" | "rating" | "reviewsCount" | "url")[];
|
|
1837
1833
|
/**
|
|
1838
1834
|
* 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`.
|
|
1839
1835
|
*/
|
|
@@ -19317,7 +19313,7 @@ declare class GoogleNamespace {
|
|
|
19317
19313
|
*
|
|
19318
19314
|
* Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
|
|
19319
19315
|
*
|
|
19320
|
-
* Price: $0.
|
|
19316
|
+
* Price: $0.0007 per request.
|
|
19321
19317
|
*
|
|
19322
19318
|
* @example
|
|
19323
19319
|
* const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -25954,6 +25950,10 @@ interface LinkedinCompanyEmployeesInput {
|
|
|
25954
25950
|
* Range: minimum 1.
|
|
25955
25951
|
*/
|
|
25956
25952
|
preferLatencyUnderMs?: number;
|
|
25953
|
+
/**
|
|
25954
|
+
* 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 `openToWork` or `premium`, 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 an employee who genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
25955
|
+
*/
|
|
25956
|
+
requireFields?: ("city" | "companyId" | "companyUrl" | "country" | "countryCode" | "createdUtc" | "creator" | "firstName" | "image" | "influencer" | "jobTitle" | "lastName" | "location" | "openToWork" | "premium")[];
|
|
25957
25957
|
/**
|
|
25958
25958
|
* 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`.
|
|
25959
25959
|
*/
|
|
@@ -30197,7 +30197,7 @@ declare class LinkedinNamespace {
|
|
|
30197
30197
|
*
|
|
30198
30198
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
30199
30199
|
*
|
|
30200
|
-
* Price: $0 per request plus $0.
|
|
30200
|
+
* Price: $0.0032 per request plus $0.0048 per result (maximum $0.0512).
|
|
30201
30201
|
*
|
|
30202
30202
|
* @example
|
|
30203
30203
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
package/dist/index.js
CHANGED
|
@@ -3028,7 +3028,7 @@ var GoogleNamespace = class {
|
|
|
3028
3028
|
*
|
|
3029
3029
|
* Ask Google AI Mode a prompt and receive the cited answer it generates. AI Mode composes the answer at search time, so repeat calls on one prompt can differ in wording and in which sources are cited.
|
|
3030
3030
|
*
|
|
3031
|
-
* Price: $0.
|
|
3031
|
+
* Price: $0.0007 per request.
|
|
3032
3032
|
*
|
|
3033
3033
|
* @example
|
|
3034
3034
|
* const res = await client.google.aiMode({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -4186,7 +4186,7 @@ var LinkedinNamespace = class {
|
|
|
4186
4186
|
*
|
|
4187
4187
|
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
4188
4188
|
*
|
|
4189
|
-
* Price: $0 per request plus $0.
|
|
4189
|
+
* Price: $0.0032 per request plus $0.0048 per result (maximum $0.0512).
|
|
4190
4190
|
*
|
|
4191
4191
|
* @example
|
|
4192
4192
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|