Skip to content

Commit

Permalink
Glia Core SDK Release 0.34.5
Browse files Browse the repository at this point in the history
  • Loading branch information
BitriseBot authored and dukhovnyi committed Oct 5, 2022
1 parent ca584aa commit 9f04f62
Show file tree
Hide file tree
Showing 15 changed files with 213 additions and 180 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ let package = Package(
),
.binaryTarget(
name: "SalemoveSDK",
url: "https://github.com/salemove/ios-bundle/releases/download/0.34.4/SalemoveSDK.xcframework.zip",
checksum: "0559bf4151b718526f010dd82a67b380ffbffc8f52bee5daa7b94578f45fceab"
url: "https://github.com/salemove/ios-bundle/releases/download/0.34.5/SalemoveSDK.xcframework.zip",
checksum: "1326cf3b8ea9645fe1869aafd248d4d534874629ea6df7008f607db4f6e0811b"
),
.target(
name: "GliaSDK",
Expand Down
2 changes: 1 addition & 1 deletion SalemoveSDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SalemoveSDK'
s.version = '0.34.4'
s.version = '0.34.5'
s.summary = 'The Salemove iOS library'
s.description = 'The Salemove iOS library brings the in-person customer experience to iOS devices.'
s.homepage = 'https://github.com/salemove/ios-sdk'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -705,8 +705,20 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _




@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Request media upgrade with specific offer
/// Request a VisitorCode for current Visitor
/// A Visitor code can be displayed to the Visitor. The Visitor can then inform OmniBrowse Operators of their code.
/// OmniBrowse Operators use the Visitor’s code to start an OmniBrowse Engagement with the Visitor.
/// Each Visitor code is generated on demand and is unique for every Visitor on a particular site. Upon the first time
/// this function is called for a Visitor the code is generated and returned. For each successive call thereafter the
/// same code will be returned as long as the code has not expired. The expiration time for Visitor codes is 3 hours.
/// During that time the code can be used to initiate an engagement. Once Operator uses the Visitor code to initiate
/// an engagement, the code will expire immediately. When the Visitor Code expires this function will return a new
/// Visitor code.
/// The expiration time is important to take note of if you plan on retrieving the code only once during the Visitor’s
/// session. A new code should be requested once the initial one has expired. When Visitor provides an expired code
/// to Operator the Operator will not be able to connect with the Visitor.
/// If the request is unsuccessful for any reason then the completion will have an Error.
/// The Error may have one of the following causes:
/// <ul>
Expand All @@ -728,33 +740,15 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>MediaUpgradeError.requestError</code>
/// </li>
/// </ul>
/// \param offer The `MediaUpgradeOffer’ that is used for the request
///
/// \param completion A callback that returns the upgrade result or <code>SalemoveError</code>
/// \param completion A callback that will return the visitor code or <code>SalemoveError</code>
///
- (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, SalemoveError * _Nullable))completion;
- (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, SalemoveError * _Nullable))completion;
@end




@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Request a VisitorCode for current Visitor
/// A Visitor code can be displayed to the Visitor. The Visitor can then inform OmniBrowse Operators of their code.
/// OmniBrowse Operators use the Visitor’s code to start an OmniBrowse Engagement with the Visitor.
/// Each Visitor code is generated on demand and is unique for every Visitor on a particular site. Upon the first time
/// this function is called for a Visitor the code is generated and returned. For each successive call thereafter the
/// same code will be returned as long as the code has not expired. The expiration time for Visitor codes is 3 hours.
/// During that time the code can be used to initiate an engagement. Once Operator uses the Visitor code to initiate
/// an engagement, the code will expire immediately. When the Visitor Code expires this function will return a new
/// Visitor code.
/// The expiration time is important to take note of if you plan on retrieving the code only once during the Visitor’s
/// session. A new code should be requested once the initial one has expired. When Visitor provides an expired code
/// to Operator the Operator will not be able to connect with the Visitor.
/// Request media upgrade with specific offer
/// If the request is unsuccessful for any reason then the completion will have an Error.
/// The Error may have one of the following causes:
/// <ul>
Expand All @@ -776,10 +770,15 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>MediaUpgradeError.requestError</code>
/// </li>
/// </ul>
/// \param completion A callback that will return the visitor code or <code>SalemoveError</code>
/// \param offer The `MediaUpgradeOffer’ that is used for the request
///
- (void)requestVisitorCodeWithCompletion:(void (^ _Nonnull)(NSString * _Nullable, SalemoveError * _Nullable))completion;
/// \param completion A callback that returns the upgrade result or <code>SalemoveError</code>
///
- (void)requestMediaUpgradeWithOffer:(MediaUpgradeOffer * _Nonnull)offer completion:(void (^ _Nonnull)(BOOL, SalemoveError * _Nullable))completion;
@end


