@mentaport/certificates
Version:
Mentaport certificates SDK.
37 lines (36 loc) • 1.03 kB
TypeScript
import { MentaportUtils, Environment } from "@mentaport/common";
import { CertificatesNFTs } from "./certificates";
import { Core } from "./helpers/core";
export * from './types';
declare class CertificateSDK extends Core {
/**
* Constructor for Core SDK
*
* @param {apiKey} APIKey
*
* @returns {}
*/
constructor(apiKey: string);
/**
* Function to set the client with default env Production
* All users have to call this function
*
* @param {url} urlPath (optional)
*
* @returns {void}
*/
setClient(): void;
/**
* Function to set the client environment.
* All users have to call this function
*
* @param {environment} Environment to run sdk in
* @param {url} urlPath (optional-only for testing)
*
* @returns {void}
*/
setClientEnv(environment: Environment, url?: string, upload_url?: string): void;
}
interface CertificateSDK extends Core, CertificatesNFTs {
}
export { CertificateSDK, MentaportUtils };