diff --git a/src/api-client.ts b/src/api-client.ts index f66ab1f..403df70 100644 --- a/src/api-client.ts +++ b/src/api-client.ts @@ -9,7 +9,7 @@ import {Login} from './login' import {Mutex} from './mutex' import {RequestId, requestIdHeader} from './request-id' import {vars} from './vars' -import {ParticleboardClient, IDelinquencyInfo} from './particleboard-client' +import {ParticleboardClient, IDelinquencyInfo, IDelinquencyConfig} from './particleboard-client' export namespace APIClient { export interface Options extends HTTPRequestOptions { @@ -30,13 +30,6 @@ export interface IHerokuAPIErrorOptions { url?: string } -interface IDelinquencyConfig { - fetch_delinquency: boolean - warning_shown: boolean - resource_type?: 'account' | 'team' - fetch_url?: string -} - export class HerokuAPIError extends CLIError { http: HTTPError body: IHerokuAPIErrorOptions diff --git a/src/particleboard-client.ts b/src/particleboard-client.ts index 8072b46..a712523 100644 --- a/src/particleboard-client.ts +++ b/src/particleboard-client.ts @@ -11,6 +11,13 @@ export interface IDelinquencyInfo { scheduled_deletion_time?: string | null } +export interface IDelinquencyConfig { + fetch_delinquency: boolean + warning_shown: boolean + resource_type?: 'account' | 'team' + fetch_url?: string +} + export class ParticleboardClient { http: typeof HTTP private _auth?: string