cloudflare/dist/cflare.classes.cflareaccount.d.ts

21 lines
895 B
TypeScript
Raw Permalink Normal View History

2017-01-29 16:27:48 +00:00
import 'typings-global';
2017-01-22 18:37:00 +00:00
import * as interfaces from './cflare.interfaces';
2016-05-15 17:51:48 +00:00
export declare class CflareAccount {
private authEmail;
private authKey;
constructor();
auth(optionsArg: {
email: string;
key: string;
}): void;
2017-01-22 18:37:00 +00:00
getZoneId(domainName: string): Promise<{}>;
getRecord(domainNameArg: string, typeArg: string): Promise<interfaces.ICflareRecord>;
createRecord(domainNameArg: string, typeArg: string, contentArg: string): Promise<{}>;
removeRecord(domainNameArg: string, typeArg: string): Promise<{}>;
updateRecord(domainNameArg: string, typeArg: string, valueArg: any): Promise<{}>;
listRecords(domainNameArg: string): Promise<interfaces.ICflareRecord[]>;
listZones(domainName?: string): Promise<interfaces.ICflareZone[]>;
request(methodArg: string, routeArg: string, dataArg?: {}): Promise<{}>;
2017-01-29 16:27:48 +00:00
private authCheck();
2016-05-15 17:51:48 +00:00
}