mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 12:37:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.207.1
This commit is contained in:
@@ -65,9 +65,12 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
},
|
||||
];
|
||||
let params: Record<string, string> = {};
|
||||
const serverIdx = options.serverIdx ?? 0;
|
||||
|
||||
if (!serverURL) {
|
||||
const serverIdx = options.serverIdx ?? 0;
|
||||
if (serverIdx < 0 || serverIdx >= ServerList.length) {
|
||||
throw new Error(`Invalid server index ${serverIdx}`);
|
||||
}
|
||||
serverURL = ServerList[serverIdx] || "";
|
||||
params = serverParams[serverIdx] || {};
|
||||
}
|
||||
@@ -79,7 +82,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
||||
export const SDK_METADATA = Object.freeze({
|
||||
language: "typescript",
|
||||
openapiDocVersion: "0.0.3",
|
||||
sdkVersion: "0.10.0",
|
||||
genVersion: "2.279.1",
|
||||
userAgent: "speakeasy-sdk/typescript 0.10.0 2.279.1 0.0.3 @lukehagar/plexjs",
|
||||
sdkVersion: "0.10.1",
|
||||
genVersion: "2.280.6",
|
||||
userAgent: "speakeasy-sdk/typescript 0.10.1 2.280.6 0.0.3 @lukehagar/plexjs",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user