@getanyapi/sdk 0.90.11 → 0.90.13

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 CHANGED
@@ -1053,7 +1053,7 @@ function isRequestSnapshot(value) {
1053
1053
  }
1054
1054
 
1055
1055
  // src/core/types.ts
1056
- var NOT_FOUND_REASONS = ["not_found", "suspended", "unavailable"];
1056
+ var NOT_FOUND_REASONS = ["not_found", "suspended", "unavailable", "too_long"];
1057
1057
  var OUTPUT_NOT_RETAINED = "the run output was not retained: this response is an idempotent replay whose stored payload has expired or was too large to store, so only the run metadata came back. Re-run the request without the idempotency key (or with a fresh one) to fetch the data again.";
1058
1058
  function unwrap(result) {
1059
1059
  const output = result.output;
@@ -2346,7 +2346,7 @@ var FacebookNamespace = class {
2346
2346
  *
2347
2347
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
2348
2348
  *
2349
- * Price: $0.001 per request.
2349
+ * Price: $0.0011 per request.
2350
2350
  *
2351
2351
  * @example
2352
2352
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -2404,7 +2404,7 @@ var FacebookNamespace = class {
2404
2404
  *
2405
2405
  * List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.
2406
2406
  *
2407
- * Price: $0.001 per request.
2407
+ * Price: $0.0011 per request.
2408
2408
  *
2409
2409
  * @example
2410
2410
  * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
@@ -3370,7 +3370,7 @@ var GoogleAdsNamespace = class {
3370
3370
  *
3371
3371
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
3372
3372
  *
3373
- * Price: $0.001 per request.
3373
+ * Price: $0.0011 per request.
3374
3374
  *
3375
3375
  * @example
3376
3376
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -6489,7 +6489,7 @@ var ThreadsNamespace = class {
6489
6489
  *
6490
6490
  * Fetch a Threads user's public profile (bio, follower count, verification, profile picture) by username.
6491
6491
  *
6492
- * Price: $0.001 per request.
6492
+ * Price: $0.0011 per request.
6493
6493
  *
6494
6494
  * @example
6495
6495
  * const res = await client.threads.profile({ username: "zuck" });
@@ -7224,7 +7224,7 @@ var TiktokNamespace = class {
7224
7224
  *
7225
7225
  * Fetch the caption track TikTok itself published for a video, as TikTok wrote it. It is the cheapest way to get the words, and it is only as good as TikTok's own transcription: it mishears names and uncommon words, and many videos - especially non-English ones - have no caption track at all, which comes back as not found. When you need the words to be right, or there is no track to read, tiktok.video_transcript_full transcribes the audio with AnyAPI's own speech-to-text instead.
7226
7226
  *
7227
- * Price: $0.001 per request.
7227
+ * Price: $0.0011 per request.
7228
7228
  *
7229
7229
  * @example
7230
7230
  * const res = await client.tiktok.videoTranscript({ url: "https://www.tiktok.com/@washingtonpost/video/7609177768793787679" });
@@ -7717,7 +7717,7 @@ var TwitterNamespace = class {
7717
7717
  *
7718
7718
  * Search X (Twitter) accounts by keyword - the People tab of X search. Matches handles, display names, and profile bios, and returns normalized profile records with follower, following, and post counts plus cursor pagination. Use twitter.search for posts.
7719
7719
  *
7720
- * Price: $0.00075 per request.
7720
+ * Price: $0.0007 per request.
7721
7721
  *
7722
7722
  * @example
7723
7723
  * const res = await client.twitter.searchUsers({ query: "ai agents" });