@getanyapi/sdk 0.90.11 → 0.90.12
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 +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -59,8 +59,9 @@ interface RequestSnapshot<T = unknown> {
|
|
|
59
59
|
* - `suspended`: the platform has suspended the account.
|
|
60
60
|
* - `unavailable`: the platform did not show this to the source: it may not exist, or it may
|
|
61
61
|
* be visible only to signed-in users.
|
|
62
|
+
* - `too_long`: the video is too long to transcribe.
|
|
62
63
|
*/
|
|
63
|
-
declare const NOT_FOUND_REASONS: readonly ["not_found", "suspended", "unavailable"];
|
|
64
|
+
declare const NOT_FOUND_REASONS: readonly ["not_found", "suspended", "unavailable", "too_long"];
|
|
64
65
|
type NotFoundReason = (typeof NOT_FOUND_REASONS)[number] | (string & {});
|
|
65
66
|
/**
|
|
66
67
|
* Discriminated union on `found`. When found is false, data is null and `reason` says why
|
|
@@ -59949,7 +59950,7 @@ declare class TwitterNamespace {
|
|
|
59949
59950
|
*
|
|
59950
59951
|
* 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.
|
|
59951
59952
|
*
|
|
59952
|
-
* Price: $0.
|
|
59953
|
+
* Price: $0.0007 per request.
|
|
59953
59954
|
*
|
|
59954
59955
|
* @example
|
|
59955
59956
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
package/dist/index.d.ts
CHANGED
|
@@ -59,8 +59,9 @@ interface RequestSnapshot<T = unknown> {
|
|
|
59
59
|
* - `suspended`: the platform has suspended the account.
|
|
60
60
|
* - `unavailable`: the platform did not show this to the source: it may not exist, or it may
|
|
61
61
|
* be visible only to signed-in users.
|
|
62
|
+
* - `too_long`: the video is too long to transcribe.
|
|
62
63
|
*/
|
|
63
|
-
declare const NOT_FOUND_REASONS: readonly ["not_found", "suspended", "unavailable"];
|
|
64
|
+
declare const NOT_FOUND_REASONS: readonly ["not_found", "suspended", "unavailable", "too_long"];
|
|
64
65
|
type NotFoundReason = (typeof NOT_FOUND_REASONS)[number] | (string & {});
|
|
65
66
|
/**
|
|
66
67
|
* Discriminated union on `found`. When found is false, data is null and `reason` says why
|
|
@@ -59949,7 +59950,7 @@ declare class TwitterNamespace {
|
|
|
59949
59950
|
*
|
|
59950
59951
|
* 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.
|
|
59951
59952
|
*
|
|
59952
|
-
* Price: $0.
|
|
59953
|
+
* Price: $0.0007 per request.
|
|
59953
59954
|
*
|
|
59954
59955
|
* @example
|
|
59955
59956
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|
package/dist/index.js
CHANGED
|
@@ -931,7 +931,7 @@ function isRequestSnapshot(value) {
|
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
// src/core/types.ts
|
|
934
|
-
var NOT_FOUND_REASONS = ["not_found", "suspended", "unavailable"];
|
|
934
|
+
var NOT_FOUND_REASONS = ["not_found", "suspended", "unavailable", "too_long"];
|
|
935
935
|
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.";
|
|
936
936
|
function unwrap(result) {
|
|
937
937
|
const output = result.output;
|
|
@@ -7595,7 +7595,7 @@ var TwitterNamespace = class {
|
|
|
7595
7595
|
*
|
|
7596
7596
|
* 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.
|
|
7597
7597
|
*
|
|
7598
|
-
* Price: $0.
|
|
7598
|
+
* Price: $0.0007 per request.
|
|
7599
7599
|
*
|
|
7600
7600
|
* @example
|
|
7601
7601
|
* const res = await client.twitter.searchUsers({ query: "ai agents" });
|