Skip to content

Commit

Permalink
Merge pull request #51 from LP-Messaging/6.4.0.787
Browse files Browse the repository at this point in the history
SDK 6.4.0.787
  • Loading branch information
dvillacis94 authored May 8, 2021
2 parents 4860f34 + a36fc05 commit 2e46ef1
Show file tree
Hide file tree
Showing 71 changed files with 31,262 additions and 28,243 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>6.3.0</string>
<string>6.4.0</string>
<key>CFBundleVersion</key>
<string>769</string>
<string>787</string>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleShortVersionString</key>
<string>6.3.0</string>
<string>6.4.0</string>
<key>CFBundleVersion</key>
<string>769</string>
<string>787</string>
</dict>
</plist>
Binary file not shown.
12 changes: 6 additions & 6 deletions Libraries/LPMessagingSDK.xcframework/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<string>ios-x86_64-simulator</string>
<key>LibraryPath</key>
<string>LPMessagingSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-x86_64-simulator</string>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>LPMessagingSDK.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>x86_64</string>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
</array>
<key>CFBundlePackageType</key>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,8 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
@import UIKit;
#endif

#import <LPMessagingSDK/LPMessagingSDK.h>

#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
#if __has_warning("-Wpragma-clang-attribute")
Expand Down Expand Up @@ -831,6 +833,25 @@ SWIFT_CLASS("_TtC14LPMessagingSDK8LPConfig")
@property (nonatomic, strong) UIColor * _Nonnull userFileStateTint;
/// Tint color for the state of photos send by user.
@property (nonatomic, strong) UIColor * _Nonnull userPhotoStateTint;
/// Enable or disable inapp reporting for push notifications to event manager api.
/// If true: SDK will report delivery, read, and conversation events.
/// <ul>
/// <li>
/// INFO:
/// </li>
/// </ul>
/// <ol>
/// <li>
/// Due to iOS Limitations, Delivery event is reported alongside read event.
/// </li>
/// <li>
/// Read event is reported when the consumer reads the push notification message (message is shown).
/// </li>
/// <li>
/// Conversation event is reported when the consumer replies to the push notification message(conversation has been created).
/// </li>
/// </ol>
@property (nonatomic) BOOL inAppReportingEnabled;
/// Distance between the bottom and top edges of the button to the bottom and top edges of the text.
@property (nonatomic) CGFloat quickReplyButtonVerticalPadding;
/// Distance between the right and left edges of the button to the right and left edges of the text.
Expand Down Expand Up @@ -931,7 +952,12 @@ SWIFT_CLASS("_TtC14LPMessagingSDK8LPConfig")
@property (nonatomic, strong) UIColor * _Nonnull structuredContentButtonTextColor;
/// Used to set the text color for Structure Content elements of text type
@property (nonatomic, strong) UIColor * _Nonnull structuredContentTextColor;
/// Used to set the width constraint for Structured Constant elements of button type
@property (nonatomic) CGFloat structuredButtonWidthConstant;
/// Structured content loading image when images are being fetched/loaded
@property (nonatomic, strong) UIImage * _Nullable structuredContentLoadingImage;
/// Structured content loading image when images failed to fetched/loaded
@property (nonatomic, strong) UIImage * _Nullable structuredContentBrokenImage;
/// Corner radius for submit button.
@property (nonatomic) double csatSubmitButtonCornerRadius;
/// Corner radius for (Yes/No) buttons.
Expand Down Expand Up @@ -2298,6 +2324,15 @@ SWIFT_CLASS("_TtC14LPMessagingSDK6LPUser")
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end

@class LPSRSecurityPolicy;

SWIFT_CLASS("_TtC14LPMessagingSDK11LPWebSocket")
@interface LPWebSocket : LPSRWebSocket
- (void)open;
- (void)close;
- (nonnull instancetype)initWithURLRequest:(NSURLRequest * _Nonnull)request protocols:(NSArray<NSString *> * _Nullable)protocols securityPolicy:(LPSRSecurityPolicy * _Nonnull)securityPolicy SWIFT_UNAVAILABLE;
@end

enum MessageFrequency : NSInteger;
@class LPWelcomeMessageOption;
@class QuickReplyItem;
Expand Down Expand Up @@ -2405,6 +2440,8 @@ SWIFT_CLASS("_TtC14LPMessagingSDK21MessagingServiceEvent")
@end




