@getanyapi/sdk 0.74.4 → 0.76.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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -4
- package/dist/index.d.ts +8 -4
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -13880,7 +13880,7 @@ declare class EmailFindingNamespace {
|
|
|
13880
13880
|
*
|
|
13881
13881
|
* Find named contacts and their work email addresses at a company domain, filtered by job title, seniority or department. Priced per returned contact, so limit is the cost control.
|
|
13882
13882
|
*
|
|
13883
|
-
* Price: $0 per request
|
|
13883
|
+
* Price: $0.025 per request.
|
|
13884
13884
|
*
|
|
13885
13885
|
* @example
|
|
13886
13886
|
* const res = await client.emailFinding.hunterDomain({ domain: "stripe.com", limit: 2, type: "personal" });
|
|
@@ -25433,7 +25433,7 @@ declare class InstagramNamespace {
|
|
|
25433
25433
|
*
|
|
25434
25434
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
25435
25435
|
*
|
|
25436
|
-
* Price: $0.
|
|
25436
|
+
* Price: $0.0005 per request.
|
|
25437
25437
|
*
|
|
25438
25438
|
* @example
|
|
25439
25439
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -27031,7 +27031,7 @@ interface LinkedinCompanyInput {
|
|
|
27031
27031
|
/**
|
|
27032
27032
|
* 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 `city` or `postalCode`, 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 profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
27033
27033
|
*/
|
|
27034
|
-
requireFields?: ("city" | "companyType" | "fundingData" | "line1" | "pageVerified" | "postalCode" | "similarOrganizations")[];
|
|
27034
|
+
requireFields?: ("city" | "companyType" | "foundedOn" | "fundingData" | "line1" | "pageVerified" | "postalCode" | "similarOrganizations")[];
|
|
27035
27035
|
/**
|
|
27036
27036
|
* 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`.
|
|
27037
27037
|
*/
|
|
@@ -31470,7 +31470,7 @@ declare class LinkedinNamespace {
|
|
|
31470
31470
|
*
|
|
31471
31471
|
* Fetch a full LinkedIn company page by URL: name, description, industry, employee count and range, follower count, founded year, headquarters and office locations, funding data, tagline, logo, website, and specialities.
|
|
31472
31472
|
*
|
|
31473
|
-
* Price: $0.
|
|
31473
|
+
* Price: $0.0011 per request.
|
|
31474
31474
|
*
|
|
31475
31475
|
* @example
|
|
31476
31476
|
* const res = await client.linkedin.company({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -56644,6 +56644,10 @@ interface TrustpilotReviewsInput {
|
|
|
56644
56644
|
* Range: minimum 1.
|
|
56645
56645
|
*/
|
|
56646
56646
|
preferLatencyUnderMs?: number;
|
|
56647
|
+
/**
|
|
56648
|
+
* 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 `avatarUrl`, 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 review whose reviewer has no photo.
|
|
56649
|
+
*/
|
|
56650
|
+
requireFields?: "avatarUrl"[];
|
|
56647
56651
|
/**
|
|
56648
56652
|
* Review ordering: auto, relevancy, or recent (e.g. recent).
|
|
56649
56653
|
* One of: auto, relevancy, recent.
|
package/dist/index.d.ts
CHANGED
|
@@ -13880,7 +13880,7 @@ declare class EmailFindingNamespace {
|
|
|
13880
13880
|
*
|
|
13881
13881
|
* Find named contacts and their work email addresses at a company domain, filtered by job title, seniority or department. Priced per returned contact, so limit is the cost control.
|
|
13882
13882
|
*
|
|
13883
|
-
* Price: $0 per request
|
|
13883
|
+
* Price: $0.025 per request.
|
|
13884
13884
|
*
|
|
13885
13885
|
* @example
|
|
13886
13886
|
* const res = await client.emailFinding.hunterDomain({ domain: "stripe.com", limit: 2, type: "personal" });
|
|
@@ -25433,7 +25433,7 @@ declare class InstagramNamespace {
|
|
|
25433
25433
|
*
|
|
25434
25434
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
25435
25435
|
*
|
|
25436
|
-
* Price: $0.
|
|
25436
|
+
* Price: $0.0005 per request.
|
|
25437
25437
|
*
|
|
25438
25438
|
* @example
|
|
25439
25439
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -27031,7 +27031,7 @@ interface LinkedinCompanyInput {
|
|
|
27031
27031
|
/**
|
|
27032
27032
|
* 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 `city` or `postalCode`, 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 profile that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
|
|
27033
27033
|
*/
|
|
27034
|
-
requireFields?: ("city" | "companyType" | "fundingData" | "line1" | "pageVerified" | "postalCode" | "similarOrganizations")[];
|
|
27034
|
+
requireFields?: ("city" | "companyType" | "foundedOn" | "fundingData" | "line1" | "pageVerified" | "postalCode" | "similarOrganizations")[];
|
|
27035
27035
|
/**
|
|
27036
27036
|
* 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`.
|
|
27037
27037
|
*/
|
|
@@ -31470,7 +31470,7 @@ declare class LinkedinNamespace {
|
|
|
31470
31470
|
*
|
|
31471
31471
|
* Fetch a full LinkedIn company page by URL: name, description, industry, employee count and range, follower count, founded year, headquarters and office locations, funding data, tagline, logo, website, and specialities.
|
|
31472
31472
|
*
|
|
31473
|
-
* Price: $0.
|
|
31473
|
+
* Price: $0.0011 per request.
|
|
31474
31474
|
*
|
|
31475
31475
|
* @example
|
|
31476
31476
|
* const res = await client.linkedin.company({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -56644,6 +56644,10 @@ interface TrustpilotReviewsInput {
|
|
|
56644
56644
|
* Range: minimum 1.
|
|
56645
56645
|
*/
|
|
56646
56646
|
preferLatencyUnderMs?: number;
|
|
56647
|
+
/**
|
|
56648
|
+
* 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 `avatarUrl`, 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 review whose reviewer has no photo.
|
|
56649
|
+
*/
|
|
56650
|
+
requireFields?: "avatarUrl"[];
|
|
56647
56651
|
/**
|
|
56648
56652
|
* Review ordering: auto, relevancy, or recent (e.g. recent).
|
|
56649
56653
|
* One of: auto, relevancy, recent.
|
package/dist/index.js
CHANGED
|
@@ -2019,7 +2019,7 @@ var EmailFindingNamespace = class {
|
|
|
2019
2019
|
*
|
|
2020
2020
|
* Find named contacts and their work email addresses at a company domain, filtered by job title, seniority or department. Priced per returned contact, so limit is the cost control.
|
|
2021
2021
|
*
|
|
2022
|
-
* Price: $0 per request
|
|
2022
|
+
* Price: $0.025 per request.
|
|
2023
2023
|
*
|
|
2024
2024
|
* @example
|
|
2025
2025
|
* const res = await client.emailFinding.hunterDomain({ domain: "stripe.com", limit: 2, type: "personal" });
|
|
@@ -3660,7 +3660,7 @@ var InstagramNamespace = class {
|
|
|
3660
3660
|
*
|
|
3661
3661
|
* Fetch a single Instagram post or reel by URL (media URLs, like count, owner, type) as normalized JSON. Turn on hostVideo to also get the post's video on a hosted MP4 link that plays without an Instagram session, charged as an extra on top of the price. If you want the spoken words as well, instagram.reel_transcript transcribes the same reel.
|
|
3662
3662
|
*
|
|
3663
|
-
* Price: $0.
|
|
3663
|
+
* Price: $0.0005 per request.
|
|
3664
3664
|
*
|
|
3665
3665
|
* @example
|
|
3666
3666
|
* const res = await client.instagram.post({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/" });
|
|
@@ -4197,7 +4197,7 @@ var LinkedinNamespace = class {
|
|
|
4197
4197
|
*
|
|
4198
4198
|
* Fetch a full LinkedIn company page by URL: name, description, industry, employee count and range, follower count, founded year, headquarters and office locations, funding data, tagline, logo, website, and specialities.
|
|
4199
4199
|
*
|
|
4200
|
-
* Price: $0.
|
|
4200
|
+
* Price: $0.0011 per request.
|
|
4201
4201
|
*
|
|
4202
4202
|
* @example
|
|
4203
4203
|
* const res = await client.linkedin.company({ url: "https://www.linkedin.com/company/stripe" });
|