// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as AppTypesAPI from 'cloudflaredev/resources/zero-trust/gateway/app-types';
import { SinglePage } from 'cloudflaredev/pagination';
export class AppTypes extends APIResource {
    /**
     * Fetches all application and application type mappings.
     */
    list(params, options) {
        const { account_id } = params;
        return this._client.getAPIList(`/accounts/${account_id}/gateway/app_types`, AppTypesSinglePage, options);
    }
}
export class AppTypesSinglePage extends SinglePage {
}
(function (AppTypes) {
    AppTypes.AppTypesSinglePage = AppTypesAPI.AppTypesSinglePage;
})(AppTypes || (AppTypes = {}));
//# sourceMappingURL=app-types.mjs.map