// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
export class Categories extends APIResource {
    /**
     * Fetches a list of all categories.
     */
    list(params, options) {
        const { account_id } = params;
        return this._client.get(`/accounts/${account_id}/gateway/categories`, options)._thenUnwrap((obj) => obj.result);
    }
}
(function (Categories) {
})(Categories || (Categories = {}));
//# sourceMappingURL=categories.mjs.map