1 | import { AuthorizationOptions } from "./types";
|
2 | export default function oAuthV1Request({ baseURL, method, params, data, oAuthOptions, }: AuthorizationOptions): {
|
3 | method: "GET" | "PUT" | "POST" | "DELETE";
|
4 | baseURL: string;
|
5 | params: Record<string, string>;
|
6 | data: string;
|
7 | headers: {
|
8 | Authorization: string;
|
9 | "Content-Type": "application/x-www-form-urlencoded";
|
10 | "Content-Length": number;
|
11 | };
|
12 | };
|