1 | export declare type Method = "GET" | "POST" | "PUT" | "DELETE";
|
2 | export declare type OAuthOptions = {
|
3 | api_key: string;
|
4 | api_secret_key: string;
|
5 | access_token: string;
|
6 | access_token_secret: string;
|
7 | };
|
8 | export declare type ExtendedOAuthOptions = {
|
9 | oauth_nonce: string;
|
10 | oauth_timestamp: number;
|
11 | };
|
12 | export declare type SignatureOAuthOptions = Pick<OAuthOptions, "access_token" | "api_key"> & ExtendedOAuthOptions;
|
13 | export declare type RequestOptions = {
|
14 | url: string;
|
15 | method: Method;
|
16 | params?: Record<string, string | number | boolean>;
|
17 | data?: Record<string, string | number | boolean>;
|
18 | };
|