Astrada TypeScript SDK
    Preparing search index...

    Interface RequestOpts

    interface RequestOpts {
        body?: any;
        headers: HTTPHeaders;
        maxRetries?: number;
        method: HTTPMethod;
        path: string;
        query?: HTTPQuery;
        staffOnlyScope?: string;
        timeoutMs?: number;
    }
    Index
    body?: any
    headers: HTTPHeaders
    maxRetries?: number

    This call's retries, instead of the configuration's (the sandbox deletes are never retried).

    method: HTTPMethod
    path: string
    query?: HTTPQuery
    staffOnlyScope?: string

    Set on operations that need a scope such as banking:admin. A 403 then throws ScopeRequiredError.

    timeoutMs?: number

    This call's timeout in milliseconds, instead of the configuration's; 0 turns it off.