unofficial-klap-sdk
Version:
Código fuente no oficial de Klap SDK en NodeJs
16 lines (15 loc) • 616 B
TypeScript
import Order from "./model/order";
/**
* Class containing needed authenticaction and configuration to interact with the API.
* Environment correspond to the environment to use, it can be Integration or Production, each has
* a unique URL.
*/
declare const Utils: {
/**
* @param headerApikey value of apiKey parameter received in request
* @param ecommerceApiKey the secret used to authenticate against the API
* @param order value of order received in request
*/
validateHeaderApikey: (headerApikey: string, ecommerceApiKey: string, order: Order) => boolean;
};
export default Utils;