fix artifact delivery id implementation
[sdc.git] / catalog-ui / src / app / models / operation.ts
index d36b72a..d9d0858 100644 (file)
@@ -38,6 +38,8 @@ export class BEOperationModel {
     workflowId: string;
     workflowVersionId: string;
 
+    implementation?: { artifactUUID: string; };
+
     constructor(operation?: any) {
         if (operation) {
             this.name = operation.name;
@@ -50,6 +52,7 @@ export class BEOperationModel {
             this.workflowAssociationType = operation.workflowAssociationType;
             this.workflowId = operation.workflowId;
             this.workflowVersionId = operation.workflowVersionId;
+            this.implementation = operation.implementation;
         }
     }
 
@@ -87,17 +90,6 @@ export class OperationModel extends BEOperationModel {
     }
 }
 
-export class CreateOperationResponse extends OperationModel {
-    artifactUUID: string;
-
-    constructor(operation?: any) {
-        super(operation);
-        if (operation) {
-            this.artifactUUID = operation.artifactUUID;
-        }
-    }
-}
-
 export class InterfaceModel {
     type: string;
     uniqueId: string;