import * as z from "zod/v3"; import { InformationRequestCadence } from "./informationrequestcadence.js"; import { InformationRequestType } from "./informationrequesttype.js"; /** * Input for partially updating an information request. Only provided fields * * @remarks * will be updated; omitted fields remain unchanged. At least one field must * be provided. */ export type PartialUpdateInformationRequest = { /** * Framework codes are assigned only at creation; on update this field is a * * @remarks * silent no-op — a value sent here is accepted for backwards compatibility * but ignored, leaving the request's framework codes unchanged. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ frameworkCodes?: Array | undefined; /** * Detailed description of what evidence is needed. */ description?: string | null | undefined; /** * Deadline for fulfilling this request. Null if no deadline. * * @remarks * Format: ISO 8601 UTC timestamp. */ dueDate?: Date | null | undefined; /** * Start date of the audit period. Evidence before this date may not be accepted. * * @remarks * Null if not restricted. Format: ISO 8601 UTC timestamp. */ evidenceCaptureDate?: Date | null | undefined; /** * Type of information request, defining what scope of evidence is needed. * * @remarks * * - POINT_IN_TIME: Evidence for a specific moment (e.g., current state of a policy) * - POPULATION: Evidence covering all items in a category (e.g., all employees) * - SAMPLE: Evidence for a representative sample (e.g., 10 random customer records) */ requestType?: InformationRequestType | undefined; /** * Short, descriptive title. */ title?: string | undefined; /** * Frequency cadence for the information request, indicating how often it recurs. */ cadence?: InformationRequestCadence | undefined; /** * This legacy field is accepted for backwards compatibility but ignored. * * @remarks * Use `linkedControlIds` to replace the complete set of linked controls. * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ additionalControlIds?: Array | undefined; /** * The complete desired set of control IDs linked to this request. Send the * * @remarks * full list to replace the set, an empty array to clear it, or omit the * property to leave links unchanged. Each ID must identify an existing control * in the customer's organization and is returned by the audit controls * endpoint. The request is rejected if any ID does not match a control. */ linkedControlIds?: Array | undefined; }; /** @internal */ export type PartialUpdateInformationRequest$Outbound = { frameworkCodes?: Array | undefined; description?: string | null | undefined; dueDate?: string | null | undefined; evidenceCaptureDate?: string | null | undefined; requestType?: string | undefined; title?: string | undefined; cadence?: string | undefined; additionalControlIds?: Array | undefined; linkedControlIds?: Array | undefined; }; /** @internal */ export declare const PartialUpdateInformationRequest$outboundSchema: z.ZodType; export declare function partialUpdateInformationRequestToJSON(partialUpdateInformationRequest: PartialUpdateInformationRequest): string; //# sourceMappingURL=partialupdateinformationrequest.d.ts.map