ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.377.1

This commit is contained in:
speakeasybot
2024-08-22 05:18:31 +00:00
parent 8c39ddc475
commit 454b20d045
740 changed files with 56231 additions and 21574 deletions

View File

@@ -1,8 +1,10 @@
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import { ClosedEnum } from "../types/enums.js";
import { HTTPClient } from "./http.js";
import { Logger } from "./logger.js";
import { RetryConfig } from "./retries.js";
import { Params, pathToFunc } from "./url.js";
@@ -16,10 +18,11 @@ export const ServerList = [
"{protocol}://{ip}:{port}",
] as const;
export enum ServerProtocol {
Http = "http",
Https = "https",
}
export const ServerProtocol = {
Http: "http",
Https: "https",
} as const;
export type ServerProtocol = ClosedEnum<typeof ServerProtocol>;
export type SDKOptions = {
accessToken?: string | (() => Promise<string>);
@@ -35,15 +38,15 @@ export type SDKOptions = {
*/
serverIdx?: number;
/**
* Allows setting the protocol variable for url substitution
* Sets the protocol variable for url substitution
*/
protocol?: ServerProtocol;
/**
* Allows setting the ip variable for url substitution
* Sets the ip variable for url substitution
*/
ip?: string;
/**
* Allows setting the port variable for url substitution
* Sets the port variable for url substitution
*/
port?: string;
/**
@@ -54,6 +57,8 @@ export type SDKOptions = {
* Allows overriding the default retry config used by the SDK
*/
retryConfig?: RetryConfig;
timeoutMs?: number;
debugLogger?: Logger;
};
export function serverURLFromOptions(options: SDKOptions): URL | null {
@@ -84,7 +89,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.0.3",
sdkVersion: "0.18.2",
genVersion: "2.356.0",
userAgent: "speakeasy-sdk/typescript 0.18.2 2.356.0 0.0.3 @lukehagar/plexjs",
sdkVersion: "0.19.0",
genVersion: "2.404.1",
userAgent: "speakeasy-sdk/typescript 0.19.0 2.404.1 0.0.3 @lukehagar/plexjs",
} as const;