Skip to content

Commit

Permalink
1.1.15 (#53)
Browse files Browse the repository at this point in the history
* Update framework

* Update ViafouraCore.podspec

---------

Co-authored-by: CI <[email protected]>
  • Loading branch information
mdesimone-viafoura and CI authored Nov 6, 2024
1 parent b26fb0f commit dbbcc2a
Show file tree
Hide file tree
Showing 19 changed files with 2,573 additions and 1,976 deletions.
2 changes: 1 addition & 1 deletion ViafouraCore.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'ViafouraCore'
s.version = '1.1.14'
s.version = '1.1.15'
s.swift_versions = ['5.0']
s.summary = 'Viafoura SDK'
s.description = 'This SDK allows you to integrate Viafoura tools into your iOS app.'
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ extension VFSingleStoryError {
@objc deinit
}
extension VFLiveCommentsService {
public func createCommentReply(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String) async -> (Swift.Result<Foundation.UUID, VFCreateCommentReplyError>)
public func createCommentReply(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String, syndicationKey: Swift.String?) async -> (Swift.Result<Foundation.UUID, VFCreateCommentReplyError>)
}
public enum VFCreateCommentReplyError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -134,15 +134,15 @@ extension VFDeleteStoryError {
}
}
extension VFAuthenticationService {
public func getUserLoginStatus(completion: @escaping ((Swift.Result<VFLoginStatus, Swift.Never>) -> ()))
public func getUserLoginStatus(completion: @escaping ((Swift.Result<VFLoginStatus, Swift.Never>) -> Swift.Void))
public func getUserLoginStatus() async -> (Swift.Result<VFLoginStatus, Swift.Never>)
}
public enum VFLoginStatus {
case notLoggedIn
case loggedIn(userUUID: Foundation.UUID)
}
extension VFLiveCommentsService {
public func unflagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID) async -> (Swift.Result<Swift.Bool, VFUnflagCommentError>)
public func unflagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String?) async -> (Swift.Result<Swift.Bool, VFUnflagCommentError>)
}
public enum VFUnflagCommentError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -193,7 +193,7 @@ public struct ServerErrorData : Swift.Decodable {
public init(from decoder: any Swift.Decoder) throws
}
extension VFLiveCommentsService {
public func flagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, flagReason: Swift.String?) async -> (Swift.Result<Swift.Bool, VFFlagCommentError>)
public func flagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, flagReason: Swift.String?, syndicationKey: Swift.String?) async -> (Swift.Result<Swift.Bool, VFFlagCommentError>)
}
public enum VFFlagCommentError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -222,12 +222,12 @@ extension VFLikeReviewError {
}
}
public protocol VFLiveCommentsServiceProtocol {
func unflagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID) async -> (Swift.Result<Swift.Bool, VFUnflagCommentError>)
func flagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, flagReason: Swift.String?) async -> (Swift.Result<Swift.Bool, VFFlagCommentError>)
func likeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID) async -> (Swift.Result<Swift.Bool, VFLikeCommentError>)
func dislikeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID) async -> (Swift.Result<Swift.Bool, VFDislikeCommentError>)
func createComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String, mediaUUIDS: [Swift.String]) async -> (Swift.Result<Foundation.UUID, VFCreateCommentError>)
func createCommentReply(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String) async -> (Swift.Result<Foundation.UUID, VFCreateCommentReplyError>)
func unflagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String?) async -> (Swift.Result<Swift.Bool, VFUnflagCommentError>)
func flagComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, flagReason: Swift.String?, syndicationKey: Swift.String?) async -> (Swift.Result<Swift.Bool, VFFlagCommentError>)
func likeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String?) async -> (Swift.Result<Swift.Bool, VFLikeCommentError>)
func dislikeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String?) async -> (Swift.Result<Swift.Bool, VFDislikeCommentError>)
func createComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String, mediaUUIDS: [Swift.String], syndicationKey: Swift.String?) async -> (Swift.Result<Foundation.UUID, VFCreateCommentError>)
func createCommentReply(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String, syndicationKey: Swift.String?) async -> (Swift.Result<Foundation.UUID, VFCreateCommentReplyError>)
}
@_hasMissingDesignatedInitializers public class VFLiveCommentsService : VFLiveCommentsServiceProtocol {
@objc deinit
Expand Down Expand Up @@ -380,7 +380,7 @@ public struct EventTestInfo : Swift.Codable {
public init(from decoder: any Swift.Decoder) throws
}
extension VFLiveCommentsService {
public func dislikeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID) async -> (Swift.Result<Swift.Bool, VFDislikeCommentError>)
public func dislikeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String? = nil) async -> (Swift.Result<Swift.Bool, VFDislikeCommentError>)
}
public enum VFDislikeCommentError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -475,7 +475,7 @@ extension VFChatModerationListError {
}
}
extension VFAuthenticationService {
public func login(email: Swift.String, password: Swift.String, completion: @escaping ((Swift.Result<UserResponse, VFLoginError>) -> ()))
public func login(email: Swift.String, password: Swift.String, completion: @escaping ((Swift.Result<UserResponse, VFLoginError>) -> Swift.Void))
}
public enum VFLoginError : Foundation.LocalizedError {
case banned(banData: ServerErrorData)
Expand All @@ -497,7 +497,7 @@ extension VFAuthenticationService {
@objc deinit
}
extension VFLiveCommentsService {
public func likeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID) async -> (Swift.Result<Swift.Bool, VFLikeCommentError>)
public func likeComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String? = nil) async -> (Swift.Result<Swift.Bool, VFLikeCommentError>)
}
public enum VFLikeCommentError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -923,7 +923,7 @@ extension VFEditorPickCommentError {
}
}
extension VFAuthenticationService {
public func signup(name: Swift.String, email: Swift.String, password: Swift.String, recaptchaToken: Swift.String? = nil, completion: @escaping ((Swift.Result<UserResponse, VFSignUpError>) -> ()))
public func signup(name: Swift.String, email: Swift.String, password: Swift.String, recaptchaToken: Swift.String? = nil, completion: @escaping ((Swift.Result<UserResponse, VFSignUpError>) -> Swift.Void))
}
public enum VFSignUpError : Foundation.LocalizedError {
case unknown
Expand All @@ -939,7 +939,7 @@ extension VFSignUpError {
}
}
extension VFAuthenticationService {
public func socialLogin(token: Swift.String, provider: VFSocialLoginProvider, completion: @escaping ((Swift.Result<UserResponse, VFSocialLoginError>) -> ()))
public func socialLogin(token: Swift.String, provider: VFSocialLoginProvider, completion: @escaping ((Swift.Result<UserResponse, VFSocialLoginError>) -> Swift.Void))
}
public enum VFSocialLoginError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -1032,7 +1032,7 @@ extension VFFlagChatError {
}
}
extension VFAuthenticationService {
public func openIdLogin(token: Swift.String, completion: @escaping ((Swift.Result<UserResponse, VFOpenIdLoginError>) -> ()))
public func openIdLogin(token: Swift.String, completion: @escaping ((Swift.Result<UserResponse, VFOpenIdLoginError>) -> Swift.Void))
}
public enum VFOpenIdLoginError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -1077,7 +1077,7 @@ extension VFDeleteChatError {
}
}
extension VFLiveCommentsService {
public func createComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String, mediaUUIDS: [Swift.String]) async -> (Swift.Result<Foundation.UUID, VFCreateCommentError>)
public func createComment(sectionUUID: Foundation.UUID, contentContainerUUID: Foundation.UUID, articleMetadata: VFArticleMetadata, content: Swift.String, mediaUUIDS: [Swift.String], syndicationKey: Swift.String?) async -> (Swift.Result<Foundation.UUID, VFCreateCommentError>)
}
public enum VFCreateCommentError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -1253,7 +1253,7 @@ extension VFEditCommentError {
}
}
extension VFLiveReviewsService {
public func reviewCount(sectionUUID: Foundation.UUID? = nil, containerId: Swift.String, completion: @escaping ((Swift.Result<Swift.Int, VFReviewCountError>) -> ()))
public func reviewCount(sectionUUID: Foundation.UUID? = nil, containerId: Swift.String, completion: @escaping ((Swift.Result<Swift.Int, VFReviewCountError>) -> Swift.Void))
public func reviewCount(sectionUUID: Foundation.UUID? = nil, containerId: Swift.String) async throws -> (Swift.Result<Swift.Int, VFReviewCountError>)
}
public enum VFReviewCountError : Foundation.LocalizedError {
Expand Down Expand Up @@ -1305,7 +1305,7 @@ extension VFCreateReviewMediaError {
@objc deinit
}
extension VFAuthenticationService {
public func loginRadiusLogin(token: Swift.String, provider: VFSocialLoginProvider, completion: @escaping ((Swift.Result<UserResponse, VFLoginRadiusLoginError>) -> ()))
public func loginRadiusLogin(token: Swift.String, provider: VFSocialLoginProvider, completion: @escaping ((Swift.Result<UserResponse, VFLoginRadiusLoginError>) -> Swift.Void))
}
public enum VFLoginRadiusLoginError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -1475,7 +1475,7 @@ extension VFRemovePollError {
}
}
extension VFLiveCommentsService {
public func commentCount(sectionUUID: Foundation.UUID? = nil, containerId: Swift.String, completion: @escaping ((Swift.Result<Swift.Int, VFCommentCountError>) -> ()))
public func commentCount(sectionUUID: Foundation.UUID? = nil, containerId: Swift.String, completion: @escaping ((Swift.Result<Swift.Int, VFCommentCountError>) -> Swift.Void))
public func commentCount(sectionUUID: Foundation.UUID? = nil, containerId: Swift.String) async -> (Swift.Result<Swift.Int, VFCommentCountError>)
}
public enum VFCommentCountError : Foundation.LocalizedError {
Expand Down Expand Up @@ -1688,7 +1688,7 @@ extension VFCommentModerationListError {
@objc deinit
}
extension AnalyticsService {
public func logTyping(contentContainerUUID: Foundation.UUID, threadUUID: Foundation.UUID, contentUUID: Foundation.UUID)
public func logTyping(contentContainerUUID: Foundation.UUID, threadUUID: Foundation.UUID, contentUUID: Foundation.UUID, syndicationKey: Swift.String?)
}
public enum VFTrendingError : Foundation.LocalizedError {
case unknown
Expand Down Expand Up @@ -1895,7 +1895,7 @@ extension VFUpdateReviewsContainerSettingsError {
}
}
extension VFAuthenticationService {
public func cookieLogin(token: Swift.String, type: Swift.String = "viafouraDefinedCookie", completion: @escaping ((Swift.Result<VFCookieLoginData, VFCookieLoginError>) -> ()))
public func cookieLogin(token: Swift.String, type: Swift.String = "viafouraDefinedCookie", completion: @escaping ((Swift.Result<VFCookieLoginData, VFCookieLoginError>) -> Swift.Void))
}
public struct VFCookieLoginData {
}
Expand Down Expand Up @@ -2175,7 +2175,7 @@ public struct VFSettings : Swift.Equatable {
@objc deinit
}
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor @preconcurrency public class VFNewCommentViewController : VFUIViewController {
@_Concurrency.MainActor @preconcurrency public static func new(newCommentActionType: VFNewCommentActionType, containerType: VFCommentsContainerType = .conversations, containerId: Swift.String, articleMetadata: VFArticleMetadata, loginDelegate: any VFLoginDelegate, settings: VFSettings, sectionUUID: Foundation.UUID? = nil) -> VFNewCommentViewController
@_Concurrency.MainActor @preconcurrency public static func new(newCommentActionType: VFNewCommentActionType, containerType: VFCommentsContainerType = .conversations, containerId: Swift.String, articleMetadata: VFArticleMetadata, loginDelegate: any VFLoginDelegate, settings: VFSettings, syndicationKey: Swift.String? = nil, sectionUUID: Foundation.UUID? = nil) -> VFNewCommentViewController
@_Concurrency.MainActor @preconcurrency @objc override dynamic public func viewDidLoad()
@_Concurrency.MainActor @preconcurrency public func setTheme(theme: VFTheme)
@_Concurrency.MainActor @preconcurrency public func setActionCallbacks(callbacks: @escaping VFActionsCallbacks)
Expand Down Expand Up @@ -2214,7 +2214,7 @@ public enum WidgetType : Swift.String, Swift.Encodable {
}
}
extension VFAuthenticationService {
public func resetPassword(email: Swift.String, completion: @escaping ((Swift.Result<Swift.Bool, VFPasswordResetError>) -> ()))
public func resetPassword(email: Swift.String, completion: @escaping ((Swift.Result<Swift.Bool, VFPasswordResetError>) -> Swift.Void))
}
public enum VFPasswordResetError : Foundation.LocalizedError {
case unknown
Expand Down
Loading

0 comments on commit dbbcc2a

Please sign in to comment.