diff --git a/process/src/main/kotlin/com/alfresco/process/models/RequestCreateProcessInstance.kt b/process/src/main/kotlin/com/alfresco/process/models/RequestCreateProcessInstance.kt index 3be62c6..57ae0ec 100644 --- a/process/src/main/kotlin/com/alfresco/process/models/RequestCreateProcessInstance.kt +++ b/process/src/main/kotlin/com/alfresco/process/models/RequestCreateProcessInstance.kt @@ -12,5 +12,5 @@ import com.squareup.moshi.JsonClass data class RequestCreateProcessInstance( @Json(name = "name") @field:Json(name = "name") var name: String? = null, @Json(name = "processDefinitionId") @field:Json(name = "processDefinitionId") var processDefinitionId: String? = null, - @Json(name = "values") @field:Json(name = "values") var values: ValuesModel? = null + @Json(name = "values") @field:Json(name = "values") var values: Map? = null ) diff --git a/process/src/main/kotlin/com/alfresco/process/models/RequestOutcomes.kt b/process/src/main/kotlin/com/alfresco/process/models/RequestOutcomes.kt index baa1d7a..c194a6e 100644 --- a/process/src/main/kotlin/com/alfresco/process/models/RequestOutcomes.kt +++ b/process/src/main/kotlin/com/alfresco/process/models/RequestOutcomes.kt @@ -9,6 +9,6 @@ import com.squareup.moshi.JsonClass */ @JsonClass(generateAdapter = true) data class RequestOutcomes( - @Json(name = "values") @field:Json(name = "values") var values: ValuesModel? = null, + @Json(name = "values") @field:Json(name = "values") var values: Map? = null, @Json(name = "outcome") @field:Json(name = "outcome") var outcome: String? = null ) diff --git a/process/src/main/kotlin/com/alfresco/process/models/RequestSaveForm.kt b/process/src/main/kotlin/com/alfresco/process/models/RequestSaveForm.kt index fcf9a24..9fefe6c 100644 --- a/process/src/main/kotlin/com/alfresco/process/models/RequestSaveForm.kt +++ b/process/src/main/kotlin/com/alfresco/process/models/RequestSaveForm.kt @@ -8,5 +8,5 @@ import com.squareup.moshi.JsonClass */ @JsonClass(generateAdapter = true) data class RequestSaveForm( - @Json(name = "values") @field:Json(name = "values") var values: ValuesModel? = null + @Json(name = "values") @field:Json(name = "values") var values: Map? = null )