@getanyapi/sdk 0.118.1 → 0.119.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
@@ -13741,7 +13741,7 @@ declare class EmailNamespace {
13741
13741
  *
13742
13742
  * Find a person's work email address from their name and company domain.
13743
13743
  *
13744
- * Price: $0.0308 per request.
13744
+ * Price: $0.0154 per request.
13745
13745
  *
13746
13746
  * @example
13747
13747
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -18437,10 +18437,6 @@ interface FacebookSearchPostsInput {
18437
18437
  * Optional place name; include both city and country for best matches (e.g. 'Paris, France'). Uses Facebook's place filter, which favors posts tagged at that place rather than every post by people who live there, and can still return some posts from elsewhere.
18438
18438
  */
18439
18439
  location?: string;
18440
- /**
18441
- * Optional Facebook place ID, used instead of location when you already have it (e.g. '110774245616525' for Paris, France). Filters the same way as location.
18442
- */
18443
- locationId?: string;
18444
18440
  /**
18445
18441
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
18446
18442
  * Range: minimum 1.
@@ -19363,7 +19359,7 @@ declare class GeminiNamespace {
19363
19359
  *
19364
19360
  * Ask Gemini a web-grounded question and receive an answer with source citations.
19365
19361
  *
19366
- * Price: $0.0048 per request.
19362
+ * Price: $0.002 per request.
19367
19363
  *
19368
19364
  * @example
19369
19365
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -35639,7 +35635,7 @@ declare class LinkedinNamespace {
35639
35635
  *
35640
35636
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
35641
35637
  *
35642
- * Price: $0.005 per request.
35638
+ * Price: $0 per request plus $0.00143 per result (maximum $0.143).
35643
35639
  *
35644
35640
  * @example
35645
35641
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -60502,7 +60498,7 @@ declare class TiktokNamespace {
60502
60498
  *
60503
60499
  * Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
60504
60500
  *
60505
- * Price: $0.0008 per request.
60501
+ * Price: $0.0012 per request.
60506
60502
  *
60507
60503
  * @example
60508
60504
  * const res = await client.tiktok.trendingFeed({ region: "US" });
package/dist/index.d.ts CHANGED
@@ -13741,7 +13741,7 @@ declare class EmailNamespace {
13741
13741
  *
13742
13742
  * Find a person's work email address from their name and company domain.
13743
13743
  *
13744
- * Price: $0.0308 per request.
13744
+ * Price: $0.0154 per request.
13745
13745
  *
13746
13746
  * @example
13747
13747
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -18437,10 +18437,6 @@ interface FacebookSearchPostsInput {
18437
18437
  * Optional place name; include both city and country for best matches (e.g. 'Paris, France'). Uses Facebook's place filter, which favors posts tagged at that place rather than every post by people who live there, and can still return some posts from elsewhere.
18438
18438
  */
18439
18439
  location?: string;
18440
- /**
18441
- * Optional Facebook place ID, used instead of location when you already have it (e.g. '110774245616525' for Paris, France). Filters the same way as location.
18442
- */
18443
- locationId?: string;
18444
18440
  /**
18445
18441
  * Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
18446
18442
  * Range: minimum 1.
@@ -19363,7 +19359,7 @@ declare class GeminiNamespace {
19363
19359
  *
19364
19360
  * Ask Gemini a web-grounded question and receive an answer with source citations.
19365
19361
  *
19366
- * Price: $0.0048 per request.
19362
+ * Price: $0.002 per request.
19367
19363
  *
19368
19364
  * @example
19369
19365
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -35639,7 +35635,7 @@ declare class LinkedinNamespace {
35639
35635
  *
35640
35636
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
35641
35637
  *
35642
- * Price: $0.005 per request.
35638
+ * Price: $0 per request plus $0.00143 per result (maximum $0.143).
35643
35639
  *
35644
35640
  * @example
35645
35641
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -60502,7 +60498,7 @@ declare class TiktokNamespace {
60502
60498
  *
60503
60499
  * Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
60504
60500
  *
60505
- * Price: $0.0008 per request.
60501
+ * Price: $0.0012 per request.
60506
60502
  *
60507
60503
  * @example
60508
60504
  * const res = await client.tiktok.trendingFeed({ region: "US" });
package/dist/index.js CHANGED
@@ -2035,7 +2035,7 @@ var EmailNamespace = class {
2035
2035
  *
2036
2036
  * Find a person's work email address from their name and company domain.
2037
2037
  *
2038
- * Price: $0.0308 per request.
2038
+ * Price: $0.0154 per request.
2039
2039
  *
2040
2040
  * @example
2041
2041
  * const res = await client.email.find({ person: { domain: "google.com", firstName: "Damien", surname: "Neil" } });
@@ -2842,7 +2842,7 @@ var GeminiNamespace = class {
2842
2842
  *
2843
2843
  * Ask Gemini a web-grounded question and receive an answer with source citations.
2844
2844
  *
2845
- * Price: $0.0048 per request.
2845
+ * Price: $0.002 per request.
2846
2846
  *
2847
2847
  * @example
2848
2848
  * const res = await client.gemini.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
@@ -4738,7 +4738,7 @@ var LinkedinNamespace = class {
4738
4738
  *
4739
4739
  * Fetch recent public LinkedIn profile posts with portable identity, author, engagement, article, image, video, and repost fields.
4740
4740
  *
4741
- * Price: $0.005 per request.
4741
+ * Price: $0 per request plus $0.00143 per result (maximum $0.143).
4742
4742
  *
4743
4743
  * @example
4744
4744
  * const res = await client.linkedin.profilePostsThin({ url: "https://www.linkedin.com/in/williamhgates/", limit: 10 });
@@ -7333,7 +7333,7 @@ var TiktokNamespace = class {
7333
7333
  *
7334
7334
  * Sample TikTok's For You feed as served to a viewer in one country (caption, views, likes, comments, author). Returns a rotating sample, not a ranked chart.
7335
7335
  *
7336
- * Price: $0.0008 per request.
7336
+ * Price: $0.0012 per request.
7337
7337
  *
7338
7338
  * @example
7339
7339
  * const res = await client.tiktok.trendingFeed({ region: "US" });