Skip to content

Commit

Permalink
chore(internal): codegen related update (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 17, 2025
1 parent 0295117 commit 3805b01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export interface ClientOptions {
* - `demo` corresponds to `https://demo.honcho.dev`
* - `local` corresponds to `http://localhost:8000`
*/
environment?: Environment;
environment?: Environment | undefined;

/**
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
Expand All @@ -44,15 +44,15 @@ export interface ClientOptions {
* Note that request timeouts are retried by default, so in a worst-case scenario you may wait
* much longer than this timeout before the promise succeeds or fails.
*/
timeout?: number;
timeout?: number | undefined;

/**
* An HTTP agent used to manage HTTP(S) connections.
*
* If not provided, an agent will be constructed by default in the Node.js environment,
* otherwise no agent is used.
*/
httpAgent?: Agent;
httpAgent?: Agent | undefined;

/**
* Specify a custom `fetch` function implementation.
Expand All @@ -68,23 +68,23 @@ export interface ClientOptions {
*
* @default 2
*/
maxRetries?: number;
maxRetries?: number | undefined;

/**
* Default headers to include with every request to the API.
*
* These can be removed in individual requests by explicitly setting the
* header to `undefined` or `null` in request options.
*/
defaultHeaders?: Core.Headers;
defaultHeaders?: Core.Headers | undefined;

/**
* Default query parameters to include with every request to the API.
*
* These can be removed in individual requests by explicitly setting the
* param to `undefined` in request options.
*/
defaultQuery?: Core.DefaultQuery;
defaultQuery?: Core.DefaultQuery | undefined;
}

/**
Expand Down

0 comments on commit 3805b01

Please sign in to comment.