Expand All @@ -789,20 +788,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _



@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Configure log level
/// <ul>
/// <li>
/// parameters:
/// </li>
/// <li>
/// level: One of the ‘LogLevel’ values that the logger should use
/// </li>
/// </ul>
- (void)configureLogLevelWithLevel:(enum LogLevel)level;
@end


@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Clear the use session of the client library
- (void)clearSession;
Expand Down Expand Up @@ -885,6 +870,23 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _



@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Configure log level
/// <ul>
/// <li>
/// parameters:
/// </li>
/// <li>
/// level: One of the ‘LogLevel’ values that the logger should use
/// </li>
/// </ul>
- (void)configureLogLevelWithLevel:(enum LogLevel)level;
@end





@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Send a chat message.
/// If the request is unsuccessful for any reason then the completion will have an Error.
Expand Down
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -201,15 +201,26 @@ extension SalemoveSDK.Message {
public init(container: Swift.KeyedDecodingContainer<SalemoveSDK.Message.Metadata.CodingKeys>)
}
}
public enum MessageSender : Swift.String, Swift.Decodable {
case visitor
case `operator`
case omniguide
case system
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
public struct MessageSender : Swift.Equatable, Swift.Codable {
public let type: SalemoveSDK.MessageSender.SenderType
public static func == (a: SalemoveSDK.MessageSender, b: SalemoveSDK.MessageSender) -> Swift.Bool
public func encode(to encoder: Swift.Encoder) throws
public init(from decoder: Swift.Decoder) throws
}
extension SalemoveSDK.MessageSender {
public init(type: SalemoveSDK.MessageSender.SenderType)
}
extension SalemoveSDK.MessageSender {
public enum SenderType : Swift.String, Swift.Codable {
case visitor
case `operator`
case omniguide
case system
public init?(rawValue: Swift.String)
public typealias RawValue = Swift.String
public var rawValue: Swift.String {
get
}
}
}
public typealias EngagementSessionBlock = (SalemoveSDK.EngagementRequest?, SalemoveSDK.SalemoveError?) -> Swift.Void
Expand Down Expand Up @@ -778,7 +789,7 @@ extension SalemoveSDK.Salemove.Authentication {
}
extension SalemoveSDK.Salemove.Authentication {
public enum Behavior {
case restrictedDuringEngagement
case forbiddenDuringEngagement
public static func == (a: SalemoveSDK.Salemove.Authentication.Behavior, b: SalemoveSDK.Salemove.Authentication.Behavior) -> Swift.Bool
public func hash(into hasher: inout Swift.Hasher)
public var hashValue: Swift.Int {
Expand Down Expand Up @@ -1007,9 +1018,7 @@ extension SalemoveSDK.Salemove {
@objc final public func configureLogLevel(level: SalemoveSDK.LogLevel)
}
@objc public class Operator : ObjectiveC.NSObject {
@objc public var name: Swift.String {
get
}
@objc final public let name: Swift.String
@objc public var picture: SalemoveSDK.OperatorPicture? {
get
}
Expand Down Expand Up @@ -1082,9 +1091,9 @@ extension SalemoveSDK.Salemove.Configuration.PushNotifications : Swift.Hashable
extension SalemoveSDK.Message.Metadata.CodingKeys : Swift.Equatable {}
extension SalemoveSDK.Message.Metadata.CodingKeys : Swift.Hashable {}
extension SalemoveSDK.Message.Metadata.CodingKeys : Swift.RawRepresentable {}
extension SalemoveSDK.MessageSender : Swift.Equatable {}
extension SalemoveSDK.MessageSender : Swift.Hashable {}
extension SalemoveSDK.MessageSender : Swift.RawRepresentable {}
extension SalemoveSDK.MessageSender.SenderType : Swift.Equatable {}
extension SalemoveSDK.MessageSender.SenderType : Swift.Hashable {}
extension SalemoveSDK.MessageSender.SenderType : Swift.RawRepresentable {}
extension SalemoveSDK.VisitorInfoUpdate.NoteUpdateMethod : Swift.Equatable {}
extension SalemoveSDK.VisitorInfoUpdate.NoteUpdateMethod : Swift.Hashable {}
extension SalemoveSDK.VisitorInfoUpdate.NoteUpdateMethod : Swift.RawRepresentable {}
Expand Down
Binary file not shown.
Loading

0 comments on commit 9f04f62

Please sign in to comment.