// File generated from our OpenAPI spec by Stainless.
import { APIResource } from 'cloudflare/resource';
import { isRequestOptions } from 'cloudflare/core';
import * as AuditLogsAPI from 'cloudflare/resources/user/audit-logs';
import { V4PagePaginationArray } from 'cloudflare/pagination';
export class AuditLogs extends APIResource {
    list(query = {}, options) {
        if (isRequestOptions(query)) {
            return this.list({}, query);
        }
        return this._client.getAPIList('/user/audit_logs', AuditLogListResponsesV4PagePaginationArray, {
            query,
            ...options,
        });
    }
}
export class AuditLogListResponsesV4PagePaginationArray extends V4PagePaginationArray {
}
(function (AuditLogs) {
    AuditLogs.AuditLogListResponsesV4PagePaginationArray = AuditLogsAPI.AuditLogListResponsesV4PagePaginationArray;
})(AuditLogs || (AuditLogs = {}));
//# sourceMappingURL=audit-logs.mjs.map