diff --git a/GliaCoreSDK.podspec b/GliaCoreSDK.podspec index 4bd3f1c..0f59917 100644 --- a/GliaCoreSDK.podspec +++ b/GliaCoreSDK.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'GliaCoreSDK' - s.version = '1.5.5' + s.version = '2.0.0' 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/ios-arm64/GliaCoreSDK.framework/GliaCoreSDK b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/GliaCoreSDK index 9abf0b3..42f973e 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 fb1b5ad..3b86310 100644 --- a/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h +++ b/GliaCoreSDK.xcframework/ios-arm64/GliaCoreSDK.framework/Headers/GliaCoreSDK-Swift.h @@ -376,6 +376,8 @@ SWIFT_CLASS("_TtC11GliaCoreSDK10Engagement") + + /// Error of the Engagement typedef SWIFT_ENUM(NSInteger, EngagementError, open) { /// The Operator is unavailable for an Engagement. @@ -557,6 +559,22 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + +enum LogLevel : NSInteger; + +@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) +/// Configure log level +/// +- (void)configureLogLevelWithLevel:(enum LogLevel)level; +@end + @class MediaUpgradeOffer; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -587,22 +605,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ - (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, GliaCoreError * _Nullable))completion; @end -enum LogLevel : NSInteger; - -@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) -/// Configure log level -/// -- (void)configureLogLevelWithLevel:(enum LogLevel)level; -@end - - 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 3127772..9094782 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 @@ -3379,6 +3379,70 @@ "accessorKind": "get" } ] + }, + { + "kind": "Var", + "name": "onLiveToSecureConversationsEngagementTransferring", + "printedName": "onLiveToSecureConversationsEngagementTransferring", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvp", + "mangledName": "$s11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvp", + "moduleName": "GliaCoreSDK", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvg", + "mangledName": "$s11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvg", + "moduleName": "GliaCoreSDK", + "genericSig": "<τ_0_0 where τ_0_0 : GliaCoreSDK.EngagementHandling>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] } ], "declKind": "Protocol", @@ -35976,6 +36040,119 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "subscribeToUnreadMessageCount", + "printedName": "subscribeToUnreadMessageCount(completion:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Result) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Result", + "printedName": "Swift.Result", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:s6ResultO" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C19SecureConversationsC29subscribeToUnreadMessageCount10completionSSSgys6ResultOySiSgs5Error_pGc_tF", + "mangledName": "$s11GliaCoreSDK0aB0C19SecureConversationsC29subscribeToUnreadMessageCount10completionSSSgys6ResultOySiSgs5Error_pGc_tF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "pendingSecureConversationStatus", + "printedName": "pendingSecureConversationStatus(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C19SecureConversationsC07pendingD18ConversationStatusyyySbcF", + "mangledName": "$s11GliaCoreSDK0aB0C19SecureConversationsC07pendingD18ConversationStatusyyySbcF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Class", @@ -38713,10 +38890,182 @@ } ] }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvp", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvg", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvs", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvs", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvM", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvM", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvs", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvs", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvM", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvM", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:engagedOperator:source:fetchSurvey:restartedFromEngagementId:mediaStreams:)", + "printedName": "init(id:engagedOperator:source:fetchSurvey:restartedFromEngagementId:mediaStreams:status:capabilities:)", "children": [ { "kind": "TypeNominal", @@ -38835,11 +39184,23 @@ "name": "Media", "printedName": "GliaCoreSDK.Engagement.Media", "usr": "s:11GliaCoreSDK10EngagementC5MediaV" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" } ], "declKind": "Constructor", - "usr": "s:11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreamsACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVtcfc", - "mangledName": "$s11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreamsACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVtcfc", + "usr": "s:11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreams6status12capabilitiesACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVAC6StatusOAC12CapabilitiesVtcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreams6status12capabilitiesACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVAC6StatusOAC12CapabilitiesVtcfc", "moduleName": "GliaCoreSDK", "declAttributes": [ "AccessControl", @@ -39122,6 +39483,384 @@ "RawDocComment" ], "isFromExtension": true + }, + { + "kind": "TypeDecl", + "name": "Capabilities", + "printedName": "Capabilities", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "isTextMessageAllowed", + "printedName": "isTextMessageAllowed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvg", + "moduleName": "GliaCoreSDK", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(text:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textAESb_tcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textAESb_tcfc", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4fromAEs7Decoder_p_tKcfc", + "moduleName": "GliaCoreSDK", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV6encode2toys7Encoder_p_tKF", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV6encode2toys7Encoder_p_tKF", + "moduleName": "GliaCoreSDK", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Status", + "printedName": "Status", + "children": [ + { + "kind": "Var", + "name": "engaged", + "printedName": "engaged", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO7engagedyA2EmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO7engagedyA2EmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Var", + "name": "transferring", + "printedName": "transferring", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO12transferringyA2EmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO12transferringyA2EmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> (Swift.String) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO7unknownyAESScAEmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO7unknownyAESScAEmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO2eeoiySbAE_AEtFZ", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO2eeoiySbAE_AEtFZ", + "moduleName": "GliaCoreSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] } ], "declKind": "Class", @@ -43307,6 +44046,13 @@ "length": 7, "value": "\"omniq\"" }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", + "kind": "BooleanLiteral", + "offset": 3414, + "length": 4, + "value": "true" + }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Engagement\/MessageManager\/MessageManager.swift", "kind": "BooleanLiteral", @@ -48903,91 +49649,91 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3432, + "offset": 3492, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3474, + "offset": 3534, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3432, + "offset": 3492, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3474, + "offset": 3534, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4275, + "offset": 4335, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4395, + "offset": 4455, "length": 4, "value": "\"%@\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4401, + "offset": 4461, "length": 34, "value": "\"SubEngagement: empty operator ID\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4540, + "offset": 4600, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4696, + "offset": 4756, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 10591, + "offset": 10927, "length": 11, "value": "\"timed_out\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 10654, + "offset": 10990, "length": 10, "value": "\"accepted\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 11525, + "offset": 11861, "length": 11, "value": "\"timed_out\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 11603, + "offset": 11939, "length": 10, "value": "\"accepted\"" }, @@ -51642,7 +52388,7 @@ "kind": "StringLiteral", "offset": 426, "length": 7, - "value": "\"1.5.5\"" + "value": "\"2.0.0\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/NetworkConnectionMonitor\/PathMonitorClient.Live.swift", @@ -51738,665 +52484,665 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 2778, + "offset": 2786, "length": 53, "value": "\"Key does not exist in remote strings, key='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 2828, + "offset": 2836, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4552, + "offset": 4560, "length": 93, "value": "\"Setting 'activeEngagement' from '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4604, + "offset": 4612, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4607, + "offset": 4615, "length": 6, "value": "\"' to '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4639, + "offset": 4647, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4642, + "offset": 4650, "length": 3, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "Dictionary", - "offset": 6155, + "offset": 6163, "length": 3, "value": "[]" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 8143, + "offset": 8151, "length": 197, "value": "\"Unable to return 'SiteManaging' instance because SDK is not configured using `GliaCore.sharedInstance.configure(with:)` method.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "Array", - "offset": 9395, + "offset": 9403, "length": 2, "value": "[]" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 11515, + "offset": 11523, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 11542, + "offset": 11550, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15169, + "offset": 15177, "length": 108, "value": "\"Request for authenticated visitor failed. Access token is expired: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15263, + "offset": 15271, "length": 6, "value": "\" status code.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15848, + "offset": 15856, "length": 49, "value": "\"Register Remote Logging failed: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15896, + "offset": 15904, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15959, + "offset": 15967, "length": 76, "value": "\"Register Remote Logging failed: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16034, + "offset": 16042, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16438, + "offset": 16446, "length": 118, "value": "\"Socket connection has been established after connection state changing (to='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16532, + "offset": 16540, "length": 16, "value": "\"') with result='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16553, + "offset": 16561, "length": 3, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 23486, + "offset": 23494, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 23521, + "offset": 23529, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25510, + "offset": 25518, "length": 79, "value": "\"Unable to add remote logger to \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25548, + "offset": 25556, "length": 7, "value": "\" because it is not \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25578, + "offset": 25586, "length": 8, "value": "\" instance.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 26776, + "offset": 26784, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 28044, + "offset": 28052, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 28410, + "offset": 28418, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 30238, + "offset": 30246, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 30416, + "offset": 30424, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 37377, + "offset": 37385, "length": 48, "value": "\"Engagement has failed with reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 37422, + "offset": 37430, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38081, + "offset": 38089, "length": 83, "value": "\"Engagement failed with no error. engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38159, + "offset": 38167, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38162, + "offset": 38170, "length": 3, "value": "\"'\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 40081, + "offset": 40089, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 40113, + "offset": 40121, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 41532, + "offset": 41540, "length": 78, "value": "\"Socket connection has been established after background with result='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 41607, + "offset": 41615, "length": 5, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 42565, + "offset": 42573, "length": 72, "value": "\"Channel connection has not been established. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 42634, + "offset": 42642, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 45813, + "offset": 45821, "length": 64, "value": "\"Channel connection has not been established. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 45874, + "offset": 45882, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 46440, + "offset": 46448, "length": 64, "value": "\"SiteManaging not available. Can't initialize live observation.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 46661, + "offset": 46669, "length": 61, "value": "\"Channel is nil. Aborting setting up live observation medra.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47170, + "offset": 47178, "length": 61, "value": "\"Channel is nil. Aborting setting up live observation medra.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47452, + "offset": 47460, "length": 83, "value": "\"Site not available. Aborting setting up live observation medra. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47532, + "offset": 47540, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 48017, + "offset": 48025, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51510, + "offset": 51518, "length": 22, "value": "\"cleanedOnFirstLaunch\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 51561, + "offset": 51569, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51732, + "offset": 51740, "length": 63, "value": "\"Cleaning keychain because of '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51769, + "offset": 51777, "length": 6, "value": "\"' is '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51792, + "offset": 51800, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 53237, + "offset": 53245, "length": 56, "value": "\"Skipping handling visitor state update as it is 'nil'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 54999, + "offset": 55007, "length": 1, "value": "2" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55668, + "offset": 55828, "length": 83, "value": "\"Engagement (id: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55702, + "offset": 55862, "length": 12, "value": "\"', status: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55734, + "offset": 55894, "length": 18, "value": "\"') is recovered.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55862, + "offset": 56022, "length": 82, "value": "\"Engagement (id: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55896, + "offset": 56056, "length": 12, "value": "\"', status: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55928, + "offset": 56088, "length": 17, "value": "\"') is accepted.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 56822, + "offset": 56982, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57461, + "offset": 57621, "length": 300, "value": "\"engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57519, + "offset": 57679, "length": 8, "value": "\"', sdk='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57553, + "offset": 57713, "length": 8, "value": "\"', iOS='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57588, + "offset": 57748, "length": 4, "value": "\"', device='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57640, + "offset": 57800, "length": 22, "value": "\"', pushNotifications='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57692, + "offset": 57852, "length": 1, "value": "\" \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57734, + "offset": 57894, "length": 3, "value": "\"'.\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 58649, + "offset": 58809, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 60354, + "offset": 60514, "length": 63, "value": "\"Can't set up media for engagement because visitor is missing.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 63820, + "offset": 63980, "length": 19, "value": "\"Engagement ended.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68208, + "offset": 68368, "length": 77, "value": "\"Media upgrade has been successful. engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68282, + "offset": 68442, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68376, + "offset": 68536, "length": 89, "value": "\"Error posting media upgrade of type '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68442, + "offset": 68602, "length": 10, "value": "\"'. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68462, + "offset": 68622, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68741, + "offset": 68901, "length": 41, "value": "\"Media upgrade failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68779, + "offset": 68939, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68948, + "offset": 69108, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 69007, + "offset": 69167, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68948, + "offset": 69108, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 69007, + "offset": 69167, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 70918, + "offset": 71078, "length": 94, "value": "\"Screen sharing failed with error 'screenSharingNotAvailable'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71009, + "offset": 71169, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71253, + "offset": 71413, "length": 93, "value": "\"Screen sharing failed with error 'notAvailableOnIOSVersion'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71343, + "offset": 71503, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71573, + "offset": 71733, "length": 78, "value": "\"Connection failed with error 'proposalError'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71648, + "offset": 71808, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71866, + "offset": 72026, "length": 76, "value": "\"RTCClient failed with error 'noConnection'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71939, + "offset": 72099, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 72152, + "offset": 72312, "length": 72, "value": "\"Medra failed with error 'networkError'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 72221, + "offset": 72381, "length": 4, "value": "\"'.\"" }, @@ -53572,7 +54318,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Queueable.swift", "kind": "Dictionary", - "offset": 21709, + "offset": 21759, "length": 3, "value": "[]" }, @@ -53656,224 +54402,224 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 12697, + "offset": 12705, "length": 35, "value": "\"File url for uploading not found.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13290, + "offset": 13298, "length": 38, "value": "\"File has been uploaded successfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13476, + "offset": 13484, "length": 54, "value": "\"File uploading request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13527, + "offset": 13535, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13580, + "offset": 13588, "length": 67, "value": "\"File uploading has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13644, + "offset": 13652, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 14471, + "offset": 14479, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 15489, + "offset": 15497, "length": 32, "value": "\"A file id is missed or invalid\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 16361, + "offset": 16369, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17325, + "offset": 17333, "length": 39, "value": "\"File has been downloaded succesfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17513, + "offset": 17521, "length": 56, "value": "\"File downloading request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17566, + "offset": 17574, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17658, + "offset": 17666, "length": 26, "value": "\"File downloading failed.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18103, + "offset": 18111, "length": 41, "value": "\"File info has been fetched succesfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18279, + "offset": 18287, "length": 58, "value": "\"File info fetching request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18334, + "offset": 18342, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18418, + "offset": 18426, "length": 27, "value": "\"File can't be downloaded.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19717, + "offset": 19733, "length": 39, "value": "\"Messages marked as read successfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19900, + "offset": 19916, "length": 38, "value": "\"Marking messages as read has failed.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19988, + "offset": 20004, "length": 39, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20008, + "offset": 20024, "length": 5, "value": "\" Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20024, + "offset": 20040, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20307, + "offset": 20323, "length": 79, "value": "\"Error getting the visitor for marking messages as read, error=\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20385, + "offset": 20401, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 20492, + "offset": 20508, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 21865, + "offset": 21881, "length": 63, "value": "\"No unread message count present in VisitorState, returning 0.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "IntegerLiteral", - "offset": 21970, + "offset": 21986, "length": 1, "value": "0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22059, + "offset": 22075, "length": 88, "value": "\"Unread message count present in VisitorState, \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22127, + "offset": 22143, "length": 6, "value": "\" unread message(s).\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22285, + "offset": 22301, "length": 78, "value": "\"Error getting the visitor for unread message count, error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22360, + "offset": 22376, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 22499, + "offset": 22515, "length": 5, "value": "false" }, @@ -54125,14 +54871,14 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/Engagement.swift", "kind": "StringLiteral", - "offset": 2652, + "offset": 2913, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/Engagement.swift", "kind": "StringLiteral", - "offset": 2744, + "offset": 3005, "length": 2, "value": "\"\"" }, 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 61a7f3c..88d6de9 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 @@ -128,6 +128,7 @@ public protocol EngagementHandling { var onEngagementRequest: GliaCoreSDK.RequestOfferBlock { get } var onEngagementTransfer: GliaCoreSDK.EngagementTransferBlock { get } var onEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } + var onLiveToSecureConversationsEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } } @objc public protocol MessageHandling { @objc func receive(message: GliaCoreSDK.Message) @@ -1308,6 +1309,10 @@ extension GliaCoreSDK.GliaCore.SecureConversations { @discardableResult final public func markMessagesAsRead(completion: @escaping (Swift.Result) -> Swift.Void) -> GliaCoreSDK.GliaCore.Cancellable final public func getUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) + final public func subscribeToUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) -> Swift.String? +} +extension GliaCoreSDK.GliaCore.SecureConversations { + final public func pendingSecureConversationStatus(_ callback: @escaping (_ hasPendingSecureConversations: Swift.Bool) -> Swift.Void) } extension GliaCoreSDK.GliaCore { final public func startSocketObservation() @@ -1336,7 +1341,9 @@ public struct QueueForEngagementOptions { final public let source: GliaCoreSDK.EngagementSource @objc public var restartedFromEngagementId: Swift.String? public var mediaStreams: GliaCoreSDK.Engagement.Media - public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media) + public var status: GliaCoreSDK.Engagement.Status + public var capabilities: GliaCoreSDK.Engagement.Capabilities + public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media, status: GliaCoreSDK.Engagement.Status, capabilities: GliaCoreSDK.Engagement.Capabilities) @objc deinit } extension GliaCoreSDK.Engagement { @@ -1351,6 +1358,23 @@ extension GliaCoreSDK.Engagement { public init(audio: GliaCoreSDK.MediaDirection?, video: GliaCoreSDK.MediaDirection?) } } +extension GliaCoreSDK.Engagement { + public struct Capabilities : Swift.Codable { + public let text: Swift.Bool + public var isTextMessageAllowed: Swift.Bool { + get + } + public init(text: Swift.Bool) + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws + } +} +extension GliaCoreSDK.Engagement { + public enum Status : Swift.Equatable { + case engaged, transferring, unknown(Swift.String) + public static func == (a: GliaCoreSDK.Engagement.Status, b: GliaCoreSDK.Engagement.Status) -> Swift.Bool + } +} @objc public class MediaUpgradeOffer : ObjectiveC.NSObject { final public let type: GliaCoreSDK.MediaType final public let direction: GliaCoreSDK.MediaDirection 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 4848431..4917662 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 07fe59c..1116f27 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 @@ -128,6 +128,7 @@ public protocol EngagementHandling { var onEngagementRequest: GliaCoreSDK.RequestOfferBlock { get } var onEngagementTransfer: GliaCoreSDK.EngagementTransferBlock { get } var onEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } + var onLiveToSecureConversationsEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } } @objc public protocol MessageHandling { @objc func receive(message: GliaCoreSDK.Message) @@ -1277,6 +1278,10 @@ extension GliaCoreSDK.GliaCore.SecureConversations { @discardableResult final public func markMessagesAsRead(completion: @escaping (Swift.Result) -> Swift.Void) -> GliaCoreSDK.GliaCore.Cancellable final public func getUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) + final public func subscribeToUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) -> Swift.String? +} +extension GliaCoreSDK.GliaCore.SecureConversations { + final public func pendingSecureConversationStatus(_ callback: @escaping (_ hasPendingSecureConversations: Swift.Bool) -> Swift.Void) } extension GliaCoreSDK.GliaCore { final public func startSocketObservation() @@ -1305,7 +1310,9 @@ public struct QueueForEngagementOptions { final public let source: GliaCoreSDK.EngagementSource @objc public var restartedFromEngagementId: Swift.String? public var mediaStreams: GliaCoreSDK.Engagement.Media - public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media) + public var status: GliaCoreSDK.Engagement.Status + public var capabilities: GliaCoreSDK.Engagement.Capabilities + public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media, status: GliaCoreSDK.Engagement.Status, capabilities: GliaCoreSDK.Engagement.Capabilities) @objc deinit } extension GliaCoreSDK.Engagement { @@ -1320,6 +1327,23 @@ extension GliaCoreSDK.Engagement { public init(audio: GliaCoreSDK.MediaDirection?, video: GliaCoreSDK.MediaDirection?) } } +extension GliaCoreSDK.Engagement { + public struct Capabilities : Swift.Codable { + public let text: Swift.Bool + public var isTextMessageAllowed: Swift.Bool { + get + } + public init(text: Swift.Bool) + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws + } +} +extension GliaCoreSDK.Engagement { + public enum Status : Swift.Equatable { + case engaged, transferring, unknown(Swift.String) + public static func == (a: GliaCoreSDK.Engagement.Status, b: GliaCoreSDK.Engagement.Status) -> Swift.Bool + } +} @objc public class MediaUpgradeOffer : ObjectiveC.NSObject { final public let type: GliaCoreSDK.MediaType final public let direction: GliaCoreSDK.MediaDirection 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 0e1e973..3ac5d70 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 efcfa69..fae83b3 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 @@ -376,6 +376,8 @@ SWIFT_CLASS("_TtC11GliaCoreSDK10Engagement") + + /// Error of the Engagement typedef SWIFT_ENUM(NSInteger, EngagementError, open) { /// The Operator is unavailable for an Engagement. @@ -557,6 +559,22 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + +enum LogLevel : NSInteger; + +@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) +/// Configure log level +///
    +///
  • +/// parameters: +///
  • +///
  • +/// level: One of the ‘LogLevel’ values that the logger should use +///
  • +///
