@congminh1254/shopee-sdk
Version:
Shopee SDK maintaining by community
14 lines (13 loc) • 383 B
TypeScript
import { RequestInit } from "node-fetch";
export type FetchOptions = Omit<RequestInit, "body"> & {
params?: Record<string, string | number | boolean | undefined | null | (string | number | boolean)[]>;
body?: unknown;
auth?: boolean;
};
export interface FetchResponse<T> {
result: T;
response: T;
request_id: string;
error: string;
message: string;
}