From e102a35f312921b38603bcc0ee6cf46c1850b800 Mon Sep 17 00:00:00 2001 From: PiplaniVinay Date: Wed, 8 May 2024 14:42:06 +0530 Subject: [PATCH] ADST-48_SaveTask --- AlfrescoContent/AlfrescoContent.podspec | 2 +- .../Classes/Swaggers/Process/SaveTaskFormParams.swift | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/AlfrescoContent/AlfrescoContent.podspec b/AlfrescoContent/AlfrescoContent.podspec index e369d69..0f1017b 100644 --- a/AlfrescoContent/AlfrescoContent.podspec +++ b/AlfrescoContent/AlfrescoContent.podspec @@ -4,7 +4,7 @@ Pod::Spec.new do |s| s.osx.deployment_target = '10.14' s.tvos.deployment_target = '12.0' s.swift_version = '5.0' - s.version = '0.2.64' + s.version = '0.2.65' s.source = {:git => 'https://github.com/Alfresco/alfresco-ios-swift-api.git', :tag => 'content/'+s.version.to_s} s.authors = {'Alfresco' => 'mobile.alfresco@alfresco.com'} s.license = {:type => 'Apache License Version 2.0', :file => 'AlfrescoContent/LICENSE.md'} diff --git a/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Process/SaveTaskFormParams.swift b/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Process/SaveTaskFormParams.swift index dd1f6cc..4274895 100644 --- a/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Process/SaveTaskFormParams.swift +++ b/AlfrescoContent/AlfrescoContent/Classes/Swaggers/Process/SaveTaskFormParams.swift @@ -27,3 +27,14 @@ public struct SaveFormParams: Codable { self.comment = comment } } + +public struct SaveTaskParams: Codable { + public var outcome: String? + public var values: CodableDictionary? + + public init(outcome: String?, + params: [String: AnyEncodable]) { + self.outcome = outcome + self.values = CodableDictionary(params) + } +}