"use strict";
// File generated from our OpenAPI spec by Stainless.
Object.defineProperty(exports, "__esModule", { value: true });
exports.AccessRequests = void 0;
const resource_1 = require("cloudflare/resource");
class AccessRequests extends resource_1.APIResource {
    /**
     * Gets a list of Access authentication audit logs for an account.
     */
    list(identifier, options) {
        return this._client.get(`/accounts/${identifier}/access/logs/access_requests`, options)._thenUnwrap((obj) => obj.result);
    }
}
exports.AccessRequests = AccessRequests;
(function (AccessRequests) {
})(AccessRequests = exports.AccessRequests || (exports.AccessRequests = {}));
//# sourceMappingURL=access-requests.js.map