import { VantaCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { ResponseValidationError } from "../models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { VantaError } from "../models/errors/vantaerror.js"; import * as operations from "../models/operations/index.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * List code changes for an audit * * @remarks * Retrieves code changes population data for an audit. * * This endpoint provides access to code change records (pull requests) * visible to auditors during an audit engagement. * * Supports filtering by: * - `search`: Searches code change titles and repository names (case-insensitive) * - `sourcesMatchesAny`: Filters by version control source (accepted values: github, gitlab, bitbucket, azuredevops) * - `closedAfterDate` / `closedBeforeDate`: Filters by the closed date range * * Uses cursor-based pagination. To paginate: * 1. Make initial request with desired `pageSize` * 2. Check `results.pageInfo.hasNextPage` * 3. Use `results.pageInfo.endCursor` as `pageCursor` for next request * * Results are sorted by closed date (newest first). This sort order is * fixed and cannot be customized via query parameters. * * On an audit that covers more than one framework, each code change in * scope for any of the audit's frameworks is returned once. * * Audits with system segments are not supported by this endpoint. * * Only Controlled Audit View (CAV) audits are supported. Full Audit View * audits are rejected with 403. Returns 403 if the customer has not made * this population page visible to auditors. * * Rate limit: 10 requests / minute. */ export declare function auditsListCodeChanges(client: VantaCore, request: operations.ListCodeChangesRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsListCodeChanges.d.ts.map