@agnostack/aftership-request
Version:
Please contact agnoStack via info@agnostack.com for any questions
23 lines (22 loc) • 480 B
TypeScript
export interface InitOptions {
api_key: string;
api_domain?: string;
version?: string;
fetch?: Fetch;
application?: string;
headers?: Headers;
}
export interface Options {
apiKey: string;
host: string;
version?: string;
fetch?: Fetch;
application?: string;
headers?: Headers;
}
export interface Headers {
[key: string]: string;
}
export interface Fetch {
(input?: Request | string, init?: RequestInit): Promise<Response>;
}