jira.js
    Preparing search index...

    Type Alias ClientConfig

    ClientConfig:
        | CommonClientConfig & { auth: AuthOAuth2; host?: string }
        | CommonClientConfig & {
            auth?: AuthBasic | AuthBearer | AuthOAuth2Server;
            host: string;
        }

    The shape accepted by createClient, createV1Client and createV2Client.

    Written by hand rather than inferred, because host is required for every strategy except OAuth 2.0 and a Zod refinement cannot express that in the type — only at runtime.