@heroku-cli/command
Version:
base class for Heroku CLI commands
23 lines (22 loc) • 763 B
TypeScript
import { HTTP, HTTPRequestOptions } from '@heroku/http-call';
import { Interfaces } from '@oclif/core';
export interface IDelinquencyInfo {
scheduled_deletion_time?: null | string;
scheduled_suspension_time?: null | string;
}
export interface IDelinquencyConfig {
fetch_delinquency: boolean;
fetch_url?: string;
resource_type?: 'account' | 'team';
warning_shown: boolean;
}
export declare class ParticleboardClient {
protected config: Interfaces.Config;
http: typeof HTTP;
private _auth?;
constructor(config: Interfaces.Config);
get auth(): string | undefined;
set auth(token: string | undefined);
get defaults(): typeof HTTP.defaults;
get<T>(url: string, options?: HTTPRequestOptions): Promise<HTTP<T>>;
}