Interface MakeRequestOptions

interface MakeRequestOptions {
    action: string;
    entityType: keyof MRActions;
    headers?: Partial<RawAxiosHeaders & {
        Accept: AxiosHeaderValue;
        Authorization: AxiosHeaderValue;
        Content-Encoding: AxiosHeaderValue;
        Content-Length: AxiosHeaderValue;
        User-Agent: AxiosHeaderValue;
    } & {
        Content-Type: ContentType;
    }>;
    params?: Record<string, unknown>;
    payload?: Record<string, unknown> | MakeRequestPayload | OpPatch[];
    userAgent: string;
}

Properties

action: string
entityType: keyof MRActions
headers?: Partial<RawAxiosHeaders & {
    Accept: AxiosHeaderValue;
    Authorization: AxiosHeaderValue;
    Content-Encoding: AxiosHeaderValue;
    Content-Length: AxiosHeaderValue;
    User-Agent: AxiosHeaderValue;
} & {
    Content-Type: ContentType;
}>
params?: Record<string, unknown>
payload?: Record<string, unknown> | MakeRequestPayload | OpPatch[]
userAgent: string