// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import { isRequestOptions } from 'cloudflaredev/core';
import { AuditLogsV4PagePaginationArray } from 'cloudflaredev/resources/shared';
export class AuditLogs extends APIResource {
    list(query = {}, options) {
        if (isRequestOptions(query)) {
            return this.list({}, query);
        }
        return this._client.getAPIList('/user/audit_logs', AuditLogsV4PagePaginationArray, { query, ...options });
    }
}
(function (AuditLogs) {
})(AuditLogs || (AuditLogs = {}));
export { AuditLogsV4PagePaginationArray };
//# sourceMappingURL=audit-logs.mjs.map