diff --git a/GliaCoreSDK.podspec b/GliaCoreSDK.podspec index 901c837..7124b34 100644 --- a/GliaCoreSDK.podspec +++ b/GliaCoreSDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GliaCoreSDK' - s.version = '1.1.5' + s.version = '1.1.6' s.summary = 'The Glia Core SDK' s.description = 'The Glia Core SDK brings the in-person customer experience to iOS devices.' s.homepage = 'https://www.glia.com/' diff --git a/GliaCoreSDK.xcframework/Info.plist b/GliaCoreSDK.xcframework/Info.plist index f25594f..c38cc43 100644 --- a/GliaCoreSDK.xcframework/Info.plist +++ b/GliaCoreSDK.xcframework/Info.plist @@ -6,30 +6,30 @@ LibraryIdentifier - ios-arm64_x86_64-simulator + ios-arm64 LibraryPath GliaCoreSDK.framework SupportedArchitectures arm64 - x86_64 SupportedPlatform ios - SupportedPlatformVariant - simulator LibraryIdentifier - ios-arm64 + ios-arm64_x86_64-simulator LibraryPath GliaCoreSDK.framework SupportedArchitectures arm64 + x86_64 SupportedPlatform ios + SupportedPlatformVariant + simulator CFBundlePackageType diff --git a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/GliaCoreSDK b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/GliaCoreSDK index 4fec440..d87b5fb 100755 Binary files a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/GliaCoreSDK and b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/GliaCoreSDK differ diff --git a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h index 6e918ca..769e51a 100644 --- a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h +++ b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h @@ -482,6 +482,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + + + @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Deprecated. - (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, GliaCoreError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use `GliaCore.CallVisualizer` to request visitor code."); @@ -497,10 +500,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ - - - - @class MediaUpgradeOffer; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -534,6 +533,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + + enum LogLevel : NSInteger; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -550,13 +551,14 @@ enum LogLevel : NSInteger; @end - @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Clear the use session of the client library - (void)clearSession; @end + + @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Uploads a file to an engagement. The uploaded file can be later sent as part of a chat message attachments. /// If Glia’s servers require a security check for the uploaded file, then it will be triggered automatically. The completion @@ -621,9 +623,6 @@ enum LogLevel : NSInteger; - - - @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Unavailable. - (BOOL)configureWithSite:(NSString * _Nonnull)site error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE_MSG("Use `GliaCore.configure(_ configuration: Configuration)` instead."); @@ -633,6 +632,8 @@ enum LogLevel : NSInteger; + + @class Message; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) diff --git a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.abi.json b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.abi.json index c9a56d6..8ea611b 100644 --- a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.abi.json +++ b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.abi.json @@ -737,8 +737,8 @@ "children": [ { "kind": "Var", - "name": "natural", - "printedName": "natural", + "name": "visitorHungUp", + "printedName": "visitorHungUp", "children": [ { "kind": "TypeFunc", @@ -768,8 +768,48 @@ } ], "declKind": "EnumElement", - "usr": "s:11GliaCoreSDK22EngagementEndingReasonO7naturalyA2CmF", - "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO7naturalyA2CmF", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO13visitorHungUpyA2CmF", + "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO13visitorHungUpyA2CmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "operatorHungUp", + "printedName": "operatorHungUp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.EngagementEndingReason.Type) -> GliaCoreSDK.EngagementEndingReason", + "children": [ + { + "kind": "TypeNominal", + "name": "EngagementEndingReason", + "printedName": "GliaCoreSDK.EngagementEndingReason", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.EngagementEndingReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "EngagementEndingReason", + "printedName": "GliaCoreSDK.EngagementEndingReason", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO14operatorHungUpyA2CmF", + "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO14operatorHungUpyA2CmF", "moduleName": "GliaCoreSDK", "declAttributes": [ "RawDocComment" @@ -27433,6 +27473,268 @@ } ] }, + { + "kind": "TypeDecl", + "name": "ConfigurationProcessError", + "printedName": "ConfigurationProcessError", + "children": [ + { + "kind": "Var", + "name": "invalidSiteApiKeyCredentials", + "printedName": "invalidSiteApiKeyCredentials", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO28invalidSiteApiKeyCredentialsyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO28invalidSiteApiKeyCredentialsyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "siteSettingsRetrieval", + "printedName": "siteSettingsRetrieval", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO21siteSettingsRetrievalyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO21siteSettingsRetrievalyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "localeRetrieval", + "printedName": "localeRetrieval", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO15localeRetrievalyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO15localeRetrievalyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO2eeoiySbAE_AEtFZ", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO2eeoiySbAE_AEtFZ", + "moduleName": "GliaCoreSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivp", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivp", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivg", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO4hash4intoys6HasherVz_tF", + "moduleName": "GliaCoreSDK", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, { "kind": "Function", "name": "configure", @@ -27480,6 +27782,67 @@ "usr": "s:11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_yycSgtF", "mangledName": "$s11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_yycSgtF", "moduleName": "GliaCoreSDK", + "deprecated": true, + "declAttributes": [ + "Final", + "AccessControl", + "Available" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "configure", + "printedName": "configure(with:completion:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "GliaCoreSDK.GliaCore.Configuration", + "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Result<(), Swift.Error>) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Result", + "printedName": "Swift.Result<(), Swift.Error>", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:s6ResultO" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_ys6ResultOyyts5Error_pGctF", + "mangledName": "$s11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_ys6ResultOyyts5Error_pGctF", + "moduleName": "GliaCoreSDK", "declAttributes": [ "Final", "AccessControl", @@ -27747,7 +28110,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(siteId:region:authorizingMethod:pushNotifications:)", + "printedName": "init(siteId:region:authorizingMethod:pushNotifications:manualLocaleOverride:)", "children": [ { "kind": "TypeNominal", @@ -27779,11 +28142,26 @@ "printedName": "GliaCoreSDK.GliaCore.Configuration.PushNotifications", "hasDefaultArg": true, "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV17PushNotificationsO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotificationsAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OtKcfc", - "mangledName": "$s11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotificationsAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OtKcfc", + "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotifications20manualLocaleOverrideAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OSSSgtKcfc", + "mangledName": "$s11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotifications20manualLocaleOverrideAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OSSSgtKcfc", "moduleName": "GliaCoreSDK", "declAttributes": [ "AccessControl", @@ -32783,6 +33161,13 @@ "declKind": "Import", "moduleName": "GliaCoreSDK" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "GliaCoreSDK" + }, { "kind": "TypeDecl", "name": "QueueForEngagementOptions", @@ -33751,6 +34136,13 @@ "declKind": "Import", "moduleName": "GliaCoreSDK" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "GliaCoreSDK" + }, { "kind": "TypeDecl", "name": "MediaUpgradeOffer", @@ -34652,7 +35044,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogClient.swift", "kind": "IntegerLiteral", - "offset": 541, + "offset": 517, "length": 1, "value": "0" }, @@ -34771,14 +35163,14 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Configurable.swift", "kind": "StringLiteral", - "offset": 8707, + "offset": 10129, "length": 18, "value": "\"https:\/\/glia.com\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Configurable.swift", "kind": "StringLiteral", - "offset": 8811, + "offset": 10233, "length": 17, "value": "\"https:\/\/glia.eu\"" }, @@ -35016,7 +35408,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogger.swift", "kind": "IntegerLiteral", - "offset": 200, + "offset": 216, "length": 1, "value": "3" }, @@ -35065,42 +35457,42 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogRepository.swift", "kind": "IntegerLiteral", - "offset": 74, + "offset": 205, "length": 2, "value": "24" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogRepository.swift", "kind": "IntegerLiteral", - "offset": 98, + "offset": 274, "length": 3, "value": "500" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 848, + "offset": 983, "length": 12, "value": "\"engagement\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 892, + "offset": 1027, "length": 7, "value": "\"omniq\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 848, + "offset": 983, "length": 12, "value": "\"engagement\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 892, + "offset": 1027, "length": 7, "value": "\"omniq\"" }, @@ -36752,28 +37144,154 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2809, + "offset": 1071, + "length": 17, + "value": "\"visitor_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1115, + "length": 18, + "value": "\"operator_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1157, + "length": 14, + "value": "\"visitor_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1196, + "length": 15, + "value": "\"operator_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1259, + "length": 24, + "value": "\"requires_visitor_input\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1316, + "length": 23, + "value": "\"visitor_authenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1374, + "length": 25, + "value": "\"visitor_unauthenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1429, + "length": 21, + "value": "\"visitor_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1489, + "length": 31, + "value": "\"external_operator_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1071, + "length": 17, + "value": "\"visitor_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1115, + "length": 18, + "value": "\"operator_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1157, + "length": 14, + "value": "\"visitor_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1196, + "length": 15, + "value": "\"operator_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1259, + "length": 24, + "value": "\"requires_visitor_input\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1316, + "length": 23, + "value": "\"visitor_authenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1374, + "length": 25, + "value": "\"visitor_unauthenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1429, + "length": 21, + "value": "\"visitor_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1489, + "length": 31, + "value": "\"external_operator_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 3362, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2851, + "offset": 3404, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2809, + "offset": 3362, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2851, + "offset": 3404, "length": 10, "value": "\"operator\"" }, @@ -37426,7 +37944,7 @@ "kind": "StringLiteral", "offset": 433, "length": 7, - "value": "\"1.1.5\"" + "value": "\"1.1.6\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Medra\/Channel\/NamespacedChannel.swift", @@ -37529,35 +38047,35 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 17085, + "offset": 17348, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52422, + "offset": 52685, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52481, + "offset": 52744, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52422, + "offset": 52685, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52481, + "offset": 52744, "length": 23, "value": "\"capabilities:response\"" }, @@ -37816,63 +38334,63 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 265, + "offset": 271, "length": 5, "value": "\"❌\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 294, + "offset": 300, "length": 8, "value": "\"⚠️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 323, + "offset": 329, "length": 8, "value": "\"ℹ️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 353, + "offset": 359, "length": 6, "value": "\"🔎\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 265, + "offset": 271, "length": 5, "value": "\"❌\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 294, + "offset": 300, "length": 8, "value": "\"⚠️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 323, + "offset": 329, "length": 8, "value": "\"ℹ️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 353, + "offset": 359, "length": 6, "value": "\"🔎\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "Dictionary", - "offset": 720, + "offset": 925, "length": 3, "value": "[]" }, @@ -37900,21 +38418,21 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "FloatLiteral", - "offset": 373, + "offset": 468, "length": 3, "value": "3.0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "FloatLiteral", - "offset": 467, + "offset": 562, "length": 3, "value": "1.0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "StringLiteral", - "offset": 6931, + "offset": 7727, "length": 14, "value": "\"SetupAccount\"" } diff --git a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.private.swiftinterface b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.private.swiftinterface index 6b93981..01ee499 100644 --- a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +++ b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.private.swiftinterface @@ -46,7 +46,8 @@ public struct EngagementOptions { public init(mediaDirection: GliaCoreSDK.MediaDirection? = nil) } public enum EngagementEndingReason { - case natural + case visitorHungUp + case operatorHungUp case error public static func == (a: GliaCoreSDK.EngagementEndingReason, b: GliaCoreSDK.EngagementEndingReason) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) @@ -136,7 +137,20 @@ public protocol MediaHandling { public protocol Interactable : GliaCoreSDK.EngagementHandling, GliaCoreSDK.ErrorHandling, GliaCoreSDK.MediaHandling, GliaCoreSDK.MessageHandling { } extension GliaCoreSDK.GliaCore { + public enum ConfigurationProcessError : Swift.Error { + case invalidSiteApiKeyCredentials + case siteSettingsRetrieval + case localeRetrieval + public static func == (a: GliaCoreSDK.GliaCore.ConfigurationProcessError, b: GliaCoreSDK.GliaCore.ConfigurationProcessError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } + public typealias ConfigureCompletion = ((Swift.Result) -> Swift.Void) + @available(*, deprecated, message: "Use the `configure` method that provides a `Result` in its completion.") final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: (() -> Swift.Void)? = nil) + final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: @escaping GliaCoreSDK.GliaCore.ConfigureCompletion) final public func configure(interactor: GliaCoreSDK.Interactable) } extension GliaCoreSDK.GliaCore { @@ -151,7 +165,7 @@ extension GliaCoreSDK.GliaCore { public static func custom(_ host: Foundation.URL) -> GliaCoreSDK.GliaCore.Region } public struct Configuration { - public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled) throws + public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled, manualLocaleOverride: Swift.String? = nil) throws } } extension GliaCoreSDK.GliaCore.Configuration { @@ -1199,6 +1213,8 @@ extension GliaCoreSDK.EngagementEndingReason : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.Equatable {} extension GliaCoreSDK.PushNotificationsType : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.RawRepresentable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Equatable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Hashable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Equatable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Hashable {} extension GliaCoreSDK.Message.Metadata.CodingKeys : Swift.Equatable {} diff --git a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftdoc b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftdoc index 543c7df..ad3322b 100644 Binary files a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftdoc and b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftdoc differ diff --git a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftinterface b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftinterface index 6b93981..01ee499 100644 --- a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftinterface +++ b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios.swiftinterface @@ -46,7 +46,8 @@ public struct EngagementOptions { public init(mediaDirection: GliaCoreSDK.MediaDirection? = nil) } public enum EngagementEndingReason { - case natural + case visitorHungUp + case operatorHungUp case error public static func == (a: GliaCoreSDK.EngagementEndingReason, b: GliaCoreSDK.EngagementEndingReason) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) @@ -136,7 +137,20 @@ public protocol MediaHandling { public protocol Interactable : GliaCoreSDK.EngagementHandling, GliaCoreSDK.ErrorHandling, GliaCoreSDK.MediaHandling, GliaCoreSDK.MessageHandling { } extension GliaCoreSDK.GliaCore { + public enum ConfigurationProcessError : Swift.Error { + case invalidSiteApiKeyCredentials + case siteSettingsRetrieval + case localeRetrieval + public static func == (a: GliaCoreSDK.GliaCore.ConfigurationProcessError, b: GliaCoreSDK.GliaCore.ConfigurationProcessError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } + public typealias ConfigureCompletion = ((Swift.Result) -> Swift.Void) + @available(*, deprecated, message: "Use the `configure` method that provides a `Result` in its completion.") final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: (() -> Swift.Void)? = nil) + final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: @escaping GliaCoreSDK.GliaCore.ConfigureCompletion) final public func configure(interactor: GliaCoreSDK.Interactable) } extension GliaCoreSDK.GliaCore { @@ -151,7 +165,7 @@ extension GliaCoreSDK.GliaCore { public static func custom(_ host: Foundation.URL) -> GliaCoreSDK.GliaCore.Region } public struct Configuration { - public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled) throws + public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled, manualLocaleOverride: Swift.String? = nil) throws } } extension GliaCoreSDK.GliaCore.Configuration { @@ -1199,6 +1213,8 @@ extension GliaCoreSDK.EngagementEndingReason : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.Equatable {} extension GliaCoreSDK.PushNotificationsType : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.RawRepresentable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Equatable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Hashable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Equatable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Hashable {} extension GliaCoreSDK.Message.Metadata.CodingKeys : Swift.Equatable {} diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/GliaCoreSDK b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/GliaCoreSDK index 5df717a..e8c08ee 100755 Binary files a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/GliaCoreSDK and b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/GliaCoreSDK differ diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h index 76264d7..78aa314 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h @@ -482,6 +482,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + + + @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Deprecated. - (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, GliaCoreError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use `GliaCore.CallVisualizer` to request visitor code."); @@ -497,10 +500,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ - - - - @class MediaUpgradeOffer; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -534,6 +533,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + + enum LogLevel : NSInteger; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -550,13 +551,14 @@ enum LogLevel : NSInteger; @end - @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Clear the use session of the client library - (void)clearSession; @end + + @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Uploads a file to an engagement. The uploaded file can be later sent as part of a chat message attachments. /// If Glia’s servers require a security check for the uploaded file, then it will be triggered automatically. The completion @@ -621,9 +623,6 @@ enum LogLevel : NSInteger; - - - @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Unavailable. - (BOOL)configureWithSite:(NSString * _Nonnull)site error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE_MSG("Use `GliaCore.configure(_ configuration: Configuration)` instead."); @@ -633,6 +632,8 @@ enum LogLevel : NSInteger; + + @class Message; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -1842,6 +1843,9 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + + + @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Deprecated. - (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, GliaCoreError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use `GliaCore.CallVisualizer` to request visitor code."); @@ -1857,10 +1861,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ - - - - @class MediaUpgradeOffer; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -1894,6 +1894,8 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + + enum LogLevel : NSInteger; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -1910,13 +1912,14 @@ enum LogLevel : NSInteger; @end - @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Clear the use session of the client library - (void)clearSession; @end + + @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Uploads a file to an engagement. The uploaded file can be later sent as part of a chat message attachments. /// If Glia’s servers require a security check for the uploaded file, then it will be triggered automatically. The completion @@ -1981,9 +1984,6 @@ enum LogLevel : NSInteger; - - - @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) /// Unavailable. - (BOOL)configureWithSite:(NSString * _Nonnull)site error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE_MSG("Use `GliaCore.configure(_ configuration: Configuration)` instead."); @@ -1993,6 +1993,8 @@ enum LogLevel : NSInteger; + + @class Message; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.abi.json b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.abi.json index 5cb92ff..5b13458 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.abi.json +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.abi.json @@ -737,8 +737,8 @@ "children": [ { "kind": "Var", - "name": "natural", - "printedName": "natural", + "name": "visitorHungUp", + "printedName": "visitorHungUp", "children": [ { "kind": "TypeFunc", @@ -768,8 +768,48 @@ } ], "declKind": "EnumElement", - "usr": "s:11GliaCoreSDK22EngagementEndingReasonO7naturalyA2CmF", - "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO7naturalyA2CmF", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO13visitorHungUpyA2CmF", + "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO13visitorHungUpyA2CmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "operatorHungUp", + "printedName": "operatorHungUp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.EngagementEndingReason.Type) -> GliaCoreSDK.EngagementEndingReason", + "children": [ + { + "kind": "TypeNominal", + "name": "EngagementEndingReason", + "printedName": "GliaCoreSDK.EngagementEndingReason", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.EngagementEndingReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "EngagementEndingReason", + "printedName": "GliaCoreSDK.EngagementEndingReason", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO14operatorHungUpyA2CmF", + "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO14operatorHungUpyA2CmF", "moduleName": "GliaCoreSDK", "declAttributes": [ "RawDocComment" @@ -27433,6 +27473,268 @@ } ] }, + { + "kind": "TypeDecl", + "name": "ConfigurationProcessError", + "printedName": "ConfigurationProcessError", + "children": [ + { + "kind": "Var", + "name": "invalidSiteApiKeyCredentials", + "printedName": "invalidSiteApiKeyCredentials", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO28invalidSiteApiKeyCredentialsyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO28invalidSiteApiKeyCredentialsyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "siteSettingsRetrieval", + "printedName": "siteSettingsRetrieval", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO21siteSettingsRetrievalyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO21siteSettingsRetrievalyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "localeRetrieval", + "printedName": "localeRetrieval", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO15localeRetrievalyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO15localeRetrievalyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO2eeoiySbAE_AEtFZ", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO2eeoiySbAE_AEtFZ", + "moduleName": "GliaCoreSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivp", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivp", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivg", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO4hash4intoys6HasherVz_tF", + "moduleName": "GliaCoreSDK", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, { "kind": "Function", "name": "configure", @@ -27480,6 +27782,67 @@ "usr": "s:11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_yycSgtF", "mangledName": "$s11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_yycSgtF", "moduleName": "GliaCoreSDK", + "deprecated": true, + "declAttributes": [ + "Final", + "AccessControl", + "Available" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "configure", + "printedName": "configure(with:completion:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "GliaCoreSDK.GliaCore.Configuration", + "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Result<(), Swift.Error>) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Result", + "printedName": "Swift.Result<(), Swift.Error>", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:s6ResultO" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_ys6ResultOyyts5Error_pGctF", + "mangledName": "$s11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_ys6ResultOyyts5Error_pGctF", + "moduleName": "GliaCoreSDK", "declAttributes": [ "Final", "AccessControl", @@ -27747,7 +28110,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(siteId:region:authorizingMethod:pushNotifications:)", + "printedName": "init(siteId:region:authorizingMethod:pushNotifications:manualLocaleOverride:)", "children": [ { "kind": "TypeNominal", @@ -27779,11 +28142,26 @@ "printedName": "GliaCoreSDK.GliaCore.Configuration.PushNotifications", "hasDefaultArg": true, "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV17PushNotificationsO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotificationsAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OtKcfc", - "mangledName": "$s11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotificationsAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OtKcfc", + "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotifications20manualLocaleOverrideAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OSSSgtKcfc", + "mangledName": "$s11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotifications20manualLocaleOverrideAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OSSSgtKcfc", "moduleName": "GliaCoreSDK", "declAttributes": [ "AccessControl", @@ -32783,6 +33161,13 @@ "declKind": "Import", "moduleName": "GliaCoreSDK" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "GliaCoreSDK" + }, { "kind": "TypeDecl", "name": "QueueForEngagementOptions", @@ -33751,6 +34136,13 @@ "declKind": "Import", "moduleName": "GliaCoreSDK" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "GliaCoreSDK" + }, { "kind": "TypeDecl", "name": "MediaUpgradeOffer", @@ -34652,7 +35044,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogClient.swift", "kind": "IntegerLiteral", - "offset": 541, + "offset": 517, "length": 1, "value": "0" }, @@ -34771,14 +35163,14 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Configurable.swift", "kind": "StringLiteral", - "offset": 8707, + "offset": 10129, "length": 18, "value": "\"https:\/\/glia.com\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Configurable.swift", "kind": "StringLiteral", - "offset": 8811, + "offset": 10233, "length": 17, "value": "\"https:\/\/glia.eu\"" }, @@ -35016,7 +35408,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogger.swift", "kind": "IntegerLiteral", - "offset": 200, + "offset": 216, "length": 1, "value": "3" }, @@ -35065,42 +35457,42 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogRepository.swift", "kind": "IntegerLiteral", - "offset": 74, + "offset": 205, "length": 2, "value": "24" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogRepository.swift", "kind": "IntegerLiteral", - "offset": 98, + "offset": 274, "length": 3, "value": "500" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 848, + "offset": 983, "length": 12, "value": "\"engagement\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 892, + "offset": 1027, "length": 7, "value": "\"omniq\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 848, + "offset": 983, "length": 12, "value": "\"engagement\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 892, + "offset": 1027, "length": 7, "value": "\"omniq\"" }, @@ -36752,28 +37144,154 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2809, + "offset": 1071, + "length": 17, + "value": "\"visitor_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1115, + "length": 18, + "value": "\"operator_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1157, + "length": 14, + "value": "\"visitor_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1196, + "length": 15, + "value": "\"operator_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1259, + "length": 24, + "value": "\"requires_visitor_input\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1316, + "length": 23, + "value": "\"visitor_authenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1374, + "length": 25, + "value": "\"visitor_unauthenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1429, + "length": 21, + "value": "\"visitor_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1489, + "length": 31, + "value": "\"external_operator_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1071, + "length": 17, + "value": "\"visitor_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1115, + "length": 18, + "value": "\"operator_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1157, + "length": 14, + "value": "\"visitor_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1196, + "length": 15, + "value": "\"operator_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1259, + "length": 24, + "value": "\"requires_visitor_input\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1316, + "length": 23, + "value": "\"visitor_authenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1374, + "length": 25, + "value": "\"visitor_unauthenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1429, + "length": 21, + "value": "\"visitor_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1489, + "length": 31, + "value": "\"external_operator_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 3362, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2851, + "offset": 3404, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2809, + "offset": 3362, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2851, + "offset": 3404, "length": 10, "value": "\"operator\"" }, @@ -37426,7 +37944,7 @@ "kind": "StringLiteral", "offset": 433, "length": 7, - "value": "\"1.1.5\"" + "value": "\"1.1.6\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Medra\/Channel\/NamespacedChannel.swift", @@ -37529,35 +38047,35 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 17085, + "offset": 17348, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52422, + "offset": 52685, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52481, + "offset": 52744, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52422, + "offset": 52685, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52481, + "offset": 52744, "length": 23, "value": "\"capabilities:response\"" }, @@ -37816,63 +38334,63 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 265, + "offset": 271, "length": 5, "value": "\"❌\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 294, + "offset": 300, "length": 8, "value": "\"⚠️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 323, + "offset": 329, "length": 8, "value": "\"ℹ️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 353, + "offset": 359, "length": 6, "value": "\"🔎\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 265, + "offset": 271, "length": 5, "value": "\"❌\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 294, + "offset": 300, "length": 8, "value": "\"⚠️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 323, + "offset": 329, "length": 8, "value": "\"ℹ️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 353, + "offset": 359, "length": 6, "value": "\"🔎\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "Dictionary", - "offset": 720, + "offset": 925, "length": 3, "value": "[]" }, @@ -37900,21 +38418,21 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "FloatLiteral", - "offset": 373, + "offset": 468, "length": 3, "value": "3.0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "FloatLiteral", - "offset": 467, + "offset": 562, "length": 3, "value": "1.0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "StringLiteral", - "offset": 6931, + "offset": 7727, "length": 14, "value": "\"SetupAccount\"" } diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface index 867f913..e2c4861 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface @@ -46,7 +46,8 @@ public struct EngagementOptions { public init(mediaDirection: GliaCoreSDK.MediaDirection? = nil) } public enum EngagementEndingReason { - case natural + case visitorHungUp + case operatorHungUp case error public static func == (a: GliaCoreSDK.EngagementEndingReason, b: GliaCoreSDK.EngagementEndingReason) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) @@ -136,7 +137,20 @@ public protocol MediaHandling { public protocol Interactable : GliaCoreSDK.EngagementHandling, GliaCoreSDK.ErrorHandling, GliaCoreSDK.MediaHandling, GliaCoreSDK.MessageHandling { } extension GliaCoreSDK.GliaCore { + public enum ConfigurationProcessError : Swift.Error { + case invalidSiteApiKeyCredentials + case siteSettingsRetrieval + case localeRetrieval + public static func == (a: GliaCoreSDK.GliaCore.ConfigurationProcessError, b: GliaCoreSDK.GliaCore.ConfigurationProcessError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } + public typealias ConfigureCompletion = ((Swift.Result) -> Swift.Void) + @available(*, deprecated, message: "Use the `configure` method that provides a `Result` in its completion.") final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: (() -> Swift.Void)? = nil) + final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: @escaping GliaCoreSDK.GliaCore.ConfigureCompletion) final public func configure(interactor: GliaCoreSDK.Interactable) } extension GliaCoreSDK.GliaCore { @@ -151,7 +165,7 @@ extension GliaCoreSDK.GliaCore { public static func custom(_ host: Foundation.URL) -> GliaCoreSDK.GliaCore.Region } public struct Configuration { - public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled) throws + public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled, manualLocaleOverride: Swift.String? = nil) throws } } extension GliaCoreSDK.GliaCore.Configuration { @@ -1199,6 +1213,8 @@ extension GliaCoreSDK.EngagementEndingReason : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.Equatable {} extension GliaCoreSDK.PushNotificationsType : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.RawRepresentable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Equatable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Hashable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Equatable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Hashable {} extension GliaCoreSDK.Message.Metadata.CodingKeys : Swift.Equatable {} diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc index 4ac5c54..eeb9e1f 100644 Binary files a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc and b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc differ diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface index 867f913..e2c4861 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface @@ -46,7 +46,8 @@ public struct EngagementOptions { public init(mediaDirection: GliaCoreSDK.MediaDirection? = nil) } public enum EngagementEndingReason { - case natural + case visitorHungUp + case operatorHungUp case error public static func == (a: GliaCoreSDK.EngagementEndingReason, b: GliaCoreSDK.EngagementEndingReason) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) @@ -136,7 +137,20 @@ public protocol MediaHandling { public protocol Interactable : GliaCoreSDK.EngagementHandling, GliaCoreSDK.ErrorHandling, GliaCoreSDK.MediaHandling, GliaCoreSDK.MessageHandling { } extension GliaCoreSDK.GliaCore { + public enum ConfigurationProcessError : Swift.Error { + case invalidSiteApiKeyCredentials + case siteSettingsRetrieval + case localeRetrieval + public static func == (a: GliaCoreSDK.GliaCore.ConfigurationProcessError, b: GliaCoreSDK.GliaCore.ConfigurationProcessError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } + public typealias ConfigureCompletion = ((Swift.Result) -> Swift.Void) + @available(*, deprecated, message: "Use the `configure` method that provides a `Result` in its completion.") final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: (() -> Swift.Void)? = nil) + final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: @escaping GliaCoreSDK.GliaCore.ConfigureCompletion) final public func configure(interactor: GliaCoreSDK.Interactable) } extension GliaCoreSDK.GliaCore { @@ -151,7 +165,7 @@ extension GliaCoreSDK.GliaCore { public static func custom(_ host: Foundation.URL) -> GliaCoreSDK.GliaCore.Region } public struct Configuration { - public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled) throws + public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled, manualLocaleOverride: Swift.String? = nil) throws } } extension GliaCoreSDK.GliaCore.Configuration { @@ -1199,6 +1213,8 @@ extension GliaCoreSDK.EngagementEndingReason : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.Equatable {} extension GliaCoreSDK.PushNotificationsType : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.RawRepresentable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Equatable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Hashable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Equatable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Hashable {} extension GliaCoreSDK.Message.Metadata.CodingKeys : Swift.Equatable {} diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json index 5cb92ff..5b13458 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json @@ -737,8 +737,8 @@ "children": [ { "kind": "Var", - "name": "natural", - "printedName": "natural", + "name": "visitorHungUp", + "printedName": "visitorHungUp", "children": [ { "kind": "TypeFunc", @@ -768,8 +768,48 @@ } ], "declKind": "EnumElement", - "usr": "s:11GliaCoreSDK22EngagementEndingReasonO7naturalyA2CmF", - "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO7naturalyA2CmF", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO13visitorHungUpyA2CmF", + "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO13visitorHungUpyA2CmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "operatorHungUp", + "printedName": "operatorHungUp", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.EngagementEndingReason.Type) -> GliaCoreSDK.EngagementEndingReason", + "children": [ + { + "kind": "TypeNominal", + "name": "EngagementEndingReason", + "printedName": "GliaCoreSDK.EngagementEndingReason", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.EngagementEndingReason.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "EngagementEndingReason", + "printedName": "GliaCoreSDK.EngagementEndingReason", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK22EngagementEndingReasonO14operatorHungUpyA2CmF", + "mangledName": "$s11GliaCoreSDK22EngagementEndingReasonO14operatorHungUpyA2CmF", "moduleName": "GliaCoreSDK", "declAttributes": [ "RawDocComment" @@ -27433,6 +27473,268 @@ } ] }, + { + "kind": "TypeDecl", + "name": "ConfigurationProcessError", + "printedName": "ConfigurationProcessError", + "children": [ + { + "kind": "Var", + "name": "invalidSiteApiKeyCredentials", + "printedName": "invalidSiteApiKeyCredentials", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO28invalidSiteApiKeyCredentialsyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO28invalidSiteApiKeyCredentialsyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "siteSettingsRetrieval", + "printedName": "siteSettingsRetrieval", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO21siteSettingsRetrievalyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO21siteSettingsRetrievalyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Var", + "name": "localeRetrieval", + "printedName": "localeRetrieval", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.GliaCore.ConfigurationProcessError.Type) -> GliaCoreSDK.GliaCore.ConfigurationProcessError", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO15localeRetrievalyA2EmF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO15localeRetrievalyA2EmF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "RawDocComment" + ] + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + }, + { + "kind": "TypeNominal", + "name": "ConfigurationProcessError", + "printedName": "GliaCoreSDK.GliaCore.ConfigurationProcessError", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO2eeoiySbAE_AEtFZ", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO2eeoiySbAE_AEtFZ", + "moduleName": "GliaCoreSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Var", + "name": "hashValue", + "printedName": "hashValue", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivp", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivp", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivg", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO9hashValueSivg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Function", + "name": "hash", + "printedName": "hash(into:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Hasher", + "printedName": "Swift.Hasher", + "paramValueOwnership": "InOut", + "usr": "s:s6HasherV" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO4hash4intoys6HasherVz_tF", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO4hash4intoys6HasherVz_tF", + "moduleName": "GliaCoreSDK", + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:11GliaCoreSDK0aB0C25ConfigurationProcessErrorO", + "mangledName": "$s11GliaCoreSDK0aB0C25ConfigurationProcessErrorO", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + }, + { + "kind": "Conformance", + "name": "Hashable", + "printedName": "Hashable", + "usr": "s:SH", + "mangledName": "$sSH" + }, + { + "kind": "Conformance", + "name": "Error", + "printedName": "Error", + "usr": "s:s5ErrorP", + "mangledName": "$ss5ErrorP" + }, + { + "kind": "Conformance", + "name": "Sendable", + "printedName": "Sendable", + "usr": "s:s8SendableP", + "mangledName": "$ss8SendableP" + } + ] + }, { "kind": "Function", "name": "configure", @@ -27480,6 +27782,67 @@ "usr": "s:11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_yycSgtF", "mangledName": "$s11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_yycSgtF", "moduleName": "GliaCoreSDK", + "deprecated": true, + "declAttributes": [ + "Final", + "AccessControl", + "Available" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "configure", + "printedName": "configure(with:completion:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Configuration", + "printedName": "GliaCoreSDK.GliaCore.Configuration", + "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Result<(), Swift.Error>) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Result", + "printedName": "Swift.Result<(), Swift.Error>", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:s6ResultO" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_ys6ResultOyyts5Error_pGctF", + "mangledName": "$s11GliaCoreSDK0aB0C9configure4with10completionyAC13ConfigurationV_ys6ResultOyyts5Error_pGctF", + "moduleName": "GliaCoreSDK", "declAttributes": [ "Final", "AccessControl", @@ -27747,7 +28110,7 @@ { "kind": "Constructor", "name": "init", - "printedName": "init(siteId:region:authorizingMethod:pushNotifications:)", + "printedName": "init(siteId:region:authorizingMethod:pushNotifications:manualLocaleOverride:)", "children": [ { "kind": "TypeNominal", @@ -27779,11 +28142,26 @@ "printedName": "GliaCoreSDK.GliaCore.Configuration.PushNotifications", "hasDefaultArg": true, "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV17PushNotificationsO" + }, + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "hasDefaultArg": true, + "usr": "s:Sq" } ], "declKind": "Constructor", - "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotificationsAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OtKcfc", - "mangledName": "$s11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotificationsAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OtKcfc", + "usr": "s:11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotifications20manualLocaleOverrideAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OSSSgtKcfc", + "mangledName": "$s11GliaCoreSDK0aB0C13ConfigurationV6siteId6region17authorizingMethod17pushNotifications20manualLocaleOverrideAESS_AC6RegionVAC013AuthorizationI0OAE04PushK0OSSSgtKcfc", "moduleName": "GliaCoreSDK", "declAttributes": [ "AccessControl", @@ -32783,6 +33161,13 @@ "declKind": "Import", "moduleName": "GliaCoreSDK" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "GliaCoreSDK" + }, { "kind": "TypeDecl", "name": "QueueForEngagementOptions", @@ -33751,6 +34136,13 @@ "declKind": "Import", "moduleName": "GliaCoreSDK" }, + { + "kind": "Import", + "name": "Foundation", + "printedName": "Foundation", + "declKind": "Import", + "moduleName": "GliaCoreSDK" + }, { "kind": "TypeDecl", "name": "MediaUpgradeOffer", @@ -34652,7 +35044,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogClient.swift", "kind": "IntegerLiteral", - "offset": 541, + "offset": 517, "length": 1, "value": "0" }, @@ -34771,14 +35163,14 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Configurable.swift", "kind": "StringLiteral", - "offset": 8707, + "offset": 10129, "length": 18, "value": "\"https:\/\/glia.com\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Configurable.swift", "kind": "StringLiteral", - "offset": 8811, + "offset": 10233, "length": 17, "value": "\"https:\/\/glia.eu\"" }, @@ -35016,7 +35408,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogger.swift", "kind": "IntegerLiteral", - "offset": 200, + "offset": 216, "length": 1, "value": "3" }, @@ -35065,42 +35457,42 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogRepository.swift", "kind": "IntegerLiteral", - "offset": 74, + "offset": 205, "length": 2, "value": "24" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Remote\/RemoteLogRepository.swift", "kind": "IntegerLiteral", - "offset": 98, + "offset": 274, "length": 3, "value": "500" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 848, + "offset": 983, "length": 12, "value": "\"engagement\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 892, + "offset": 1027, "length": 7, "value": "\"omniq\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 848, + "offset": 983, "length": 12, "value": "\"engagement\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", "kind": "StringLiteral", - "offset": 892, + "offset": 1027, "length": 7, "value": "\"omniq\"" }, @@ -36752,28 +37144,154 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2809, + "offset": 1071, + "length": 17, + "value": "\"visitor_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1115, + "length": 18, + "value": "\"operator_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1157, + "length": 14, + "value": "\"visitor_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1196, + "length": 15, + "value": "\"operator_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1259, + "length": 24, + "value": "\"requires_visitor_input\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1316, + "length": 23, + "value": "\"visitor_authenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1374, + "length": 25, + "value": "\"visitor_unauthenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1429, + "length": 21, + "value": "\"visitor_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1489, + "length": 31, + "value": "\"external_operator_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1071, + "length": 17, + "value": "\"visitor_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1115, + "length": 18, + "value": "\"operator_hung_up\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1157, + "length": 14, + "value": "\"visitor_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1196, + "length": 15, + "value": "\"operator_left\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1259, + "length": 24, + "value": "\"requires_visitor_input\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1316, + "length": 23, + "value": "\"visitor_authenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1374, + "length": 25, + "value": "\"visitor_unauthenticated\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1429, + "length": 21, + "value": "\"visitor_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 1489, + "length": 31, + "value": "\"external_operator_not_reached\"" + }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", + "kind": "StringLiteral", + "offset": 3362, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2851, + "offset": 3404, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2809, + "offset": 3362, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 2851, + "offset": 3404, "length": 10, "value": "\"operator\"" }, @@ -37426,7 +37944,7 @@ "kind": "StringLiteral", "offset": 433, "length": 7, - "value": "\"1.1.5\"" + "value": "\"1.1.6\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Medra\/Channel\/NamespacedChannel.swift", @@ -37529,35 +38047,35 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 17085, + "offset": 17348, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52422, + "offset": 52685, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52481, + "offset": 52744, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52422, + "offset": 52685, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 52481, + "offset": 52744, "length": 23, "value": "\"capabilities:response\"" }, @@ -37816,63 +38334,63 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 265, + "offset": 271, "length": 5, "value": "\"❌\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 294, + "offset": 300, "length": 8, "value": "\"⚠️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 323, + "offset": 329, "length": 8, "value": "\"ℹ️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 353, + "offset": 359, "length": 6, "value": "\"🔎\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 265, + "offset": 271, "length": 5, "value": "\"❌\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 294, + "offset": 300, "length": 8, "value": "\"⚠️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 323, + "offset": 329, "length": 8, "value": "\"ℹ️\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "StringLiteral", - "offset": 353, + "offset": 359, "length": 6, "value": "\"🔎\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Logger\/Log.swift", "kind": "Dictionary", - "offset": 720, + "offset": 925, "length": 3, "value": "[]" }, @@ -37900,21 +38418,21 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "FloatLiteral", - "offset": 373, + "offset": 468, "length": 3, "value": "3.0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "FloatLiteral", - "offset": 467, + "offset": 562, "length": 3, "value": "1.0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+SetupAccount.swift", "kind": "StringLiteral", - "offset": 6931, + "offset": 7727, "length": 14, "value": "\"SetupAccount\"" } diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface index 7b5b4a3..a3fd2cc 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface @@ -46,7 +46,8 @@ public struct EngagementOptions { public init(mediaDirection: GliaCoreSDK.MediaDirection? = nil) } public enum EngagementEndingReason { - case natural + case visitorHungUp + case operatorHungUp case error public static func == (a: GliaCoreSDK.EngagementEndingReason, b: GliaCoreSDK.EngagementEndingReason) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) @@ -136,7 +137,20 @@ public protocol MediaHandling { public protocol Interactable : GliaCoreSDK.EngagementHandling, GliaCoreSDK.ErrorHandling, GliaCoreSDK.MediaHandling, GliaCoreSDK.MessageHandling { } extension GliaCoreSDK.GliaCore { + public enum ConfigurationProcessError : Swift.Error { + case invalidSiteApiKeyCredentials + case siteSettingsRetrieval + case localeRetrieval + public static func == (a: GliaCoreSDK.GliaCore.ConfigurationProcessError, b: GliaCoreSDK.GliaCore.ConfigurationProcessError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } + public typealias ConfigureCompletion = ((Swift.Result) -> Swift.Void) + @available(*, deprecated, message: "Use the `configure` method that provides a `Result` in its completion.") final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: (() -> Swift.Void)? = nil) + final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: @escaping GliaCoreSDK.GliaCore.ConfigureCompletion) final public func configure(interactor: GliaCoreSDK.Interactable) } extension GliaCoreSDK.GliaCore { @@ -151,7 +165,7 @@ extension GliaCoreSDK.GliaCore { public static func custom(_ host: Foundation.URL) -> GliaCoreSDK.GliaCore.Region } public struct Configuration { - public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled) throws + public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled, manualLocaleOverride: Swift.String? = nil) throws } } extension GliaCoreSDK.GliaCore.Configuration { @@ -1199,6 +1213,8 @@ extension GliaCoreSDK.EngagementEndingReason : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.Equatable {} extension GliaCoreSDK.PushNotificationsType : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.RawRepresentable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Equatable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Hashable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Equatable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Hashable {} extension GliaCoreSDK.Message.Metadata.CodingKeys : Swift.Equatable {} diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc index 999e307..8f5e79a 100644 Binary files a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc and b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc differ diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface index 7b5b4a3..a3fd2cc 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface @@ -46,7 +46,8 @@ public struct EngagementOptions { public init(mediaDirection: GliaCoreSDK.MediaDirection? = nil) } public enum EngagementEndingReason { - case natural + case visitorHungUp + case operatorHungUp case error public static func == (a: GliaCoreSDK.EngagementEndingReason, b: GliaCoreSDK.EngagementEndingReason) -> Swift.Bool public func hash(into hasher: inout Swift.Hasher) @@ -136,7 +137,20 @@ public protocol MediaHandling { public protocol Interactable : GliaCoreSDK.EngagementHandling, GliaCoreSDK.ErrorHandling, GliaCoreSDK.MediaHandling, GliaCoreSDK.MessageHandling { } extension GliaCoreSDK.GliaCore { + public enum ConfigurationProcessError : Swift.Error { + case invalidSiteApiKeyCredentials + case siteSettingsRetrieval + case localeRetrieval + public static func == (a: GliaCoreSDK.GliaCore.ConfigurationProcessError, b: GliaCoreSDK.GliaCore.ConfigurationProcessError) -> Swift.Bool + public func hash(into hasher: inout Swift.Hasher) + public var hashValue: Swift.Int { + get + } + } + public typealias ConfigureCompletion = ((Swift.Result) -> Swift.Void) + @available(*, deprecated, message: "Use the `configure` method that provides a `Result` in its completion.") final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: (() -> Swift.Void)? = nil) + final public func configure(with sdkConfiguration: GliaCoreSDK.GliaCore.Configuration, completion: @escaping GliaCoreSDK.GliaCore.ConfigureCompletion) final public func configure(interactor: GliaCoreSDK.Interactable) } extension GliaCoreSDK.GliaCore { @@ -151,7 +165,7 @@ extension GliaCoreSDK.GliaCore { public static func custom(_ host: Foundation.URL) -> GliaCoreSDK.GliaCore.Region } public struct Configuration { - public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled) throws + public init(siteId: Swift.String, region: GliaCoreSDK.GliaCore.Region, authorizingMethod: GliaCoreSDK.GliaCore.AuthorizationMethod, pushNotifications: GliaCoreSDK.GliaCore.Configuration.PushNotifications = .disabled, manualLocaleOverride: Swift.String? = nil) throws } } extension GliaCoreSDK.GliaCore.Configuration { @@ -1199,6 +1213,8 @@ extension GliaCoreSDK.EngagementEndingReason : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.Equatable {} extension GliaCoreSDK.PushNotificationsType : Swift.Hashable {} extension GliaCoreSDK.PushNotificationsType : Swift.RawRepresentable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Equatable {} +extension GliaCoreSDK.GliaCore.ConfigurationProcessError : Swift.Hashable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Equatable {} extension GliaCoreSDK.GliaCore.Configuration.PushNotifications : Swift.Hashable {} extension GliaCoreSDK.Message.Metadata.CodingKeys : Swift.Equatable {} diff --git a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/_CodeSignature/CodeResources b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/_CodeSignature/CodeResources index 1561e8e..d62df2d 100644 --- a/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/_CodeSignature/CodeResources +++ b/GliaCoreSDK.xcframework/ios-arm64_x86_64-simulator/GliaCoreSDK.framework/_CodeSignature/CodeResources @@ -10,7 +10,7 @@ Headers/GliaCoreSDK-Swift.h - amarKb+WKMQT5EAtgzFNFDW2c74= + 7tM0IWDJT7vhYLYZcHjyMFSL644= Headers/GliaCoreSDK.h @@ -22,43 +22,43 @@ Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.abi.json - nQVEVeumtX3L+cU3vt1mUi6AkZo= + Ug2AG9yeAo4bazoRWd13kbJVOdo= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - U+yw5+ARIem6U7JSgAlOAQX0nCs= + d67qQ/jXsXTPOlZpkUa5BWTTV2k= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc - o687pjcQGCi9WHM1fheF73kcSzU= + eqPwg7sMji4YIH+EXY59nSmv8lE= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface - U+yw5+ARIem6U7JSgAlOAQX0nCs= + d67qQ/jXsXTPOlZpkUa5BWTTV2k= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule - 86H6+QZDT5HjwltQOdzny26CpuA= + j/tDYWf+AmCN6c7Ub8ll+Jxia9k= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json - nQVEVeumtX3L+cU3vt1mUi6AkZo= + Ug2AG9yeAo4bazoRWd13kbJVOdo= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - io2uEZ9uZ09++w3fmlqcfIchqcY= + COxDnDG2y3w0f70M0gCqiUTKMr8= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - ehQsSyAcEOnsLqb9QSzmLKPGQjo= + e81CHor77IZ3WZzV1tflClBQc4A= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - io2uEZ9uZ09++w3fmlqcfIchqcY= + COxDnDG2y3w0f70M0gCqiUTKMr8= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - JNig9oBdrNcT8OIwjqQnKzAZpDE= + 8FQlTy7iQ8l9pgXeCnlxZmg/law= Modules/module.modulemap @@ -78,7 +78,7 @@ hash2 - xJnYK2Nvsf9Ikq1sbdIKmK9k5aUnnOD8kyEgQw+FsWQ= + ccvE5KDeNSDue7ItJwBtf4PDqtCCaHvVnm2raCvnpHA= Headers/GliaCoreSDK.h @@ -92,70 +92,70 @@ hash2 - s5rvESAhOiQF+SmHEh/Ms8ES8T5NcX2+JxWXqvMKJFo= + h8v12AqLiBbbNl+uUYkrXK7wu0KXvA9fgLeFG1B+O0I= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - yMnXOOzPvPBNe7IqwS55rNiETHf70wzzwz+rYmIHbIc= + xRYyxIqFL3IJYhjYVaP+f6ipurWHRxW857Ma3pjekxI= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - kc3aYvc3k6OKRPfsMaNgbMe7tGgP/8Xn3BHf5DCZ9qY= + 7dPCt4gVYpcDmJFKY3/jpqzLgcKz3LcZ6eV7JLlGeMU= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - yMnXOOzPvPBNe7IqwS55rNiETHf70wzzwz+rYmIHbIc= + xRYyxIqFL3IJYhjYVaP+f6ipurWHRxW857Ma3pjekxI= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - zx7DYu9GD+QdFUr5hsCD2mnbPj0Wgmu22xfYG8Ryojw= + dk91ymlSBUpGVV8yNnTnG1IfizQ4QLKqXOYFaDFuwhU= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - s5rvESAhOiQF+SmHEh/Ms8ES8T5NcX2+JxWXqvMKJFo= + h8v12AqLiBbbNl+uUYkrXK7wu0KXvA9fgLeFG1B+O0I= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - bLak5gfd7f9nOH7j0bULXOIN3SbMXzkOtsKJ87WfH6c= + fbWvsVzbUepl59MqUsiAnPeSywjseVRkB2L3L5ol4Uc= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - lshFX6gszwjQ6cIEwNSp3DYfIDpy2F/urBPPK8L0vhc= + sESUbMNky+o/kNP67cd02nHBxE9IDaqar5SYCs7I6Hw= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - bLak5gfd7f9nOH7j0bULXOIN3SbMXzkOtsKJ87WfH6c= + fbWvsVzbUepl59MqUsiAnPeSywjseVRkB2L3L5ol4Uc= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - tyGqNnlFVKAMtK40DuRZ77gp0NQ5+XszxkrkZzLQ0+E= + Njn/KnYhdcQfDtvNzHVZcj5BO5euzv5KtGQVnJ/GJW8= Modules/module.modulemap diff --git a/Package.swift b/Package.swift index 584b7ec..bacbe3d 100644 --- a/Package.swift +++ b/Package.swift @@ -30,8 +30,8 @@ let package = Package( ), .binaryTarget( name: "GliaCoreSDK", - url: "https://github.com/salemove/ios-bundle/releases/download/1.1.5/GliaCoreSDK.xcframework.zip", - checksum: "05ea83d9bdddb122962a04662cf6a79033b84d8910f46a6aab9aae5a5d4be58b" + url: "https://github.com/salemove/ios-bundle/releases/download/1.1.6/GliaCoreSDK.xcframework.zip", + checksum: "003d21c155d811ad77b49bf1f30bd6543f2803e5434d148b552c667648a099ad" ), .target( name: "GliaSDK",