ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.406.0

This commit is contained in:
speakeasybot
2024-10-03 00:11:46 +00:00
parent 1cfbd17f28
commit 77b0ef9507
132 changed files with 5369 additions and 1286 deletions

View File

@@ -884,6 +884,39 @@ actions:
console.log(result);
}
run();
- target: $["paths"]["/library/search"]["get"]
update:
x-codeSamples:
- lang: typescript
label: libraries
source: |-
import { PlexAPI } from "@lukehagar/plexjs";
import { QueryParamIncludeCollections, QueryParamIncludeExternalMedia, SearchTypes } from "@lukehagar/plexjs/sdk/models/operations";
const plexAPI = new PlexAPI({
accessToken: "<YOUR_API_KEY_HERE>",
clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58",
clientName: "Plex for Roku",
clientVersion: "2.4.1",
platform: "Roku",
deviceNickname: "Roku 3",
});
async function run() {
const result = await plexAPI.library.getSearchAllLibraries({
query: "<value>",
searchTypes: [
SearchTypes.People,
],
includeCollections: QueryParamIncludeCollections.Enable,
includeExternalMedia: QueryParamIncludeExternalMedia.Enable,
});
// Handle the result
console.log(result);
}
run();
- target: $["paths"]["/library/sections"]["get"]
update: