     defstruct fourfour: nil
   end
 
+  defmodule DeleteApprovalsSubmissions do
+    defstruct fourfour: nil,
+    catalog_revision_id: nil
+  end
+
   defmodule CreateView do
     defstruct name: nil,
     properties: %{}


  def drop_working_copy(%Write{} = w, fourfour) do
    operation = %DropWorkingCopy{fourfour: fourfour}
    %{ w | operations: [operation | w.operations] }
  end



  defp do_run(%DropWorkingCopy{fourfour: fourfour}, w) do
    Http.delete("/views/#{Http.encode(fourfour)}", w)
  end

  defp do_run(%DeleteApprovalsSubmissions{} = das, w) do
    Http.delete("/views/#{Http.encode(das.fourfour)}/approvals/#{Http.encode(das.catalog_revision_id)}?method=deleteExternalAssetSubmissions", w)
  end

  defp do_run(%Upsert{rows: rows} = u, w) when is_list(rows) do
