cloudflare/dist/cflare.classes.cflareaccount.d.ts
2016-05-25 06:26:48 +02:00

20 lines
712 B
TypeScript

import "typings-global";
export declare class CflareAccount {
private authEmail;
private authKey;
private authCheck();
constructor();
auth(optionsArg: {
email: string;
key: string;
}): void;
getZoneId(domainName: string): any;
getRecord(domainNameArg: string, typeArg: string): any;
createRecord(domainNameArg: string, typeArg: string, contentArg: string): any;
removeRecord(domainNameArg: string, typeArg: string): any;
updateRecord(domainNameArg: string, typeArg: string, valueArg: any): any;
listRecords(domainNameArg: string): any;
listZones(domainName?: string): any;
request(methodArg: string, routeArg: string, dataArg?: {}): any;
}