"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AppTypes = void 0;
const resource_1 = require("cloudflare/resource");
class AppTypes extends resource_1.APIResource {
    /**
     * Fetches all application and application type mappings.
     */
    list(params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/gateway/app_types`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.AppTypes = AppTypes;
(function (AppTypes) {
})(AppTypes = exports.AppTypes || (exports.AppTypes = {}));
//# sourceMappingURL=app-types.js.map