diff --git a/Sources/DecreeServices/AppleAppStore.swift b/Sources/DecreeServices/AppleAppStore.swift index 61bf351..2d266b4 100644 --- a/Sources/DecreeServices/AppleAppStore.swift +++ b/Sources/DecreeServices/AppleAppStore.swift @@ -62,6 +62,10 @@ extension Apple.AppStore { public struct Output: Decodable { public let receipt: Receipt + + public init(receipt: Receipt) { + self.receipt = receipt + } } public init() {} @@ -102,6 +106,10 @@ extension Apple.AppStore { } public let inApp: [InApp] + + public init(inApp: [InApp]) { + self.inApp = inApp + } } } diff --git a/Sources/DecreeServices/FreshDesk.swift b/Sources/DecreeServices/FreshDesk.swift index 7f307b2..f61abb9 100644 --- a/Sources/DecreeServices/FreshDesk.swift +++ b/Sources/DecreeServices/FreshDesk.swift @@ -92,15 +92,15 @@ extension FreshDesk { case urgent } - let type: Kind? - let source: Source - let status: Status - let priority: Priority - let name: String? - let email: String - let subject: String - let description: String - let attachments: [File]? + public let type: Kind? + public let source: Source + public let status: Status + public let priority: Priority + public let name: String? + public let email: String + public let subject: String + public let description: String + public let attachments: [File]? /// Initialize a new tickekt ///