ci: regenerated with OpenAPI Doc latest, Speakeasy CLI 1.148.0

This commit is contained in:
speakeasybot
2024-01-19 20:24:06 +00:00
parent 54184e1bde
commit 66e4641bb6
41 changed files with 204 additions and 1772 deletions

View File

@@ -3,7 +3,6 @@
*/
import * as utils from "../internal/utils";
import * as shared from "../sdk/models/shared";
import { Admin } from "./admin";
import { Backups } from "./backups";
import { Badges } from "./badges";
@@ -31,11 +30,6 @@ export const ServerList = ["https://{defaultHost}"] as const;
* The available configuration options for the SDK
*/
export type SDKProps = {
/**
* The security details required to authenticate the SDK
*/
security?: shared.Security | (() => Promise<shared.Security>);
/**
* Allows overriding the default axios client used by the SDK
*/
@@ -63,14 +57,13 @@ export type SDKProps = {
export class SDKConfiguration {
defaultClient: AxiosInstance;
security?: shared.Security | (() => Promise<shared.Security>);
serverURL: string;
serverDefaults: any;
language = "typescript";
openapiDocVersion = "latest";
sdkVersion = "0.3.0";
genVersion = "2.237.2";
userAgent = "speakeasy-sdk/typescript 0.3.0 2.237.2 latest @lukehagar/discoursejs";
sdkVersion = "0.4.0";
genVersion = "2.237.3";
userAgent = "speakeasy-sdk/typescript 0.4.0 2.237.3 latest @lukehagar/discoursejs";
retryConfig?: utils.RetryConfig;
public constructor(init?: Partial<SDKConfiguration>) {
Object.assign(this, init);
@@ -176,7 +169,6 @@ export class SDK {
const defaultClient = props?.defaultClient ?? axios.create();
this.sdkConfiguration = new SDKConfiguration({
defaultClient: defaultClient,
security: props?.security,
serverURL: serverURL,
serverDefaults: defaults,
retryConfig: props?.retryConfig,