import { HDSContact } from "./hds_contact"; /** Application is new, no code is running */ export declare const STATUS_NEW = "new"; /** Application is stopped, no containers are active */ export declare const STATUS_STOPPED = "stopped"; /** Application is running */ export declare const STATUS_RUNNING = "running"; /** Application has crashed */ export declare const STATUS_CRASHED = "crashed"; /** Application is restarting */ export declare const STATUS_RESTARTING = "restarting"; /** Application is changing the container formation */ export declare const STATUS_SCALING = "scaling"; /** Application is starting up */ export declare const STATUS_BOOTING = "booting"; export type AppStatus = typeof STATUS_NEW | typeof STATUS_STOPPED | typeof STATUS_RUNNING | typeof STATUS_CRASHED | typeof STATUS_RESTARTING | typeof STATUS_SCALING | typeof STATUS_BOOTING; export interface AppOwner { id: string; username: string; email: string; flags: Record; in_free_trial: boolean; } export interface AppProject { id: string; name: string; /** ID of the organization owning the project, null for personal projects */ organization_id: string | null; } /** @see https://developers.scalingo.com/apps */ export interface App { /** unique ID */ id: string; /** unique ID (different format) */ uuid: string; /** name of the application, can substitute the ID */ name: string; /** region of the application */ region: string; /** creation date of the application */ created_at: string; /** last time the application has been updated */ updated_at: string; /** last time the application has been updated */ parent_app_name: string; /** URL to the GIT remote to access your application */ git_url: string; /** information about the owner of the application */ owner: AppOwner; /** information about the project parent of the app */ project: AppProject; /** platform allocated URL to access to your app */ url: string; /** object of related link like deployments_stream */ links: AppLinks; /** App-specific limits */ limits: Record; /** App-specific flags */ flags: Record; /** activation of force HTTPS */ force_https: boolean; /** activation of sticky session */ sticky_session: boolean; /** activation of the router logs in your app logs */ router_logs: boolean; /** date of the last deployment attempt */ last_deployed_at: string | null; /** user who attempted the last deployment */ last_deployed_by: string | null; /** id of the last successful deployment */ last_deployment_id: string; /** current status of the application */ status: AppStatus; /** HDS Contact, only on HDS app */ hds_contact: HDSContact; hds_resource: boolean; /** IDs of the private networks associated with the app */ private_networks_ids: string[]; /** Last event that happened on the app */ last_event: Event; } export interface AppLinks { /** Websocket used to listen for deployment events on this app. */ deployments_stream: string; } //# sourceMappingURL=apps.d.ts.map