ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.207.1

This commit is contained in:
speakeasybot
2024-03-13 00:27:03 +00:00
parent fc0ebfe782
commit fd13b3d892
128 changed files with 147 additions and 335 deletions

View File

@@ -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",
});