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

20 lines
674 B
TypeScript
Raw Normal View History

2016-05-24 21:36:06 +00:00
import "typings-global";
2016-05-15 17:51:48 +00:00
export declare class CflareAccount {
private authEmail;
private authKey;
private authCheck();
constructor();
auth(optionsArg: {
email: string;
key: string;
}): void;
2016-05-16 01:29:29 +00:00
getZoneId(domainName: string): any;
2016-05-16 01:44:02 +00:00
getRecord(domainNameArg: string, typeArg: string): any;
2016-05-24 21:36:06 +00:00
createRecord(domainNameArg: string, typeArg: string, contentArg: string): any;
2016-05-15 17:51:48 +00:00
removeRecord(): any;
2016-05-16 01:44:02 +00:00
updateRecord(domainNameArg: string, typeArg: string, valueArg: any): any;
2016-05-24 21:36:06 +00:00
listRecords(domainNameArg: string): any;
2016-05-16 01:29:29 +00:00
listZones(domainName?: string): any;
2016-05-24 21:36:06 +00:00
request(methodArg: string, routeArg: string, dataArg?: {}): any;
2016-05-15 17:51:48 +00:00
}