code: public ApiSuccessResponse setCompleted(String id, CompletedData completedData) throws ApiException {
          ApiResponse<ApiSuccessResponse> resp = setCompletedWithHttpInfo(id, completedData);
          return resp.getData();
      }
docs: Set the interaction as being completed
  
  @param id id of the Interaction (required)
  @param completedData  (optional)
  @return ApiSuccessResponse
  @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body