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 comments for an information request * * @remarks * Retrieves a paginated list of comments for an information request, enabling * auditors to view communication history and collaborate with customers. * * This endpoint always includes soft-deleted records (where `deletionDate !== null`). * Clients should check the `deletionDate` field to identify and handle deleted records * appropriately in their systems. * * If the information request itself has been deleted, this endpoint returns a * 4xx HTTP error instead of its comments. * * This endpoint supports delta synchronization via the `changedSinceDate` parameter, * allowing efficient polling for changes without retrieving the entire dataset. * * Pagination usage: * 1. Make initial request with desired `pageSize` * 2. Check `results.pageInfo.hasNextPage` to see if more data exists * 3. If true, use `results.pageInfo.endCursor` as `pageCursor` in next request * 4. Repeat until `hasNextPage` is false * * Delta sync usage: * 1. Store the timestamp of your last sync * 2. Pass that timestamp as `changedSinceDate` * 3. Only comments created, modified, or deleted since that timestamp are returned * 4. Process updates, including soft-deletes (deletionDate !== null) * 5. Update your last sync timestamp to the current time * * Rate limit: 50 requests / minute. */ export declare function auditsListCommentsForInformationRequest(client: VantaCore, request: operations.ListCommentsForInformationRequestRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=auditsListCommentsForInformationRequest.d.ts.map