@getanyapi/sdk 0.46.1 → 0.47.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 +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -3
- package/dist/index.d.ts +14 -3
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -64,6 +64,7 @@ __export(index_exports, {
|
|
|
64
64
|
LinkedinNamespace: () => LinkedinNamespace,
|
|
65
65
|
MapsNamespace: () => MapsNamespace,
|
|
66
66
|
MobilePhoneNamespace: () => MobilePhoneNamespace,
|
|
67
|
+
NOT_FOUND_REASONS: () => NOT_FOUND_REASONS,
|
|
67
68
|
NaverNamespace: () => NaverNamespace,
|
|
68
69
|
NextdoorNamespace: () => NextdoorNamespace,
|
|
69
70
|
NotFoundError: () => NotFoundError,
|
|
@@ -1048,6 +1049,7 @@ function isRequestSnapshot(value) {
|
|
|
1048
1049
|
}
|
|
1049
1050
|
|
|
1050
1051
|
// src/core/types.ts
|
|
1052
|
+
var NOT_FOUND_REASONS = ["not_found", "suspended"];
|
|
1051
1053
|
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.";
|
|
1052
1054
|
function unwrap(result) {
|
|
1053
1055
|
const output = result.output;
|
|
@@ -7698,7 +7700,7 @@ var YoutubeNamespace = class {
|
|
|
7698
7700
|
*
|
|
7699
7701
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
7700
7702
|
*
|
|
7701
|
-
* Price: $0.
|
|
7703
|
+
* Price: $0.0009 per request.
|
|
7702
7704
|
*
|
|
7703
7705
|
* @example
|
|
7704
7706
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -8530,6 +8532,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
8530
8532
|
LinkedinNamespace,
|
|
8531
8533
|
MapsNamespace,
|
|
8532
8534
|
MobilePhoneNamespace,
|
|
8535
|
+
NOT_FOUND_REASONS,
|
|
8533
8536
|
NaverNamespace,
|
|
8534
8537
|
NextdoorNamespace,
|
|
8535
8538
|
NotFoundError,
|