"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.PermissionGroups = void 0;
const resource_1 = require("cloudflare/resource");
class PermissionGroups extends resource_1.APIResource {
    /**
     * Find all available permission groups.
     */
    list(options) {
        return this._client.get('/user/tokens/permission_groups', options)._thenUnwrap((obj) => obj.result);
    }
}
exports.PermissionGroups = PermissionGroups;
(function (PermissionGroups) {
})(PermissionGroups = exports.PermissionGroups || (exports.PermissionGroups = {}));
//# sourceMappingURL=permission-groups.js.map