smartcert/dist/index.d.ts

28 lines
726 B
TypeScript
Raw Normal View History

2016-07-01 04:26:10 +00:00
/// <reference types="q" />
import * as plugins from "./cert.plugins";
2016-06-18 14:03:46 +00:00
export declare class Cert {
2016-06-28 07:32:01 +00:00
private _cfEmail;
private _cfKey;
private _sslDir;
2016-06-28 03:53:49 +00:00
certificatesPresent: Certificate[];
certificatesValid: Certificate[];
2016-07-04 02:56:49 +00:00
private _gitOriginRepo;
2016-06-18 14:03:46 +00:00
constructor(optionsArg: {
cfEmail: string;
cfKey: string;
sslDir: string;
2016-06-21 18:02:57 +00:00
gitOriginRepo?: string;
2016-06-18 14:03:46 +00:00
});
2016-07-04 02:56:49 +00:00
sslGitOriginPull: () => void;
sslGitOriginAddCommitPush: () => void;
2016-06-28 03:53:49 +00:00
getDomainCert(domainNameArg: string, optionsArg?: {
force: boolean;
2016-07-01 04:26:10 +00:00
}): plugins.q.Promise<{}>;
2016-06-18 14:03:46 +00:00
}
export declare class Certificate {
2016-06-21 18:02:57 +00:00
domainName: string;
creationDate: Date;
expiryDate: Date;
2016-06-18 14:03:46 +00:00
constructor();
}