UNPKG

trender-client

Version:
12 lines (11 loc) 570 B
import RequestEmitter, { requestParams } from '../utils/RequestEmitter'; import type { AffiliationInterface } from './Interfaces'; import type { emptyResponse, successResponse } from './Interfaces/Global'; declare class AffiliationManager extends RequestEmitter { constructor(params: requestParams); set(code: string): Promise<successResponse>; generate(): Promise<AffiliationInterface.affiliationCreateResponse>; delete(): Promise<emptyResponse>; fetch(): Promise<AffiliationInterface.affiliationFetchResponse>; } export default AffiliationManager;