diff --git a/ts/interfaces/cert.ts b/ts/interfaces/cert.ts deleted file mode 100644 index 3453588..0000000 --- a/ts/interfaces/cert.ts +++ /dev/null @@ -1,10 +0,0 @@ -export type TCertStatus = 'existing' | 'nonexisting' | 'pending' | 'failed'; - -export interface IOldCert { - id: string; - domainName: string; - created: number; - privateKey: string; - publicKey: string; - csr: string; -} diff --git a/ts/interfaces/certremote.ts b/ts/interfaces/certremote.ts deleted file mode 100644 index a3eb59e..0000000 --- a/ts/interfaces/certremote.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { ICert, TCertStatus } from './cert'; - -export interface ICertRemoteRequest { - secret: string; - domainName: string; -} - -export interface ICertRemoteResponse { - status: TCertStatus; - certificate?: ICert; -} diff --git a/ts/interfaces/index.ts b/ts/interfaces/index.ts index be29759..28c0bbe 100644 --- a/ts/interfaces/index.ts +++ b/ts/interfaces/index.ts @@ -1,3 +1 @@ export * from './accountdata'; -export * from './cert'; -export * from './certremote'; diff --git a/ts/smartacme.classes.smartacme.ts b/ts/smartacme.classes.smartacme.ts index b5636c7..d985962 100644 --- a/ts/smartacme.classes.smartacme.ts +++ b/ts/smartacme.classes.smartacme.ts @@ -3,9 +3,6 @@ import { Cert } from './smartacme.classes.cert'; import { CertManager } from './smartacme.classes.certmanager'; import { CertMatcher } from './smartacme.classes.certmatcher'; -import * as interfaces from './interfaces'; -import { request } from 'http'; - /** * the options for the class @see SmartAcme */