+- (void)configureLogLevelWithLevel:(enum LogLevel)level; +@end + @class MediaUpgradeOffer; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -587,22 +605,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ - (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, GliaCoreError * _Nullable))completion; @end -enum LogLevel : NSInteger; - -@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) -/// Configure log level -///
    -///
  • -/// parameters: -///
  • -///
  • -/// level: One of the ‘LogLevel’ values that the logger should use -///
  • -///
-- (void)configureLogLevelWithLevel:(enum LogLevel)level; -@end - - @@ -1760,6 +1762,8 @@ SWIFT_CLASS("_TtC11GliaCoreSDK10Engagement") + + /// Error of the Engagement typedef SWIFT_ENUM(NSInteger, EngagementError, open) { /// The Operator is unavailable for an Engagement. @@ -1941,6 +1945,22 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ + +enum LogLevel : NSInteger; + +@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) +/// Configure log level +///
    +///
  • +/// parameters: +///
  • +///
  • +/// level: One of the ‘LogLevel’ values that the logger should use +///
  • +///
+- (void)configureLogLevelWithLevel:(enum LogLevel)level; +@end + @class MediaUpgradeOffer; @interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) @@ -1971,22 +1991,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) GliaCore * _ - (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, GliaCoreError * _Nullable))completion; @end -enum LogLevel : NSInteger; - -@interface GliaCore (SWIFT_EXTENSION(GliaCoreSDK)) -/// Configure log level -///
    -///
  • -/// parameters: -///
  • -///
  • -/// level: One of the ‘LogLevel’ values that the logger should use -///
  • -///
