ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.474.0

This commit is contained in:
speakeasybot
2025-01-24 00:11:07 +00:00
parent b03cc6a609
commit cdcdc0ca8e
126 changed files with 1770 additions and 1173 deletions

View File

@@ -5,6 +5,7 @@
import { PlexAPICore } from "../core.js";
import { encodeFormQuery } from "../lib/encodings.js";
import * as M from "../lib/matchers.js";
import { compactMap } from "../lib/primitives.js";
import { safeParse } from "../lib/schemas.js";
import { RequestOptions } from "../lib/sdks.js";
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
@@ -71,9 +72,9 @@ export async function libraryGetTopWatchedContent(
"type": payload.type,
});
const headers = new Headers({
const headers = new Headers(compactMap({
Accept: "application/json",
});
}));
const secConfig = await extractSecurity(client._options.accessToken);
const securityInput = secConfig == null ? {} : { accessToken: secConfig };
@@ -143,7 +144,8 @@ export async function libraryGetTopWatchedContent(
}),
M.jsonErr(400, errors.GetTopWatchedContentBadRequest$inboundSchema),
M.jsonErr(401, errors.GetTopWatchedContentUnauthorized$inboundSchema),
M.fail(["4XX", "5XX"]),
M.fail("4XX"),
M.fail("5XX"),
)(response, { extraFields: responseFields });
if (!result.ok) {
return result;