cloudflare
Version:
The official TypeScript library for the Cloudflare API
16 lines • 648 B
JavaScript
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../../resource.mjs";
import { SinglePage } from "../../../pagination.mjs";
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 {
}
AppTypes.AppTypesSinglePage = AppTypesSinglePage;
//# sourceMappingURL=app-types.mjs.map