--- title: "ApplyPatchCallOperationDiffDoneEvent" --- Emitted when `operation.diff` streaming completes for an `apply_patch_call`. ## Fields | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | `diff` | *str* | :heavy_check_mark: | N/A | | `item_id` | *str* | :heavy_check_mark: | N/A | | `output_index` | *int* | :heavy_check_mark: | N/A | | `sequence_number` | *int* | :heavy_check_mark: | N/A | | `type` | [components.ApplyPatchCallOperationDiffDoneEventType](../components/applypatchcalloperationdiffdoneeventtype.mdx) | :heavy_check_mark: | N/A |