UNPKG

@marxlnfcs/wildduck-api

Version:

Provides a client to interact with the wildduck api

11 lines (10 loc) 854 B
import { WildduckClientComponent } from "../../client-component"; import { IWildduckApiGetDkimKeyResponse, IWildduckApiGetDkimKeysResponse, IWildduckApiResolveIdResponse, IWildduckApiSuccessResponse, IWildduckApiUpdateDkimKeyRequest, IWildduckApiUpdateDkimKeyResponse } from "../../client-schema"; import { IWildduckApiGetDkimKeysOptions } from "./dkim.interface"; export declare class WildduckDKIMService extends WildduckClientComponent { deleteDKIM(dkim: string): Promise<IWildduckApiSuccessResponse>; getDKIM(dkim: string): Promise<IWildduckApiGetDkimKeyResponse>; getDKIMs(options?: Partial<IWildduckApiGetDkimKeysOptions>): Promise<IWildduckApiGetDkimKeysResponse>; setDKIM(dto: IWildduckApiUpdateDkimKeyRequest): Promise<IWildduckApiUpdateDkimKeyResponse>; resolveDKIM(domain: string): Promise<IWildduckApiResolveIdResponse>; }