import { type ApiAppManagerRestartedAll, type ApiAppManagerStartedAll, type ApiAppManagerStopedAll, type ApiTerminal, type RESTPutApiAppCommitResult } from "@discloudapp/api-types/v2"; import type { UpdateAppOptions } from "../@types"; import type DiscloudApp from "../discloudApp/DiscloudApp"; import AppBackup from "../structures/AppBackup"; import SharedApp from "../structures/SharedApp"; import BaseSharedAppsManager from "./BaseSharedAppsManager"; import SharedAppsStatusManager from "./SharedAppsStatusManager"; /** * Manager for your team on Discloud */ export default class SharedAppsManager extends BaseSharedAppsManager { constructor(discloudApp: DiscloudApp); readonly status: SharedAppsStatusManager; /** * Get logs for the app of your team on Discloud * * @param appID - Your team app id */ terminal(appID: string): Promise; terminal(appID: "all"): Promise>; /** * Get backups for the app of your team on Discloud * * @param appID - Your team app id */ backup(appID: string): Promise; backup(appID: "all"): Promise>; /** * Set the quantity of ram to application of your team * * @param appID - Your team app id * @param quantity - Minimum values is `100` to `bot` or `512` for `site` */ ram(appID: string, quantity: number): Promise; /** * Update an of your team apps on Discloud * * @param appID - Your team app id * @param options - Options to update your app. */ update(appID: string, options: UpdateAppOptions): Promise; /** * Restart your team application on Discloud * * @param appID - Your team app id */ restart(appID: string): Promise; restart(appID: "all"): Promise; /** * Start your team application on Discloud * * @param appID - Your team app id */ start(appID: string): Promise; start(appID: "all"): Promise; /** * Stop your team application on Discloud * * @param appID - Your team app id */ stop(appID: string): Promise; stop(appID: "all"): Promise; /** * Get information of your team application on Discloud. */ fetch(): Promise>; }