Type alias OpenAICoreRequestOptions<Req>

OpenAICoreRequestOptions<Req>: {
    body?: Req;
    headers?: Record<string, string | null | undefined>;
    httpAgent?: any;
    idempotencyKey?: string;
    maxRetries?: number;
    path?: string;
    query?: Req;
    signal?: AbortSignal | null;
    stream?: boolean;
    timeout?: number;
}

Type Parameters

  • Req extends object = Record<string, unknown>

Type declaration

  • Optional body?: Req
  • Optional headers?: Record<string, string | null | undefined>
  • Optional httpAgent?: any
  • Optional idempotencyKey?: string
  • Optional maxRetries?: number
  • Optional path?: string
  • Optional query?: Req
  • Optional signal?: AbortSignal | null
  • Optional stream?: boolean
  • Optional timeout?: number

Generated using TypeDoc