| | |
| | | // swift-interface-format-version: 1.0 |
| | | // swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) |
| | | // swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Didomi |
| | | // swift-module-flags-ignorable: -enable-bare-slash-regex |
| | | // swift-compiler-version: Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3) |
| | | // swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Didomi |
| | | // swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1 |
| | | import DeveloperToolsSupport |
| | | @_exported import Didomi |
| | | import Foundation |
| | |
| | | import _StringProcessing |
| | | import _SwiftConcurrencyShims |
| | | import os |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class LoadUserStatusResult : ObjectiveC.NSObject { |
| | | @objc final public let userStatus: CurrentUserStatus |
| | | @objc final public let syncDate: Swift.String |
| | | @objc final public let userAuth: any UserAuth |
| | | @objc final public let status: LoadUserStatusResult.Status |
| | | final public let error: LoadUserStatusResult.ErrorStatus? |
| | | @objc deinit |
| | | } |
| | | extension LoadUserStatusResult { |
| | | @objc public enum Status : Swift.Int, Swift.CustomStringConvertible { |
| | | case cached |
| | | case canceled |
| | | case invalid |
| | | case newUser |
| | | case synced |
| | | public var description: Swift.String { |
| | | get |
| | | } |
| | | public init?(rawValue: Swift.Int) |
| | | public typealias RawValue = Swift.Int |
| | | public var rawValue: Swift.Int { |
| | | get |
| | | } |
| | | } |
| | | } |
| | | extension LoadUserStatusResult { |
| | | @objc public enum ErrorStatus : Swift.Int, Swift.CustomStringConvertible { |
| | | case maxUserCountReached |
| | | case multiStorageDisabled |
| | | case syncDisabled |
| | | case syncFailed |
| | | case dcsSignatureFailed |
| | | public var description: Swift.String { |
| | | get |
| | | } |
| | | public init?(rawValue: Swift.Int) |
| | | public typealias RawValue = Swift.Int |
| | | public var rawValue: Swift.Int { |
| | | get |
| | | } |
| | | } |
| | | } |
| | | @objc public protocol UserAuth { |
| | | @objc var id: Swift.String { get } |
| | | @objc func isEqual(_ object: Any?) -> Swift.Bool |
| | |
| | | public var expiration: Foundation.TimeInterval? |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @objc @objcMembers public class UserAuthWithoutParams : ObjectiveC.NSObject, UserAuth, Swift.Codable { |
| | |
| | | @objc public var id: Swift.String |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithEncryptionParams : UserAuthParams { |
| | |
| | | @objc public var initializationVector: Swift.String |
| | | override public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithHashParams : UserAuthParams { |
| | |
| | | @objc public var digest: Swift.String |
| | | override public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | public struct DataProcessingNamespaces : Swift.Decodable { |
| | |
| | | @_hasMissingDesignatedInitializers @objc(DDMSyncReadyEvent) @objcMembers public class SyncReadyEvent : ObjectiveC.NSObject { |
| | | @objc final public let organizationUserId: Swift.String? |
| | | @objc final public let statusApplied: Swift.Bool |
| | | @objc final public let syncAcknowledged: (() -> Swift.Bool) |
| | | @objc final public let syncAcknowledged: () -> Swift.Bool |
| | | @objc deinit |
| | | } |
| | | @_inheritsConvenienceInitializers @objc public class Didomi : ObjectiveC.NSObject { |
| | |
| | | @objc public func initialize(_ parameters: DidomiInitializeParameters) |
| | | @objc public func setUserAgent(name: Swift.String, version: Swift.String) |
| | | @objc public func setUserConsentStatus(enabledPurposeIds: Swift.Set<Swift.String>, disabledPurposeIds: Swift.Set<Swift.String>, enabledVendorIds: Swift.Set<Swift.String>, disabledVendorIds: Swift.Set<Swift.String>) -> Swift.Bool |
| | | @available(*, deprecated, message: "Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C") |
| | | @objc public func isConsentRequired() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc public func isUserConsentStatusPartial() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc public func isUserLegitimateInterestStatusPartial() -> Swift.Bool |
| | | @discardableResult |
| | | @objc public func setUserStatus(purposesConsentStatus: Swift.Bool, purposesLIStatus: Swift.Bool, vendorsConsentStatus: Swift.Bool, vendorsLIStatus: Swift.Bool) -> Swift.Bool |
| | | @discardableResult |
| | |
| | | @objc public func setUserAgreeToAll() -> Swift.Bool |
| | | @discardableResult |
| | | @objc public func setUserDisagreeToAll() -> Swift.Bool |
| | | @objc public func onReady(callback: @escaping () -> Swift.Void) |
| | | @objc public func onReady(callback: @escaping @Sendable () -> Swift.Void) |
| | | @objc public func onError(callback: @escaping (DidomiErrorEvent) -> Swift.Void) |
| | | @objc public func addVendorStatusListener(id: Swift.String, _ callback: @escaping (CurrentUserStatus.VendorStatus) -> Swift.Void) |
| | | @objc public func removeVendorStatusListener(id: Swift.String) |
| | |
| | | @objc dynamic public func showNotice() |
| | | @objc dynamic public func hideNotice() |
| | | @objc dynamic public func isNoticeVisible() -> Swift.Bool |
| | | @available(*, deprecated, message: "Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C") |
| | | @objc dynamic public func isConsentRequired() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc dynamic public func shouldConsentBeCollected() -> Swift.Bool |
| | | @objc dynamic public func shouldUserStatusBeCollected() -> Swift.Bool |
| | | @objc dynamic public func isUserStatusPartial() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc dynamic public func isUserConsentStatusPartial() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc dynamic public func isUserLegitimateInterestStatusPartial() -> Swift.Bool |
| | | @objc dynamic public func showPreferences(controller: UIKit.UIViewController? = nil, view: Didomi.Views = .purposes) |
| | | @objc dynamic public func hidePreferences() |
| | | @objc dynamic public func isPreferencesVisible() -> Swift.Bool |
| | |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], dcsUser: UserAuthParams, isUnderage: Swift.Bool, containerController: UIKit.UIViewController) |
| | | @objc dynamic public func clearUser() |
| | | @objc dynamic public func clearAllUsers() |
| | | @objc dynamic public func loadUserStatuses(_ users: [DidomiUserParameters], callback: @escaping ([LoadUserStatusResult]) -> Swift.Void) |
| | | @available(*, deprecated, message: "Use getCurrentUserStatus() instead.") |
| | | @objc dynamic public func getUserStatus() -> UserStatus |
| | | @objc dynamic public func getCurrentUserStatus() -> CurrentUserStatus |
| | | @objc dynamic public func getCurrentUserStatus(userAuth: any UserAuth) -> CurrentUserStatus? |
| | | @objc dynamic public func setCurrentUserStatus(currentUserStatus: CurrentUserStatus) -> Swift.Bool |
| | | @objc dynamic public func openCurrentUserStatusTransaction() -> CurrentUserStatusTransaction |
| | | public func setLocalProperty(key: Swift.String, value: Any?) |
| | |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, containerController: UIKit.UIViewController? = nil) |
| | | @objc deinit |
| | | } |
| | | @objc @objcMembers public class DidomiMultiUserParameters : DidomiUserParameters { |
| | | public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Swift.Bool? = nil) |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class DidomiMultiUserParameters : DidomiUserParameters { |
| | | public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Swift.Bool? = nil, overrideMainStorage: Swift.Bool = true) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Foundation.NSNumber, overrideMainStorage: Swift.Bool = true) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Foundation.NSNumber) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, overrideMainStorage: Swift.Bool = true) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil) |
| | | @objc deinit |
| | | } |
| | |
| | | @objc final public let additionalConsent: Swift.String |
| | | @objc final public let regulation: Regulation |
| | | @objc final public let didomiDCS: Swift.String |
| | | @objc final public let gppString: Swift.String |
| | | @objc public init(purposes: [Swift.String : CurrentUserStatus.PurposeStatus] = [:], vendors: [Swift.String : CurrentUserStatus.VendorStatus] = [:]) |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc deinit |
| | |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | } |
| | | @objc dynamic public func shouldUserStatusBeCollected() -> Swift.Bool |
| | | } |
| | | @objc(DDMVendor) @objcMembers public class Vendor : ObjectiveC.NSObject, Swift.Encodable { |
| | | @objc final public let id: Swift.String |
| | |
| | | @objc deinit |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | } |
| | | extension LoadUserStatusResult.Status : Swift.Equatable {} |
| | | extension LoadUserStatusResult.Status : Swift.Hashable {} |
| | | extension LoadUserStatusResult.Status : Swift.RawRepresentable {} |
| | | extension LoadUserStatusResult.ErrorStatus : Swift.Equatable {} |
| | | extension LoadUserStatusResult.ErrorStatus : Swift.Hashable {} |
| | | extension LoadUserStatusResult.ErrorStatus : Swift.RawRepresentable {} |
| | | extension EventType : Swift.Equatable {} |
| | | extension EventType : Swift.Hashable {} |
| | | extension EventType : Swift.RawRepresentable {} |