@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
6 lines (5 loc) • 397 B
TypeScript
import Resource from "../services/resource";
import { IRequest } from "../typings/requestOptions";
declare function getJsonResponse<T>(resource: Resource, jsonRequest: T | string, requestOptions?: IRequest.Options): Promise<string>;
declare function getJsonResponse<T, R>(resource: Resource, jsonRequest: T | string, requestOptions?: IRequest.Options): Promise<R>;
export default getJsonResponse;