// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as AccessRequestsAPI from 'cloudflaredev/resources/zero-trust/access/logs/access-requests';
export class AccessRequests extends 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);
    }
}
(function (AccessRequests) {
    AccessRequests.AccessRequests = AccessRequestsAPI.AccessRequests;
})(AccessRequests || (AccessRequests = {}));
//# sourceMappingURL=access-requests.mjs.map