import { APIResource } from "../core/resource.js"; import * as Shared from "./shared.js"; import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../core/pagination.js"; import { RequestOptions } from "../internal/request-options.js"; /** * List applications and versions. */ export declare class Apps extends APIResource { /** * List applications. Optionally filter by app name and/or version label. */ list(query?: AppListParams | null | undefined, options?: RequestOptions): PagePromise; } export type AppListResponsesOffsetPagination = OffsetPagination; /** * Summary of an application version. */ export interface AppListResponse { /** * Unique identifier for the app version */ id: string; /** * List of actions available on the app */ actions: Array; /** * Name of the application */ app_name: string; /** * Deployment ID */ deployment: string; /** * Environment variables configured for this app version */ env_vars: { [key: string]: string; }; /** * Deployment region code */ region: 'aws.us-east-1a'; /** * Version label for the application */ version: string; } export interface AppListParams extends OffsetPaginationParams { /** * Filter results by application name. */ app_name?: string; /** * Search apps by name. */ query?: string; /** * Filter results by version label. */ version?: string; } export declare namespace Apps { export { type AppListResponse as AppListResponse, type AppListResponsesOffsetPagination as AppListResponsesOffsetPagination, type AppListParams as AppListParams, }; } //# sourceMappingURL=apps.d.ts.map