Generate Fern TypeSscript SDK (#3785)
This commit is contained in:
committed by
GitHub
parent
d55b9637c4
commit
2062adac66
34
skyvern-ts/client/src/BaseClient.ts
Normal file
34
skyvern-ts/client/src/BaseClient.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
// This file was auto-generated by Fern from our API Definition.
|
||||
|
||||
import type * as core from "./core/index.js";
|
||||
import type * as environments from "./environments.js";
|
||||
|
||||
export interface BaseClientOptions {
|
||||
environment?: core.Supplier<environments.SkyvernEnvironment | string>;
|
||||
/** Specify a custom URL to connect the client to. */
|
||||
baseUrl?: core.Supplier<string>;
|
||||
xApiKey?: core.Supplier<string | undefined>;
|
||||
/** Override the x-api-key header */
|
||||
apiKey?: core.Supplier<string | undefined>;
|
||||
/** Additional headers to include in requests. */
|
||||
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
||||
/** The default maximum time to wait for a response in seconds. */
|
||||
timeoutInSeconds?: number;
|
||||
/** The default number of times to retry the request. Defaults to 2. */
|
||||
maxRetries?: number;
|
||||
}
|
||||
|
||||
export interface BaseRequestOptions {
|
||||
/** The maximum time to wait for a response in seconds. */
|
||||
timeoutInSeconds?: number;
|
||||
/** The number of times to retry the request. Defaults to 2. */
|
||||
maxRetries?: number;
|
||||
/** A hook to abort the request. */
|
||||
abortSignal?: AbortSignal;
|
||||
/** Override the x-api-key header */
|
||||
apiKey?: string | undefined;
|
||||
/** Additional query string parameters to include in the request. */
|
||||
queryParams?: Record<string, unknown>;
|
||||
/** Additional headers to include in the request. */
|
||||
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
||||
}
|
||||
Reference in New Issue
Block a user