@seamapi/http - v2.5.0
    Preparing search index...

    Interface SeamHttpOptionsFromEnv

    Options for creating a SeamHttp client that reads its configuration from the environment, e.g., the SEAM_API_KEY environment variable.

    interface SeamHttpOptionsFromEnv {
        axiosOptions?: AxiosRequestConfig<any, any>;
        axiosRetryOptions?: IAxiosRetryConfig;
        endpoint?: string;
        timeout?: number;
        waitForActionAttempt?: boolean | ResolveActionAttemptOptions;
    }

    Hierarchy

    • SeamHttpCommonOptions
      • SeamHttpOptionsFromEnv
    Index
    axiosOptions?: AxiosRequestConfig<any, any>
    axiosRetryOptions?: IAxiosRetryConfig
    endpoint?: string

    The Seam API endpoint, e.g., https://connect.getseam.com. Defaults to the SEAM_ENDPOINT or SEAM_API_URL environment variable, if set.

    timeout?: number
    waitForActionAttempt?: boolean | ResolveActionAttemptOptions

    Controls whether to wait for the action attempt to resolve when a request returns an action attempt. Pass a boolean to toggle waiting, or ResolveActionAttemptOptions to also configure the timeout and polling interval.