-- (void)configureLogLevelWithLevel:(enum LogLevel)level; -@end - - 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 7d00c9b..89c8387 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 @@ -3379,6 +3379,70 @@ "accessorKind": "get" } ] + }, + { + "kind": "Var", + "name": "onLiveToSecureConversationsEngagementTransferring", + "printedName": "onLiveToSecureConversationsEngagementTransferring", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvp", + "mangledName": "$s11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvp", + "moduleName": "GliaCoreSDK", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvg", + "mangledName": "$s11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvg", + "moduleName": "GliaCoreSDK", + "genericSig": "<τ_0_0 where τ_0_0 : GliaCoreSDK.EngagementHandling>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] } ], "declKind": "Protocol", @@ -35976,6 +36040,119 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "subscribeToUnreadMessageCount", + "printedName": "subscribeToUnreadMessageCount(completion:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Result) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Result", + "printedName": "Swift.Result", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:s6ResultO" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C19SecureConversationsC29subscribeToUnreadMessageCount10completionSSSgys6ResultOySiSgs5Error_pGc_tF", + "mangledName": "$s11GliaCoreSDK0aB0C19SecureConversationsC29subscribeToUnreadMessageCount10completionSSSgys6ResultOySiSgs5Error_pGc_tF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "pendingSecureConversationStatus", + "printedName": "pendingSecureConversationStatus(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C19SecureConversationsC07pendingD18ConversationStatusyyySbcF", + "mangledName": "$s11GliaCoreSDK0aB0C19SecureConversationsC07pendingD18ConversationStatusyyySbcF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Class", @@ -38713,10 +38890,182 @@ } ] }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvp", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvg", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvs", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvs", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvM", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvM", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvs", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvs", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvM", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvM", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:engagedOperator:source:fetchSurvey:restartedFromEngagementId:mediaStreams:)", + "printedName": "init(id:engagedOperator:source:fetchSurvey:restartedFromEngagementId:mediaStreams:status:capabilities:)", "children": [ { "kind": "TypeNominal", @@ -38835,11 +39184,23 @@ "name": "Media", "printedName": "GliaCoreSDK.Engagement.Media", "usr": "s:11GliaCoreSDK10EngagementC5MediaV" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" } ], "declKind": "Constructor", - "usr": "s:11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreamsACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVtcfc", - "mangledName": "$s11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreamsACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVtcfc", + "usr": "s:11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreams6status12capabilitiesACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVAC6StatusOAC12CapabilitiesVtcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreams6status12capabilitiesACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVAC6StatusOAC12CapabilitiesVtcfc", "moduleName": "GliaCoreSDK", "declAttributes": [ "AccessControl", @@ -39122,6 +39483,384 @@ "RawDocComment" ], "isFromExtension": true + }, + { + "kind": "TypeDecl", + "name": "Capabilities", + "printedName": "Capabilities", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "isTextMessageAllowed", + "printedName": "isTextMessageAllowed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvg", + "moduleName": "GliaCoreSDK", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(text:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textAESb_tcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textAESb_tcfc", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4fromAEs7Decoder_p_tKcfc", + "moduleName": "GliaCoreSDK", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV6encode2toys7Encoder_p_tKF", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV6encode2toys7Encoder_p_tKF", + "moduleName": "GliaCoreSDK", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Status", + "printedName": "Status", + "children": [ + { + "kind": "Var", + "name": "engaged", + "printedName": "engaged", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO7engagedyA2EmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO7engagedyA2EmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Var", + "name": "transferring", + "printedName": "transferring", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO12transferringyA2EmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO12transferringyA2EmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> (Swift.String) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO7unknownyAESScAEmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO7unknownyAESScAEmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO2eeoiySbAE_AEtFZ", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO2eeoiySbAE_AEtFZ", + "moduleName": "GliaCoreSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] } ], "declKind": "Class", @@ -43307,6 +44046,13 @@ "length": 7, "value": "\"omniq\"" }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", + "kind": "BooleanLiteral", + "offset": 3414, + "length": 4, + "value": "true" + }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Engagement\/MessageManager\/MessageManager.swift", "kind": "BooleanLiteral", @@ -48903,91 +49649,91 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3432, + "offset": 3492, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3474, + "offset": 3534, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3432, + "offset": 3492, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3474, + "offset": 3534, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4275, + "offset": 4335, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4395, + "offset": 4455, "length": 4, "value": "\"%@\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4401, + "offset": 4461, "length": 34, "value": "\"SubEngagement: empty operator ID\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4540, + "offset": 4600, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4696, + "offset": 4756, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 10591, + "offset": 10927, "length": 11, "value": "\"timed_out\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 10654, + "offset": 10990, "length": 10, "value": "\"accepted\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 11525, + "offset": 11861, "length": 11, "value": "\"timed_out\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 11603, + "offset": 11939, "length": 10, "value": "\"accepted\"" }, @@ -51642,7 +52388,7 @@ "kind": "StringLiteral", "offset": 426, "length": 7, - "value": "\"1.5.5\"" + "value": "\"2.0.0\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/NetworkConnectionMonitor\/PathMonitorClient.Live.swift", @@ -51738,665 +52484,665 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 2778, + "offset": 2786, "length": 53, "value": "\"Key does not exist in remote strings, key='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 2828, + "offset": 2836, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4552, + "offset": 4560, "length": 93, "value": "\"Setting 'activeEngagement' from '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4604, + "offset": 4612, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4607, + "offset": 4615, "length": 6, "value": "\"' to '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4639, + "offset": 4647, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4642, + "offset": 4650, "length": 3, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "Dictionary", - "offset": 6155, + "offset": 6163, "length": 3, "value": "[]" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 8143, + "offset": 8151, "length": 197, "value": "\"Unable to return 'SiteManaging' instance because SDK is not configured using `GliaCore.sharedInstance.configure(with:)` method.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "Array", - "offset": 9395, + "offset": 9403, "length": 2, "value": "[]" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 11515, + "offset": 11523, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 11542, + "offset": 11550, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15169, + "offset": 15177, "length": 108, "value": "\"Request for authenticated visitor failed. Access token is expired: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15263, + "offset": 15271, "length": 6, "value": "\" status code.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15848, + "offset": 15856, "length": 49, "value": "\"Register Remote Logging failed: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15896, + "offset": 15904, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15959, + "offset": 15967, "length": 76, "value": "\"Register Remote Logging failed: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16034, + "offset": 16042, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16438, + "offset": 16446, "length": 118, "value": "\"Socket connection has been established after connection state changing (to='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16532, + "offset": 16540, "length": 16, "value": "\"') with result='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16553, + "offset": 16561, "length": 3, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 23486, + "offset": 23494, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 23521, + "offset": 23529, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25510, + "offset": 25518, "length": 79, "value": "\"Unable to add remote logger to \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25548, + "offset": 25556, "length": 7, "value": "\" because it is not \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25578, + "offset": 25586, "length": 8, "value": "\" instance.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 26776, + "offset": 26784, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 28044, + "offset": 28052, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 28410, + "offset": 28418, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 30238, + "offset": 30246, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 30416, + "offset": 30424, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 37377, + "offset": 37385, "length": 48, "value": "\"Engagement has failed with reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 37422, + "offset": 37430, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38081, + "offset": 38089, "length": 83, "value": "\"Engagement failed with no error. engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38159, + "offset": 38167, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38162, + "offset": 38170, "length": 3, "value": "\"'\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 40081, + "offset": 40089, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 40113, + "offset": 40121, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 41532, + "offset": 41540, "length": 78, "value": "\"Socket connection has been established after background with result='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 41607, + "offset": 41615, "length": 5, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 42565, + "offset": 42573, "length": 72, "value": "\"Channel connection has not been established. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 42634, + "offset": 42642, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 45813, + "offset": 45821, "length": 64, "value": "\"Channel connection has not been established. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 45874, + "offset": 45882, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 46440, + "offset": 46448, "length": 64, "value": "\"SiteManaging not available. Can't initialize live observation.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 46661, + "offset": 46669, "length": 61, "value": "\"Channel is nil. Aborting setting up live observation medra.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47170, + "offset": 47178, "length": 61, "value": "\"Channel is nil. Aborting setting up live observation medra.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47452, + "offset": 47460, "length": 83, "value": "\"Site not available. Aborting setting up live observation medra. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47532, + "offset": 47540, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 48017, + "offset": 48025, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51510, + "offset": 51518, "length": 22, "value": "\"cleanedOnFirstLaunch\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 51561, + "offset": 51569, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51732, + "offset": 51740, "length": 63, "value": "\"Cleaning keychain because of '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51769, + "offset": 51777, "length": 6, "value": "\"' is '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51792, + "offset": 51800, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 53237, + "offset": 53245, "length": 56, "value": "\"Skipping handling visitor state update as it is 'nil'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 54999, + "offset": 55007, "length": 1, "value": "2" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55668, + "offset": 55828, "length": 83, "value": "\"Engagement (id: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55702, + "offset": 55862, "length": 12, "value": "\"', status: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55734, + "offset": 55894, "length": 18, "value": "\"') is recovered.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55862, + "offset": 56022, "length": 82, "value": "\"Engagement (id: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55896, + "offset": 56056, "length": 12, "value": "\"', status: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55928, + "offset": 56088, "length": 17, "value": "\"') is accepted.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 56822, + "offset": 56982, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57461, + "offset": 57621, "length": 300, "value": "\"engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57519, + "offset": 57679, "length": 8, "value": "\"', sdk='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57553, + "offset": 57713, "length": 8, "value": "\"', iOS='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57588, + "offset": 57748, "length": 4, "value": "\"', device='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57640, + "offset": 57800, "length": 22, "value": "\"', pushNotifications='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57692, + "offset": 57852, "length": 1, "value": "\" \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57734, + "offset": 57894, "length": 3, "value": "\"'.\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 58649, + "offset": 58809, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 60354, + "offset": 60514, "length": 63, "value": "\"Can't set up media for engagement because visitor is missing.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 63820, + "offset": 63980, "length": 19, "value": "\"Engagement ended.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68208, + "offset": 68368, "length": 77, "value": "\"Media upgrade has been successful. engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68282, + "offset": 68442, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68376, + "offset": 68536, "length": 89, "value": "\"Error posting media upgrade of type '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68442, + "offset": 68602, "length": 10, "value": "\"'. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68462, + "offset": 68622, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68741, + "offset": 68901, "length": 41, "value": "\"Media upgrade failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68779, + "offset": 68939, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68948, + "offset": 69108, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 69007, + "offset": 69167, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68948, + "offset": 69108, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 69007, + "offset": 69167, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 70918, + "offset": 71078, "length": 94, "value": "\"Screen sharing failed with error 'screenSharingNotAvailable'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71009, + "offset": 71169, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71253, + "offset": 71413, "length": 93, "value": "\"Screen sharing failed with error 'notAvailableOnIOSVersion'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71343, + "offset": 71503, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71573, + "offset": 71733, "length": 78, "value": "\"Connection failed with error 'proposalError'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71648, + "offset": 71808, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71866, + "offset": 72026, "length": 76, "value": "\"RTCClient failed with error 'noConnection'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71939, + "offset": 72099, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 72152, + "offset": 72312, "length": 72, "value": "\"Medra failed with error 'networkError'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 72221, + "offset": 72381, "length": 4, "value": "\"'.\"" }, @@ -53572,7 +54318,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Queueable.swift", "kind": "Dictionary", - "offset": 21709, + "offset": 21759, "length": 3, "value": "[]" }, @@ -53656,224 +54402,224 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 12697, + "offset": 12705, "length": 35, "value": "\"File url for uploading not found.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13290, + "offset": 13298, "length": 38, "value": "\"File has been uploaded successfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13476, + "offset": 13484, "length": 54, "value": "\"File uploading request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13527, + "offset": 13535, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13580, + "offset": 13588, "length": 67, "value": "\"File uploading has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13644, + "offset": 13652, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 14471, + "offset": 14479, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 15489, + "offset": 15497, "length": 32, "value": "\"A file id is missed or invalid\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 16361, + "offset": 16369, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17325, + "offset": 17333, "length": 39, "value": "\"File has been downloaded succesfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17513, + "offset": 17521, "length": 56, "value": "\"File downloading request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17566, + "offset": 17574, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17658, + "offset": 17666, "length": 26, "value": "\"File downloading failed.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18103, + "offset": 18111, "length": 41, "value": "\"File info has been fetched succesfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18279, + "offset": 18287, "length": 58, "value": "\"File info fetching request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18334, + "offset": 18342, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18418, + "offset": 18426, "length": 27, "value": "\"File can't be downloaded.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19717, + "offset": 19733, "length": 39, "value": "\"Messages marked as read successfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19900, + "offset": 19916, "length": 38, "value": "\"Marking messages as read has failed.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19988, + "offset": 20004, "length": 39, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20008, + "offset": 20024, "length": 5, "value": "\" Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20024, + "offset": 20040, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20307, + "offset": 20323, "length": 79, "value": "\"Error getting the visitor for marking messages as read, error=\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20385, + "offset": 20401, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 20492, + "offset": 20508, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 21865, + "offset": 21881, "length": 63, "value": "\"No unread message count present in VisitorState, returning 0.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "IntegerLiteral", - "offset": 21970, + "offset": 21986, "length": 1, "value": "0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22059, + "offset": 22075, "length": 88, "value": "\"Unread message count present in VisitorState, \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22127, + "offset": 22143, "length": 6, "value": "\" unread message(s).\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22285, + "offset": 22301, "length": 78, "value": "\"Error getting the visitor for unread message count, error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22360, + "offset": 22376, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 22499, + "offset": 22515, "length": 5, "value": "false" }, @@ -54125,14 +54871,14 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/Engagement.swift", "kind": "StringLiteral", - "offset": 2652, + "offset": 2913, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/Engagement.swift", "kind": "StringLiteral", - "offset": 2744, + "offset": 3005, "length": 2, "value": "\"\"" }, 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 7310568..22a2ebb 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 @@ -128,6 +128,7 @@ public protocol EngagementHandling { var onEngagementRequest: GliaCoreSDK.RequestOfferBlock { get } var onEngagementTransfer: GliaCoreSDK.EngagementTransferBlock { get } var onEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } + var onLiveToSecureConversationsEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } } @objc public protocol MessageHandling { @objc func receive(message: GliaCoreSDK.Message) @@ -1308,6 +1309,10 @@ extension GliaCoreSDK.GliaCore.SecureConversations { @discardableResult final public func markMessagesAsRead(completion: @escaping (Swift.Result) -> Swift.Void) -> GliaCoreSDK.GliaCore.Cancellable final public func getUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) + final public func subscribeToUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) -> Swift.String? +} +extension GliaCoreSDK.GliaCore.SecureConversations { + final public func pendingSecureConversationStatus(_ callback: @escaping (_ hasPendingSecureConversations: Swift.Bool) -> Swift.Void) } extension GliaCoreSDK.GliaCore { final public func startSocketObservation() @@ -1336,7 +1341,9 @@ public struct QueueForEngagementOptions { final public let source: GliaCoreSDK.EngagementSource @objc public var restartedFromEngagementId: Swift.String? public var mediaStreams: GliaCoreSDK.Engagement.Media - public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media) + public var status: GliaCoreSDK.Engagement.Status + public var capabilities: GliaCoreSDK.Engagement.Capabilities + public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media, status: GliaCoreSDK.Engagement.Status, capabilities: GliaCoreSDK.Engagement.Capabilities) @objc deinit } extension GliaCoreSDK.Engagement { @@ -1351,6 +1358,23 @@ extension GliaCoreSDK.Engagement { public init(audio: GliaCoreSDK.MediaDirection?, video: GliaCoreSDK.MediaDirection?) } } +extension GliaCoreSDK.Engagement { + public struct Capabilities : Swift.Codable { + public let text: Swift.Bool + public var isTextMessageAllowed: Swift.Bool { + get + } + public init(text: Swift.Bool) + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws + } +} +extension GliaCoreSDK.Engagement { + public enum Status : Swift.Equatable { + case engaged, transferring, unknown(Swift.String) + public static func == (a: GliaCoreSDK.Engagement.Status, b: GliaCoreSDK.Engagement.Status) -> Swift.Bool + } +} @objc public class MediaUpgradeOffer : ObjectiveC.NSObject { final public let type: GliaCoreSDK.MediaType final public let direction: GliaCoreSDK.MediaDirection 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 819fa4a..2870f9c 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 81fbf58..b43fda6 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 @@ -128,6 +128,7 @@ public protocol EngagementHandling { var onEngagementRequest: GliaCoreSDK.RequestOfferBlock { get } var onEngagementTransfer: GliaCoreSDK.EngagementTransferBlock { get } var onEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } + var onLiveToSecureConversationsEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } } @objc public protocol MessageHandling { @objc func receive(message: GliaCoreSDK.Message) @@ -1277,6 +1278,10 @@ extension GliaCoreSDK.GliaCore.SecureConversations { @discardableResult final public func markMessagesAsRead(completion: @escaping (Swift.Result) -> Swift.Void) -> GliaCoreSDK.GliaCore.Cancellable final public func getUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) + final public func subscribeToUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) -> Swift.String? +} +extension GliaCoreSDK.GliaCore.SecureConversations { + final public func pendingSecureConversationStatus(_ callback: @escaping (_ hasPendingSecureConversations: Swift.Bool) -> Swift.Void) } extension GliaCoreSDK.GliaCore { final public func startSocketObservation() @@ -1305,7 +1310,9 @@ public struct QueueForEngagementOptions { final public let source: GliaCoreSDK.EngagementSource @objc public var restartedFromEngagementId: Swift.String? public var mediaStreams: GliaCoreSDK.Engagement.Media - public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media) + public var status: GliaCoreSDK.Engagement.Status + public var capabilities: GliaCoreSDK.Engagement.Capabilities + public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media, status: GliaCoreSDK.Engagement.Status, capabilities: GliaCoreSDK.Engagement.Capabilities) @objc deinit } extension GliaCoreSDK.Engagement { @@ -1320,6 +1327,23 @@ extension GliaCoreSDK.Engagement { public init(audio: GliaCoreSDK.MediaDirection?, video: GliaCoreSDK.MediaDirection?) } } +extension GliaCoreSDK.Engagement { + public struct Capabilities : Swift.Codable { + public let text: Swift.Bool + public var isTextMessageAllowed: Swift.Bool { + get + } + public init(text: Swift.Bool) + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws + } +} +extension GliaCoreSDK.Engagement { + public enum Status : Swift.Equatable { + case engaged, transferring, unknown(Swift.String) + public static func == (a: GliaCoreSDK.Engagement.Status, b: GliaCoreSDK.Engagement.Status) -> Swift.Bool + } +} @objc public class MediaUpgradeOffer : ObjectiveC.NSObject { final public let type: GliaCoreSDK.MediaType final public let direction: GliaCoreSDK.MediaDirection 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 7d00c9b..89c8387 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 @@ -3379,6 +3379,70 @@ "accessorKind": "get" } ] + }, + { + "kind": "Var", + "name": "onLiveToSecureConversationsEngagementTransferring", + "printedName": "onLiveToSecureConversationsEngagementTransferring", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvp", + "mangledName": "$s11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvp", + "moduleName": "GliaCoreSDK", + "protocolReq": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "() -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ] + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvg", + "mangledName": "$s11GliaCoreSDK18EngagementHandlingP027onLiveToSecureConversationsD12Transferringyycvg", + "moduleName": "GliaCoreSDK", + "genericSig": "<τ_0_0 where τ_0_0 : GliaCoreSDK.EngagementHandling>", + "sugared_genericSig": "", + "protocolReq": true, + "reqNewWitnessTableEntry": true, + "accessorKind": "get" + } + ] } ], "declKind": "Protocol", @@ -35976,6 +36040,119 @@ ], "isFromExtension": true, "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "subscribeToUnreadMessageCount", + "printedName": "subscribeToUnreadMessageCount(completion:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.String?", + "children": [ + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Result) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Result", + "printedName": "Swift.Result", + "children": [ + { + "kind": "TypeNominal", + "name": "Optional", + "printedName": "Swift.Int?", + "children": [ + { + "kind": "TypeNominal", + "name": "Int", + "printedName": "Swift.Int", + "usr": "s:Si" + } + ], + "usr": "s:Sq" + }, + { + "kind": "TypeNominal", + "name": "Error", + "printedName": "Swift.Error", + "usr": "s:s5ErrorP" + } + ], + "usr": "s:s6ResultO" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C19SecureConversationsC29subscribeToUnreadMessageCount10completionSSSgys6ResultOySiSgs5Error_pGc_tF", + "mangledName": "$s11GliaCoreSDK0aB0C19SecureConversationsC29subscribeToUnreadMessageCount10completionSSSgys6ResultOySiSgs5Error_pGc_tF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" + }, + { + "kind": "Function", + "name": "pendingSecureConversationStatus", + "printedName": "pendingSecureConversationStatus(_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.Bool) -> ()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ] + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK0aB0C19SecureConversationsC07pendingD18ConversationStatusyyySbcF", + "mangledName": "$s11GliaCoreSDK0aB0C19SecureConversationsC07pendingD18ConversationStatusyyySbcF", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "Final", + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "funcSelfKind": "NonMutating" } ], "declKind": "Class", @@ -38713,10 +38890,182 @@ } ] }, + { + "kind": "Var", + "name": "status", + "printedName": "status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvp", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvg", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvs", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvs", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC6statusAC6StatusOvM", + "mangledName": "$s11GliaCoreSDK10EngagementC6statusAC6StatusOvM", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, + { + "kind": "Var", + "name": "capabilities", + "printedName": "capabilities", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + }, + { + "kind": "Accessor", + "name": "Set", + "printedName": "Set()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvs", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvs", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "set" + }, + { + "kind": "Accessor", + "name": "Modify", + "printedName": "Modify()", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvM", + "mangledName": "$s11GliaCoreSDK10EngagementC12capabilitiesAC12CapabilitiesVvM", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "_modify" + } + ] + }, { "kind": "Constructor", "name": "init", - "printedName": "init(id:engagedOperator:source:fetchSurvey:restartedFromEngagementId:mediaStreams:)", + "printedName": "init(id:engagedOperator:source:fetchSurvey:restartedFromEngagementId:mediaStreams:status:capabilities:)", "children": [ { "kind": "TypeNominal", @@ -38835,11 +39184,23 @@ "name": "Media", "printedName": "GliaCoreSDK.Engagement.Media", "usr": "s:11GliaCoreSDK10EngagementC5MediaV" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" } ], "declKind": "Constructor", - "usr": "s:11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreamsACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVtcfc", - "mangledName": "$s11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreamsACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVtcfc", + "usr": "s:11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreams6status12capabilitiesACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVAC6StatusOAC12CapabilitiesVtcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC2id15engagedOperator6source11fetchSurvey013restartedFromD2Id12mediaStreams6status12capabilitiesACSS_AA0G0CSgAA0D6SourceOySS_ys6ResultOyAA0J0VSgAA0aB5ErrorCGctcSSSgAC5MediaVAC6StatusOAC12CapabilitiesVtcfc", "moduleName": "GliaCoreSDK", "declAttributes": [ "AccessControl", @@ -39122,6 +39483,384 @@ "RawDocComment" ], "isFromExtension": true + }, + { + "kind": "TypeDecl", + "name": "Capabilities", + "printedName": "Capabilities", + "children": [ + { + "kind": "Var", + "name": "text", + "printedName": "text", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "HasStorage", + "AccessControl", + "RawDocComment" + ], + "isLet": true, + "hasStorage": true, + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textSbvg", + "moduleName": "GliaCoreSDK", + "implicit": true, + "accessorKind": "get" + } + ] + }, + { + "kind": "Var", + "name": "isTextMessageAllowed", + "printedName": "isTextMessageAllowed", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Var", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvp", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvp", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "accessors": [ + { + "kind": "Accessor", + "name": "Get", + "printedName": "Get()", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Accessor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvg", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV20isTextMessageAllowedSbvg", + "moduleName": "GliaCoreSDK", + "accessorKind": "get" + } + ] + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(text:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + }, + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + } + ], + "declKind": "Constructor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4textAESb_tcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4textAESb_tcfc", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "init_kind": "Designated" + }, + { + "kind": "Constructor", + "name": "init", + "printedName": "init(from:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Capabilities", + "printedName": "GliaCoreSDK.Engagement.Capabilities", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV" + }, + { + "kind": "TypeNominal", + "name": "Decoder", + "printedName": "Swift.Decoder", + "usr": "s:s7DecoderP" + } + ], + "declKind": "Constructor", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV4fromAEs7Decoder_p_tKcfc", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV4fromAEs7Decoder_p_tKcfc", + "moduleName": "GliaCoreSDK", + "implicit": true, + "throwing": true, + "init_kind": "Designated" + }, + { + "kind": "Function", + "name": "encode", + "printedName": "encode(to:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Void", + "printedName": "()" + }, + { + "kind": "TypeNominal", + "name": "Encoder", + "printedName": "Swift.Encoder", + "usr": "s:s7EncoderP" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV6encode2toys7Encoder_p_tKF", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV6encode2toys7Encoder_p_tKF", + "moduleName": "GliaCoreSDK", + "implicit": true, + "throwing": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Struct", + "usr": "s:11GliaCoreSDK10EngagementC12CapabilitiesV", + "mangledName": "$s11GliaCoreSDK10EngagementC12CapabilitiesV", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Decodable", + "printedName": "Decodable", + "usr": "s:Se", + "mangledName": "$sSe" + }, + { + "kind": "Conformance", + "name": "Encodable", + "printedName": "Encodable", + "usr": "s:SE", + "mangledName": "$sSE" + } + ] + }, + { + "kind": "TypeDecl", + "name": "Status", + "printedName": "Status", + "children": [ + { + "kind": "Var", + "name": "engaged", + "printedName": "engaged", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO7engagedyA2EmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO7engagedyA2EmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Var", + "name": "transferring", + "printedName": "transferring", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO12transferringyA2EmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO12transferringyA2EmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Var", + "name": "unknown", + "printedName": "unknown", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(GliaCoreSDK.Engagement.Status.Type) -> (Swift.String) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeFunc", + "name": "Function", + "printedName": "(Swift.String) -> GliaCoreSDK.Engagement.Status", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "String", + "printedName": "Swift.String", + "usr": "s:SS" + } + ] + }, + { + "kind": "TypeNominal", + "name": "Metatype", + "printedName": "GliaCoreSDK.Engagement.Status.Type", + "children": [ + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ] + } + ] + } + ], + "declKind": "EnumElement", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO7unknownyAESScAEmF", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO7unknownyAESScAEmF", + "moduleName": "GliaCoreSDK" + }, + { + "kind": "Function", + "name": "==", + "printedName": "==(_:_:)", + "children": [ + { + "kind": "TypeNominal", + "name": "Bool", + "printedName": "Swift.Bool", + "usr": "s:Sb" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + }, + { + "kind": "TypeNominal", + "name": "Status", + "printedName": "GliaCoreSDK.Engagement.Status", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO" + } + ], + "declKind": "Func", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO2eeoiySbAE_AEtFZ", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO2eeoiySbAE_AEtFZ", + "moduleName": "GliaCoreSDK", + "static": true, + "implicit": true, + "funcSelfKind": "NonMutating" + } + ], + "declKind": "Enum", + "usr": "s:11GliaCoreSDK10EngagementC6StatusO", + "mangledName": "$s11GliaCoreSDK10EngagementC6StatusO", + "moduleName": "GliaCoreSDK", + "declAttributes": [ + "AccessControl", + "RawDocComment" + ], + "isFromExtension": true, + "conformances": [ + { + "kind": "Conformance", + "name": "Equatable", + "printedName": "Equatable", + "usr": "s:SQ", + "mangledName": "$sSQ" + } + ] } ], "declKind": "Class", @@ -43307,6 +44046,13 @@ "length": 7, "value": "\"omniq\"" }, + { + "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/VisitorState.swift", + "kind": "BooleanLiteral", + "offset": 3414, + "length": 4, + "value": "true" + }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/Engagement\/MessageManager\/MessageManager.swift", "kind": "BooleanLiteral", @@ -48903,91 +49649,91 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3432, + "offset": 3492, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3474, + "offset": 3534, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3432, + "offset": 3492, "length": 10, "value": "\"platform\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 3474, + "offset": 3534, "length": 10, "value": "\"operator\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4275, + "offset": 4335, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4395, + "offset": 4455, "length": 4, "value": "\"%@\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4401, + "offset": 4461, "length": 34, "value": "\"SubEngagement: empty operator ID\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4540, + "offset": 4600, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 4696, + "offset": 4756, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 10591, + "offset": 10927, "length": 11, "value": "\"timed_out\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 10654, + "offset": 10990, "length": 10, "value": "\"accepted\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 11525, + "offset": 11861, "length": 11, "value": "\"timed_out\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Model\/JSON\/EngagementInternal.swift", "kind": "StringLiteral", - "offset": 11603, + "offset": 11939, "length": 10, "value": "\"accepted\"" }, @@ -51642,7 +52388,7 @@ "kind": "StringLiteral", "offset": 426, "length": 7, - "value": "\"1.5.5\"" + "value": "\"2.0.0\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/NetworkConnectionMonitor\/PathMonitorClient.Live.swift", @@ -51738,665 +52484,665 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 2778, + "offset": 2786, "length": 53, "value": "\"Key does not exist in remote strings, key='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 2828, + "offset": 2836, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4552, + "offset": 4560, "length": 93, "value": "\"Setting 'activeEngagement' from '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4604, + "offset": 4612, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4607, + "offset": 4615, "length": 6, "value": "\"' to '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4639, + "offset": 4647, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 4642, + "offset": 4650, "length": 3, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "Dictionary", - "offset": 6155, + "offset": 6163, "length": 3, "value": "[]" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 8143, + "offset": 8151, "length": 197, "value": "\"Unable to return 'SiteManaging' instance because SDK is not configured using `GliaCore.sharedInstance.configure(with:)` method.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "Array", - "offset": 9395, + "offset": 9403, "length": 2, "value": "[]" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 11515, + "offset": 11523, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 11542, + "offset": 11550, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15169, + "offset": 15177, "length": 108, "value": "\"Request for authenticated visitor failed. Access token is expired: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15263, + "offset": 15271, "length": 6, "value": "\" status code.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15848, + "offset": 15856, "length": 49, "value": "\"Register Remote Logging failed: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15896, + "offset": 15904, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 15959, + "offset": 15967, "length": 76, "value": "\"Register Remote Logging failed: \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16034, + "offset": 16042, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16438, + "offset": 16446, "length": 118, "value": "\"Socket connection has been established after connection state changing (to='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16532, + "offset": 16540, "length": 16, "value": "\"') with result='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 16553, + "offset": 16561, "length": 3, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 23486, + "offset": 23494, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 23521, + "offset": 23529, "length": 1, "value": "1" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25510, + "offset": 25518, "length": 79, "value": "\"Unable to add remote logger to \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25548, + "offset": 25556, "length": 7, "value": "\" because it is not \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 25578, + "offset": 25586, "length": 8, "value": "\" instance.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 26776, + "offset": 26784, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 28044, + "offset": 28052, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 28410, + "offset": 28418, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 30238, + "offset": 30246, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 30416, + "offset": 30424, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 37377, + "offset": 37385, "length": 48, "value": "\"Engagement has failed with reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 37422, + "offset": 37430, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38081, + "offset": 38089, "length": 83, "value": "\"Engagement failed with no error. engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38159, + "offset": 38167, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 38162, + "offset": 38170, "length": 3, "value": "\"'\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 40081, + "offset": 40089, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 40113, + "offset": 40121, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 41532, + "offset": 41540, "length": 78, "value": "\"Socket connection has been established after background with result='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 41607, + "offset": 41615, "length": 5, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 42565, + "offset": 42573, "length": 72, "value": "\"Channel connection has not been established. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 42634, + "offset": 42642, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 45813, + "offset": 45821, "length": 64, "value": "\"Channel connection has not been established. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 45874, + "offset": 45882, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 46440, + "offset": 46448, "length": 64, "value": "\"SiteManaging not available. Can't initialize live observation.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 46661, + "offset": 46669, "length": 61, "value": "\"Channel is nil. Aborting setting up live observation medra.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47170, + "offset": 47178, "length": 61, "value": "\"Channel is nil. Aborting setting up live observation medra.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47452, + "offset": 47460, "length": 83, "value": "\"Site not available. Aborting setting up live observation medra. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 47532, + "offset": 47540, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 48017, + "offset": 48025, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51510, + "offset": 51518, "length": 22, "value": "\"cleanedOnFirstLaunch\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 51561, + "offset": 51569, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51732, + "offset": 51740, "length": 63, "value": "\"Cleaning keychain because of '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51769, + "offset": 51777, "length": 6, "value": "\"' is '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 51792, + "offset": 51800, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 53237, + "offset": 53245, "length": 56, "value": "\"Skipping handling visitor state update as it is 'nil'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "IntegerLiteral", - "offset": 54999, + "offset": 55007, "length": 1, "value": "2" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55668, + "offset": 55828, "length": 83, "value": "\"Engagement (id: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55702, + "offset": 55862, "length": 12, "value": "\"', status: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55734, + "offset": 55894, "length": 18, "value": "\"') is recovered.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55862, + "offset": 56022, "length": 82, "value": "\"Engagement (id: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55896, + "offset": 56056, "length": 12, "value": "\"', status: '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 55928, + "offset": 56088, "length": 17, "value": "\"') is accepted.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 56822, + "offset": 56982, "length": 4, "value": "true" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57461, + "offset": 57621, "length": 300, "value": "\"engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57519, + "offset": 57679, "length": 8, "value": "\"', sdk='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57553, + "offset": 57713, "length": 8, "value": "\"', iOS='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57588, + "offset": 57748, "length": 4, "value": "\"', device='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57640, + "offset": 57800, "length": 22, "value": "\"', pushNotifications='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57692, + "offset": 57852, "length": 1, "value": "\" \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 57734, + "offset": 57894, "length": 3, "value": "\"'.\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "BooleanLiteral", - "offset": 58649, + "offset": 58809, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 60354, + "offset": 60514, "length": 63, "value": "\"Can't set up media for engagement because visitor is missing.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 63820, + "offset": 63980, "length": 19, "value": "\"Engagement ended.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68208, + "offset": 68368, "length": 77, "value": "\"Media upgrade has been successful. engagement_id='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68282, + "offset": 68442, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68376, + "offset": 68536, "length": 89, "value": "\"Error posting media upgrade of type '\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68442, + "offset": 68602, "length": 10, "value": "\"'. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68462, + "offset": 68622, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68741, + "offset": 68901, "length": 41, "value": "\"Media upgrade failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68779, + "offset": 68939, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68948, + "offset": 69108, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 69007, + "offset": 69167, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 68948, + "offset": 69108, "length": 22, "value": "\"capabilities:request\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 69007, + "offset": 69167, "length": 23, "value": "\"capabilities:response\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 70918, + "offset": 71078, "length": 94, "value": "\"Screen sharing failed with error 'screenSharingNotAvailable'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71009, + "offset": 71169, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71253, + "offset": 71413, "length": 93, "value": "\"Screen sharing failed with error 'notAvailableOnIOSVersion'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71343, + "offset": 71503, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71573, + "offset": 71733, "length": 78, "value": "\"Connection failed with error 'proposalError'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71648, + "offset": 71808, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71866, + "offset": 72026, "length": 76, "value": "\"RTCClient failed with error 'noConnection'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 71939, + "offset": 72099, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 72152, + "offset": 72312, "length": 72, "value": "\"Medra failed with error 'networkError'. Reason='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.swift", "kind": "StringLiteral", - "offset": 72221, + "offset": 72381, "length": 4, "value": "\"'.\"" }, @@ -53572,7 +54318,7 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCoreExtensions\/GliaCore+Queueable.swift", "kind": "Dictionary", - "offset": 21709, + "offset": 21759, "length": 3, "value": "[]" }, @@ -53656,224 +54402,224 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 12697, + "offset": 12705, "length": 35, "value": "\"File url for uploading not found.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13290, + "offset": 13298, "length": 38, "value": "\"File has been uploaded successfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13476, + "offset": 13484, "length": 54, "value": "\"File uploading request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13527, + "offset": 13535, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13580, + "offset": 13588, "length": 67, "value": "\"File uploading has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 13644, + "offset": 13652, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 14471, + "offset": 14479, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 15489, + "offset": 15497, "length": 32, "value": "\"A file id is missed or invalid\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 16361, + "offset": 16369, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17325, + "offset": 17333, "length": 39, "value": "\"File has been downloaded succesfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17513, + "offset": 17521, "length": 56, "value": "\"File downloading request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17566, + "offset": 17574, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 17658, + "offset": 17666, "length": 26, "value": "\"File downloading failed.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18103, + "offset": 18111, "length": 41, "value": "\"File info has been fetched succesfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18279, + "offset": 18287, "length": 58, "value": "\"File info fetching request has failed. Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18334, + "offset": 18342, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 18418, + "offset": 18426, "length": 27, "value": "\"File can't be downloaded.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19717, + "offset": 19733, "length": 39, "value": "\"Messages marked as read successfully.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19900, + "offset": 19916, "length": 38, "value": "\"Marking messages as read has failed.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 19988, + "offset": 20004, "length": 39, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20008, + "offset": 20024, "length": 5, "value": "\" Error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20024, + "offset": 20040, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20307, + "offset": 20323, "length": 79, "value": "\"Error getting the visitor for marking messages as read, error=\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 20385, + "offset": 20401, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 20492, + "offset": 20508, "length": 5, "value": "false" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 21865, + "offset": 21881, "length": 63, "value": "\"No unread message count present in VisitorState, returning 0.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "IntegerLiteral", - "offset": 21970, + "offset": 21986, "length": 1, "value": "0" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22059, + "offset": 22075, "length": 88, "value": "\"Unread message count present in VisitorState, \"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22127, + "offset": 22143, "length": 6, "value": "\" unread message(s).\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22285, + "offset": 22301, "length": 78, "value": "\"Error getting the visitor for unread message count, error='\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "StringLiteral", - "offset": 22360, + "offset": 22376, "length": 4, "value": "\"'.\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/GliaCore\/GliaCore.SecureConversations.swift", "kind": "BooleanLiteral", - "offset": 22499, + "offset": 22515, "length": 5, "value": "false" }, @@ -54125,14 +54871,14 @@ { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/Engagement.swift", "kind": "StringLiteral", - "offset": 2652, + "offset": 2913, "length": 2, "value": "\"\"" }, { "filePath": "\/Users\/vagrant\/git\/GliaCoreSDK\/GliaCoreSDK\/Classes\/API\/Engagement.swift", "kind": "StringLiteral", - "offset": 2744, + "offset": 3005, "length": 2, "value": "\"\"" }, 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 087fc04..1030316 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 @@ -128,6 +128,7 @@ public protocol EngagementHandling { var onEngagementRequest: GliaCoreSDK.RequestOfferBlock { get } var onEngagementTransfer: GliaCoreSDK.EngagementTransferBlock { get } var onEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } + var onLiveToSecureConversationsEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } } @objc public protocol MessageHandling { @objc func receive(message: GliaCoreSDK.Message) @@ -1308,6 +1309,10 @@ extension GliaCoreSDK.GliaCore.SecureConversations { @discardableResult final public func markMessagesAsRead(completion: @escaping (Swift.Result) -> Swift.Void) -> GliaCoreSDK.GliaCore.Cancellable final public func getUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) + final public func subscribeToUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) -> Swift.String? +} +extension GliaCoreSDK.GliaCore.SecureConversations { + final public func pendingSecureConversationStatus(_ callback: @escaping (_ hasPendingSecureConversations: Swift.Bool) -> Swift.Void) } extension GliaCoreSDK.GliaCore { final public func startSocketObservation() @@ -1336,7 +1341,9 @@ public struct QueueForEngagementOptions { final public let source: GliaCoreSDK.EngagementSource @objc public var restartedFromEngagementId: Swift.String? public var mediaStreams: GliaCoreSDK.Engagement.Media - public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media) + public var status: GliaCoreSDK.Engagement.Status + public var capabilities: GliaCoreSDK.Engagement.Capabilities + public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media, status: GliaCoreSDK.Engagement.Status, capabilities: GliaCoreSDK.Engagement.Capabilities) @objc deinit } extension GliaCoreSDK.Engagement { @@ -1351,6 +1358,23 @@ extension GliaCoreSDK.Engagement { public init(audio: GliaCoreSDK.MediaDirection?, video: GliaCoreSDK.MediaDirection?) } } +extension GliaCoreSDK.Engagement { + public struct Capabilities : Swift.Codable { + public let text: Swift.Bool + public var isTextMessageAllowed: Swift.Bool { + get + } + public init(text: Swift.Bool) + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws + } +} +extension GliaCoreSDK.Engagement { + public enum Status : Swift.Equatable { + case engaged, transferring, unknown(Swift.String) + public static func == (a: GliaCoreSDK.Engagement.Status, b: GliaCoreSDK.Engagement.Status) -> Swift.Bool + } +} @objc public class MediaUpgradeOffer : ObjectiveC.NSObject { final public let type: GliaCoreSDK.MediaType final public let direction: GliaCoreSDK.MediaDirection 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 b2309cc..4334114 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 f40bc76..eaf4a2c 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 @@ -128,6 +128,7 @@ public protocol EngagementHandling { var onEngagementRequest: GliaCoreSDK.RequestOfferBlock { get } var onEngagementTransfer: GliaCoreSDK.EngagementTransferBlock { get } var onEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } + var onLiveToSecureConversationsEngagementTransferring: GliaCoreSDK.EngagementTransferringBlock { get } } @objc public protocol MessageHandling { @objc func receive(message: GliaCoreSDK.Message) @@ -1277,6 +1278,10 @@ extension GliaCoreSDK.GliaCore.SecureConversations { @discardableResult final public func markMessagesAsRead(completion: @escaping (Swift.Result) -> Swift.Void) -> GliaCoreSDK.GliaCore.Cancellable final public func getUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) + final public func subscribeToUnreadMessageCount(completion: @escaping (Swift.Result) -> Swift.Void) -> Swift.String? +} +extension GliaCoreSDK.GliaCore.SecureConversations { + final public func pendingSecureConversationStatus(_ callback: @escaping (_ hasPendingSecureConversations: Swift.Bool) -> Swift.Void) } extension GliaCoreSDK.GliaCore { final public func startSocketObservation() @@ -1305,7 +1310,9 @@ public struct QueueForEngagementOptions { final public let source: GliaCoreSDK.EngagementSource @objc public var restartedFromEngagementId: Swift.String? public var mediaStreams: GliaCoreSDK.Engagement.Media - public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media) + public var status: GliaCoreSDK.Engagement.Status + public var capabilities: GliaCoreSDK.Engagement.Capabilities + public init(id: Swift.String, engagedOperator: GliaCoreSDK.Operator?, source: GliaCoreSDK.EngagementSource, fetchSurvey: @escaping GliaCoreSDK.Engagement.FetchSurvey, restartedFromEngagementId: Swift.String? = nil, mediaStreams: GliaCoreSDK.Engagement.Media, status: GliaCoreSDK.Engagement.Status, capabilities: GliaCoreSDK.Engagement.Capabilities) @objc deinit } extension GliaCoreSDK.Engagement { @@ -1320,6 +1327,23 @@ extension GliaCoreSDK.Engagement { public init(audio: GliaCoreSDK.MediaDirection?, video: GliaCoreSDK.MediaDirection?) } } +extension GliaCoreSDK.Engagement { + public struct Capabilities : Swift.Codable { + public let text: Swift.Bool + public var isTextMessageAllowed: Swift.Bool { + get + } + public init(text: Swift.Bool) + public func encode(to encoder: any Swift.Encoder) throws + public init(from decoder: any Swift.Decoder) throws + } +} +extension GliaCoreSDK.Engagement { + public enum Status : Swift.Equatable { + case engaged, transferring, unknown(Swift.String) + public static func == (a: GliaCoreSDK.Engagement.Status, b: GliaCoreSDK.Engagement.Status) -> Swift.Bool + } +} @objc public class MediaUpgradeOffer : ObjectiveC.NSObject { final public let type: GliaCoreSDK.MediaType final public let direction: GliaCoreSDK.MediaDirection 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 7b59ce1..e266a1a 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 - 1gwZ/i+xCPpNKsMkb4eHe5eOv5w= + 96ICrjAkjXTqmvUyF+KRtrjU5eI= Headers/GliaCoreSDK.h @@ -22,43 +22,43 @@ Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.abi.json - Dh6mXpvk5VmVYv5IItlwB08jC7Y= + HBaUeXXhEC72BvHAW4LYyAaGqN8= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface - 6naq+TuUhzTR4Zn9JfvCmEiVPco= + 0wc8hhhmV1Fm9HR1GehHJ9OqF/4= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc - tTJYAbu4nlCyEzMmiNYzaonRR9A= + JuUaZJtjcxia6SOoEF7AXogVJ1I= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface - gHTdJ57MGKSKPK6SF94VTHeeAhg= + yfdK3OW6B7Mg1b18x6TeuuEDdMA= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule - K8qhJJ9ZFnrhqoPoejcDfukT2CQ= + C4B7poqMnOB7ObGh9MzjSIpV2XQ= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json - Dh6mXpvk5VmVYv5IItlwB08jC7Y= + HBaUeXXhEC72BvHAW4LYyAaGqN8= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface - kAgLHThqTLTYoW1en4XeBhp7cRE= + sHFZEHske1PCffTh0b0X9NJYQuk= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc - HEy1AOFRA2rtDtIcK6AlW9JnxtI= + ET7zNLsUDGDWFCYom1ip6AcGvp0= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface - l5NU4jqsXmZD8HUSaflCqEmxdEk= + 7tysybBow+Vh1BVHtJNu8jCXzR0= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule - eBBRqpL/Bsc49qgyjXN1oBNMlfk= + 5vWTKIyFH9w1+kiac8pPWsE89a0= Modules/module.modulemap @@ -78,7 +78,7 @@ hash2 - 0xhADptdiXMP9pUjaG2rvfDlu/Y98Pbd9qdIeMF1H3A= + wqd4m4n1FaJQVFns692NuxdXEOHks+gR8gKyaGcqnME= Headers/GliaCoreSDK.h @@ -92,70 +92,70 @@ hash2 - MOFPo872UId/nL/dYTQb1+kOYhDNvxqUT3rRTupaK94= + vz+Sa5LBOPwHimL4ZxGyEzjDoKntG0sxEOncPm1XdQ0= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface hash2 - 28rtbJdogRN48GVoUCykd1tNttDxmwDHnm620EMFJeE= + 6up/5kMjkp8xrZLbXOJWXC9koOX4M6dd4dz0+RcqoWE= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc hash2 - xJGHtLt3eZaaKkANB57Odb8pKQN9uuBTNKIDXy/6iKg= + YnEei9Ke+r9GHvP3hhV70eiAocVQ8pNOiLU7RirWhR0= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface hash2 - H7eCvI+r2cHXgk1+pvo+8i4maKfDug9N3nhnr3CRk8M= + L3pn4yuak5FnN3kmGC3Gj+02BPNOjXTC321N4n7OE80= Modules/GliaCoreSDK.swiftmodule/arm64-apple-ios-simulator.swiftmodule hash2 - GGcKfyVSnZWB2YpCEsW081WnBjWtFUi0clV/tlSX6aI= + dxZHkYGut1/1tNyt984u/dg8fQNkCn7sDOQKqBpYqkA= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json hash2 - MOFPo872UId/nL/dYTQb1+kOYhDNvxqUT3rRTupaK94= + vz+Sa5LBOPwHimL4ZxGyEzjDoKntG0sxEOncPm1XdQ0= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface hash2 - Pdk6eQve2+GXTsNjRSxk6XTR/NHeEdUUOQuSDpWhbYg= + l/eUMMoxsDCZyVFLhMUQrTeFxYbLmqvp2cWCsvs1Zoc= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc hash2 - fRJmt0wYnSRqRGcGXOxe4MJacWQiAM6IsrLPpqZpyLY= + tTg40Ij5DZEcMiGxC9ISNweJGEyiTwffKtaOotpaUIY= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface hash2 - 4xuDbVAowKudpWqVdJaTh7gHUcJcXObSbsWifyg+IHs= + VBf2zz5Xu+0CLAsHs0lc7VWXiMhqzJPKdy1OR8cHjsI= Modules/GliaCoreSDK.swiftmodule/x86_64-apple-ios-simulator.swiftmodule hash2 - 5qhOUpy5265RKVZao+qhhtOQUs+j3Ib0k+clPocH1+Y= + H9pF/fvZkj7OGmZLswJnMvRV+rpRYd6P5oArfHLvj2g= Modules/module.modulemap diff --git a/Package.swift b/Package.swift index de3bcf7..e431202 100644 --- a/Package.swift +++ b/Package.swift @@ -31,8 +31,8 @@ let package = Package( ), .binaryTarget( name: "GliaCoreSDK", - url: "https://github.com/salemove/ios-bundle/releases/download/1.5.5/GliaCoreSDK.xcframework.zip", - checksum: "21132a5eeb2ce1f4a4e75f4d2ea1c8c77ac4aead2c3ed000dadffbe9489ff899" + url: "https://github.com/salemove/ios-bundle/releases/download/2.0.0/GliaCoreSDK.xcframework.zip", + checksum: "7a5c6430c5ad291870208052ec8abf99b4d8706bbc038e635a84bbc19c1a0131" ), .target( name: "GliaSDK",