SWIFT_CLASS("_TtC14LPMessagingSDK12NSBouncyView")
@interface NSBouncyView : UIView
- (nonnull instancetype)initWithFrame:(CGRect)frame OBJC_DESIGNATED_INITIALIZER;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ extension File {
@objc public func getQueryUID() -> Swift.String
@objc public func getCampaignInfo() -> LPMessagingSDK.LPCampaignInfo?
@objc public func getQueryProperties() -> [Swift.String : Any]
@objc deinit
@objc override dynamic public init()
@objc deinit
}
public protocol LPStructuredContentDelegate : AnyObject {
func lpStructuredContentDidPress(withActions actions: [LPMessagingSDK.LPStructuredContentAction], metadata: [[Swift.String : Any]]?)
Expand Down Expand Up @@ -323,8 +323,8 @@ extension LinkPreview {
@objc public func encode(with aCoder: Foundation.NSCoder)
@objc required public init?(coder aDecoder: Foundation.NSCoder)
public func compare(other: LPMessagingSDK.TTRModel) -> Swift.Bool
@objc deinit
@objc override dynamic public init()
@objc deinit
}
public enum ConversationQueryType : Swift.String {
case Brand
Expand Down Expand Up @@ -1123,10 +1123,10 @@ public enum LocalMessageType : Swift.Int, Swift.CaseIterable {
case proactiveMessage
public init?(number: Foundation.NSNumber)
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
public init?(rawValue: Swift.Int)
public typealias AllCases = [LPMessagingSDK.LocalMessageType]
public static var allCases: [LPMessagingSDK.LocalMessageType] {
get
Expand Down Expand Up @@ -1232,10 +1232,10 @@ extension Message {
case ContentEvent
case StructuredContentEvent
public typealias RawValue = Swift.String
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public init?(rawValue: Swift.String)
}
public enum NotificationDistributionType : Swift.String {
case QUERY
Expand All @@ -1262,6 +1262,26 @@ extension Message {
@objc deinit
@objc override dynamic public init()
}
public protocol LPWebSocketHandler : LPMessagingSDK.SRWebSocketDelegate {
func getSocketID() -> Swift.String
func overloadRequest(_ requestHandler: LPMessagingSDK.LPWebSocket.RequestCompletionHandler) -> LPMessagingSDK.LPWebSocket.RequestCompletionHandler
func updateSocket(socket: LPMessagingSDK.LPWebSocket)
}
public struct SocketDetails {
public init(scheme: Swift.String, host: Swift.String, path: Swift.String, headers: [Swift.String : Swift.String]? = nil)
}
@objc @_hasMissingDesignatedInitializers public class LPWebSocket : LPMessagingSDK.LPSRWebSocket {
public typealias RequestResultCompleted = (Swift.AnyObject) -> (Swift.Void)
public typealias RequestResultFailed = (Foundation.NSError) -> (Swift.Void)
public struct RequestCompletionHandler {
}
public func requestDictionary(_ message: Swift.String, payload: [Swift.String : Any]? = nil, headers: [Swift.String : Any] = [:], metadata: [[Swift.String : Any]]? = nil, expectAckResponse: Swift.Bool? = false, completion: LPMessagingSDK.LPWebSocket.RequestResultCompleted?, failure: LPMessagingSDK.LPWebSocket.RequestResultFailed?)
public func requestWithCompletion(_ message: Swift.String, payload: [Swift.String : Any]? = nil, headers: [Swift.String : Any] = [:], metadata: [[Swift.String : Any]]? = nil, expectAckResponse: Swift.Bool? = false, completion: LPMessagingSDK.LPWebSocket.RequestResultCompleted?, failure: LPMessagingSDK.LPWebSocket.RequestResultFailed?)
@objc override dynamic public func open()
@objc override dynamic public func close()
@objc deinit
@objc override dynamic public init(urlRequest request: Foundation.URLRequest, protocols: [Swift.String]?, securityPolicy: LPMessagingSDK.LPSRSecurityPolicy)
}
@objc public enum LPPusherUnregisterType : Swift.Int {
case all
case none
Expand Down Expand Up @@ -1424,12 +1444,13 @@ public enum LPFlowTag : Swift.CustomStringConvertible {
case CONVERSATION_SETUP
case CONVERSATION_TABLE
case CONVERSATION_VIEW
case CONVERSATION_VIEWMODEL
case CORE_DATA_RECOVERY
case CSAT
case CSDS
case DEFAULT
case DEVELOPMENT
case ENCRYPTION
case EVENT_MANAGER
case FCR
case FILE
case HISTORY_CONTROL
Expand All @@ -1454,6 +1475,12 @@ public enum LPFlowTag : Swift.CustomStringConvertible {
case SCROLL_POSITION
case SCROLL_TO_BOTTOM_BUTTON
case SOCKET
case SOCKET_PRECONNECTION
case SOCKET_CONNECTION
case SOCKET_COMMUNICATION
case SOCKET_HANDLER
case SOCKET_TIMER
case STATE_HANDLER
case STRUCTURED_CONTENT
case UNIT_TEST
case UNREAD_MESSAGES
Expand Down Expand Up @@ -1641,6 +1668,7 @@ public enum QuickReplyActionType : Swift.String {
@objc public var remoteFileStateTint: UIKit.UIColor
@objc public var userFileStateTint: UIKit.UIColor
@objc public var userPhotoStateTint: UIKit.UIColor
@objc public var inAppReportingEnabled: Swift.Bool
@objc public var quickReplyButtonVerticalPadding: CoreGraphics.CGFloat
@objc public var quickReplyButtonHorizontalPadding: CoreGraphics.CGFloat
@objc public var quickReplyVerticalMargin: CoreGraphics.CGFloat
Expand Down Expand Up @@ -1679,6 +1707,8 @@ public enum QuickReplyActionType : Swift.String {
@objc public var structuredContentButtonTextColor: UIKit.UIColor
@objc public var structuredContentTextColor: UIKit.UIColor
@objc public var structuredButtonWidthConstant: CoreGraphics.CGFloat
@objc public var structuredContentLoadingImage: UIKit.UIImage?
@objc public var structuredContentBrokenImage: UIKit.UIImage?
@objc public var csatSubmitButtonCornerRadius: Swift.Double
@objc public var csatYesNoButtonsCornerRadius: Swift.Double
@objc public var csatSubmitButtonBackgroundColor: UIKit.UIColor
Expand Down Expand Up @@ -2119,6 +2149,7 @@ public enum CSDSService : Swift.String {
case loggos
case pusher
case tokenizer
case eventManager
case adminArea
case liveEngage
case agentVep
Expand Down Expand Up @@ -2269,10 +2300,7 @@ public struct LPNotificationName {
public static let AGENT_DETAILS_FETCHED: Foundation.Notification.Name
public static let MESSAGE_NOTIFICATION_RECEIVED: Foundation.Notification.Name
public static let CONVERSATION_VIEWCONTROLLER_REMOVED: Foundation.Notification.Name
public static let CONVERSATION_VIEWCONTROLLER_DID_LOAD: Foundation.Notification.Name
public static let CONVERSATION_VIEWCONTROLLER_WILL_APPEAR: Foundation.Notification.Name
public static let ACTIVE_AGENT_DETAILS_CHANGED: Foundation.Notification.Name
public static let CSDS_DOMAIN_CHANGED: Foundation.Notification.Name
public static let SOCKET_OPENED: Foundation.Notification.Name
public static let SOCKET_CLOSED: Foundation.Notification.Name
public static let CONNECTION_PROCESS_FAILED: Foundation.Notification.Name
Expand All @@ -2282,11 +2310,10 @@ public struct LPNotificationName {
public static let UNAUTHENTICATED_USER_EXPIRED: Foundation.Notification.Name
public static let REGISTRATION_TO_PUSHER_SUCCEEDED: Foundation.Notification.Name
public static let REGISTRATION_TO_PUSHER_FAILED: Foundation.Notification.Name
public static let PUSHER_LOGIN_FLOW_STARTED: Foundation.Notification.Name
public static let AGENT_DETAILS_IMAGE_CHANGED: Foundation.Notification.Name
public static let LP_SECURED_FORM_FINISHED_LOADING: Foundation.Notification.Name
public static let LP_FINISHED_FETCHING_HISTORY: Foundation.Notification.Name
public static let LP_DIALOG_CLOSE: Foundation.Notification.Name
public static let LP_SET_CONVERSATION_PARTICIPANTS: Foundation.Notification.Name
}
public enum LPKeychainKey : Swift.String, Swift.CaseIterable {
case TOKEN
Expand Down Expand Up @@ -2379,10 +2406,10 @@ public enum UserType : Swift.String {
case Reader
case Manager
public typealias RawValue = Swift.String
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public init?(rawValue: Swift.String)
}
@objc public protocol User : LPMessagingSDK.EntityInterface {
@objc var uid: Swift.String { get set }
Expand Down Expand Up @@ -2447,10 +2474,10 @@ public enum ChannelTypes : Swift.String {
case MESSAGING
case COBROWSE
public typealias RawValue = Swift.String
public init?(rawValue: Swift.String)
public var rawValue: Swift.String {
get
}
public init?(rawValue: Swift.String)
}
public enum ChatState : Swift.String {
case Active
Expand Down Expand Up @@ -2647,9 +2674,9 @@ public struct LPStructuredContentSampleData {
get
}
public static let instance: LPMessagingSDK.LPMonitoringDataManager
@objc deinit
public func initialize(accountId: Swift.String, monitoringInitParms: LPMessagingSDK.LPMonitoringInitParams)
public func clearEngagementMonitoring()
@objc deinit
}
@objc @_hasMissingDesignatedInitializers public class LPStructuredContentNavigateAction : LPMessagingSDK.LPStructuredContentAction {
public var latitude: CoreLocation.CLLocationDegrees {
Expand Down Expand Up @@ -2710,6 +2737,26 @@ extension LPMessaging {
@objc override public func encode(with aCoder: Foundation.NSCoder)
@objc deinit
}
public protocol LPSocketLoggerDelegate : AnyObject {
func lpSocketLogger(message: Swift.String, type: LPMessagingSDK.LPSocketLoggerType, error: Swift.Error?)
}
public enum LPSocketLoggerType : Swift.Int {
case error
case warning
case info
case debug
case trace
public typealias RawValue = Swift.Int
public init?(rawValue: Swift.Int)
public var rawValue: Swift.Int {
get
}
}
@_hasMissingDesignatedInitializers final public class LPSocketLogger {
weak final public var delegate: LPMessagingSDK.LPSocketLoggerDelegate?
public static let instance: LPMessagingSDK.LPSocketLogger
@objc deinit
}
@objc public protocol ConversationViewControllerAgentDelegate {
@objc optional func agentDidChangeUserInputText(_ text: Swift.String)
}
Expand Down Expand Up @@ -2866,6 +2913,22 @@ public protocol LPStructuredContentLoggerDelegate : AnyObject {
public protocol LPStructuredContentImageDownloader {
func LPStructuredContentNeedsImageToDownload(imageURL: Swift.String, resizeImageSize: CoreGraphics.CGSize, completion: @escaping (UIKit.UIImage?) -> (), failure: (() -> ())?)
}
@_hasMissingDesignatedInitializers public class LPSocketManager {
public var webSockets: [Swift.String : LPMessagingSDK.LPWebSocket] {
get
}
public static let instance: LPMessagingSDK.LPSocketManager
public func createSocket(_ socketHandler: LPMessagingSDK.LPWebSocketHandler?, socketDetails: LPMessagingSDK.SocketDetails, securityPolicy: LPMessagingSDK.LPSRSecurityPolicy? = nil) -> LPMessagingSDK.LPWebSocket?
public func getSocket(_ brandID: Swift.String) -> LPMessagingSDK.LPWebSocket?
public func getSocket(socketHandler: LPMessagingSDK.LPWebSocketHandler) -> LPMessagingSDK.LPWebSocket?
public func removeSocket(socketHandler: LPMessagingSDK.LPWebSocketHandler)
public func openAllSockets()
public func openSocket(_ webSocket: LPMessagingSDK.LPWebSocket, securityPolicy: LPMessagingSDK.LPSRSecurityPolicy? = nil)
public func closeAllSockets()
public func removeSockets()
public func clearManager()
@objc deinit
}
@objc public protocol LPMessagingSDKdelegate {
@objc optional func LPMessagingSDKCustomButtonTapped()
@objc optional func LPMessagingSDKAgentDetails(_ agent: LPMessagingSDK.LPUser?)
Expand Down Expand Up @@ -2897,7 +2960,7 @@ public protocol LPStructuredContentImageDownloader {
@objc optional func LPMessagingSDKUnauthenticatedUserExpired()
}
@objc public class ProactiveNotificationData : ObjectiveC.NSObject, Foundation.NSCoding {
public init(brandId: Swift.String, lookBackPeriod: Swift.Double? = nil, expirationEpochTime: Swift.Double, agentPid: Swift.String? = nil, backendService: Swift.String? = nil, leCampaignId: Swift.String? = nil, leEngagementId: Swift.String? = nil, externalConsumerId: Swift.String? = nil)
public init(brandId: Swift.String, lookBackPeriod: Swift.Double? = nil, expirationEpochTime: Swift.Double, agentPid: Swift.String? = nil, backendService: Swift.String? = nil, leCampaignId: Swift.String? = nil, leEngagementId: Swift.String? = nil, externalConsumerId: Swift.String? = nil, transactionId: Swift.String? = nil)
@objc required public init?(coder: Foundation.NSCoder)
@objc public func encode(with coder: Foundation.NSCoder)
@objc override dynamic public init()
Expand Down Expand Up @@ -3119,6 +3182,9 @@ extension LPMessagingSDK.DialogState : Swift.RawRepresentable {}
extension LPMessagingSDK.SocketType : Swift.Equatable {}
extension LPMessagingSDK.SocketType : Swift.Hashable {}
extension LPMessagingSDK.SocketType : Swift.RawRepresentable {}
extension LPMessagingSDK.LPSocketLoggerType : Swift.Equatable {}
extension LPMessagingSDK.LPSocketLoggerType : Swift.Hashable {}
extension LPMessagingSDK.LPSocketLoggerType : Swift.RawRepresentable {}
extension LPMessagingSDK.NotificationPayload.PayloadType : Swift.Equatable {}
extension LPMessagingSDK.NotificationPayload.PayloadType : Swift.Hashable {}
extension LPMessagingSDK.NotificationPayload.PayloadType : Swift.RawRepresentable {}
Binary file not shown.
Loading

0 comments on commit 2e46ef1

Please sign in to comment.