Skip to content

Commit

Permalink
Merge pull request #90 from salemove/release/0.35.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sm-deployer authored Dec 20, 2022
2 parents 267594a + fea9848 commit 5be8449
Show file tree
Hide file tree
Showing 13 changed files with 167 additions and 233 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ let package = Package(
),
.binaryTarget(
name: "SalemoveSDK",
url: "https://github.com/salemove/ios-bundle/releases/download/0.35.3/SalemoveSDK.xcframework.zip",
checksum: "39e3ba842bc132ad109e0b6b79f8c40f046a8e4d40b82e7a900663335f52885e"
url: "https://github.com/salemove/ios-bundle/releases/download/0.35.4/SalemoveSDK.xcframework.zip",
checksum: "fd99e743a1cf2ec12760c5c83f3524202229b9775579648712cddbdab0a8211b"
),
.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.35.3'
s.version = '0.35.4'
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/'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,10 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _







@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.
Expand Down Expand Up @@ -739,9 +743,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param completion A callback that will return the visitor code or <code>GliaCoreError</code>
///
Expand Down Expand Up @@ -770,9 +771,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>MediaUpgradeError.requestError</code>
/// </li>
/// </ul>
Expand All @@ -788,6 +786,25 @@ 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;
@end


@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Uploads a file to an engagement. The uploaded file can be later sent as part of a chat message attachments.
Expand All @@ -813,9 +830,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>FileError.infected</code>
/// </li>
/// <li>
Expand Down Expand Up @@ -850,9 +864,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param engagementFile A instance of EngagementFile.
///
Expand All @@ -864,26 +875,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
@end


@interface Salemove (SWIFT_EXTENSION(SalemoveSDK))
/// Clear the use session of the client library
- (void)clearSession;
@end


@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





Expand All @@ -908,9 +899,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param message The content of the message that should be sent to the operator.
///
Expand Down Expand Up @@ -938,9 +926,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param message A content of the message that should be queued.
///
Expand Down Expand Up @@ -972,9 +957,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param message The content of the message preview.
///
Expand Down Expand Up @@ -1028,9 +1010,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
- (void)cancelWithEngagementRequest:(EngagementRequest * _Nonnull)engagementRequest completion:(void (^ _Nonnull)(BOOL, SalemoveError * _Nullable))completion;
/// Requests information of the Operator(s) that are currently engaged with the Visitor
Expand Down Expand Up @@ -1060,9 +1039,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
- (void)requestEngagedOperatorWithCompletion:(void (^ _Nonnull)(NSArray<Operator *> * _Nullable, SalemoveError * _Nullable))completion;
/// End an Engagement
Expand Down Expand Up @@ -1092,9 +1068,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
- (void)endEngagementWithCompletion:(void (^ _Nonnull)(BOOL, SalemoveError * _Nullable))completion;
@end
Expand Down Expand Up @@ -1127,9 +1100,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>QueueError.queueClosed</code>
/// </li>
/// <li>
Expand Down Expand Up @@ -1161,9 +1131,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param queueTicket The <code>QueueTicket</code> that was used to enqueue
///
Expand All @@ -1186,9 +1153,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
/// \param completion A callback that will return the <code>Queue</code> list or <code>GliaCoreError</code>
///
Expand Down Expand Up @@ -1221,9 +1185,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// <li>
/// <code>QueueError.invalidId</code>
/// </li>
/// </ul>
Expand Down Expand Up @@ -1251,9 +1212,6 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <li>
/// <code>ConfigurationError.invalidAppToken</code>
/// </li>
/// <li>
/// <code>ConfigurationError.invalidApiToken</code>
/// </li>
/// </ul>
///
- (void)unsubscribeFromUpdatesWithQueueCallbackId:(NSString * _Nonnull)queueCallbackId onError:(void (^ _Nonnull)(SalemoveError * _Nonnull))onError;
Expand Down Expand Up @@ -1283,7 +1241,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _
/// <code>ConfigurationError.invalidEnvironment</code>
- (BOOL)configureWithEnvironment:(NSString * _Nonnull)environment error:(NSError * _Nullable * _Nullable)error SWIFT_DEPRECATED_MSG("Use `GliaCore.configure(_ configuration: Configuration)` instead.");
/// Deprecated.
- (BOOL)configureWithApiToken:(NSString * _Nonnull)apiToken error:(NSError * _Nullable * _Nullable)error SWIFT_DEPRECATED_MSG("Api token is not supported.");
- (BOOL)configureWithApiToken:(NSString * _Nonnull)apiToken error:(NSError * _Nullable * _Nullable)error SWIFT_UNAVAILABLE_MSG("Api token is not supported.");
/// Deprecated.
- (void)queueForEngagementWithQueueID:(NSString * _Nonnull)queueID visitorContext:(VisitorContext * _Nonnull)visitorContext shouldCloseAllQueues:(BOOL)shouldCloseAllQueues completion:(void (^ _Nonnull)(QueueTicket * _Nullable, SalemoveError * _Nullable))completion SWIFT_DEPRECATED_MSG("Use queueForEngagement(queueID:visitorContext:shouldCloseAllQueues:completion:) with Optional<VisitorContext> instead.");
/// Deprecated.
Expand All @@ -1292,8 +1250,7 @@ SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Salemove * _



/// The basic gateway class that interacts with the client library through the app delegate
SWIFT_CLASS("_TtC11SalemoveSDK19SalemoveAppDelegate")
SWIFT_CLASS("_TtC11SalemoveSDK19SalemoveAppDelegate") SWIFT_DEPRECATED_MSG("Deprecated. This class will be removed in the version 0.40.0")
@interface SalemoveAppDelegate : NSObject <UIApplicationDelegate>
/// Identify the app launch and initialize the sdk internals.
/// \param application The current application.
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ extension SalemoveSDK.Salemove.Configuration {
}
}
@objc public class Message : ObjectiveC.NSObject, Swift.Decodable {
public typealias Id = SalemoveSDK.Tagged<SalemoveSDK.Message, Swift.String>
@objc public var id: Swift.String {
get
}
Expand Down Expand Up @@ -484,7 +485,8 @@ public protocol VideoStreamable : AnyObject {
var isRemote: Swift.Bool { get }
var onHold: SalemoveSDK.StreamableOnHoldHandler? { get set }
}
@objc @_inheritsConvenienceInitializers @_Concurrency.MainActor(unsafe) public class SalemoveAppDelegate : ObjectiveC.NSObject, UIKit.UIApplicationDelegate {
@objc @_inheritsConvenienceInitializers @available(*, deprecated, message: "Deprecated. This class will be removed in the version 0.40.0")
@_Concurrency.MainActor(unsafe) public class SalemoveAppDelegate : ObjectiveC.NSObject, UIKit.UIApplicationDelegate {
@discardableResult
@_Concurrency.MainActor(unsafe) @objc public func application(_ application: UIKit.UIApplication, didFinishLaunchingWithOptions launchOptions: [UIKit.UIApplication.LaunchOptionsKey : Any]? = nil) -> Swift.Bool
@_Concurrency.MainActor(unsafe) @objc public func applicationDidBecomeActive(_ application: UIKit.UIApplication)
Expand All @@ -509,7 +511,7 @@ extension SalemoveSDK.Salemove {
@objc final public func configure(site: Swift.String) throws
@available(*, deprecated, message: "Use `GliaCore.configure(_ configuration: Configuration)` instead.")
@objc final public func configure(environment: Swift.String) throws
@available(*, deprecated, message: "Api token is not supported.")
@available(*, unavailable, message: "Api token is not supported.")
@objc final public func configure(apiToken: Swift.String) throws
@available(*, deprecated, message: "Use queueForEngagement(queueID:visitorContext:shouldCloseAllQueues:completion:) with Optional<VisitorContext> instead.")
@objc final public func queueForEngagement(queueID: Swift.String, visitorContext: SalemoveSDK.VisitorContext, shouldCloseAllQueues: Swift.Bool = true, completion: @escaping SalemoveSDK.QueueTicketBlock)
Expand Down Expand Up @@ -541,6 +543,12 @@ extension SalemoveSDK.Salemove {
public typealias IdToken = SalemoveSDK.Tagged<(SalemoveSDK.GliaCore, idToken: ()), Swift.String>
final public func authentication(with behavior: SalemoveSDK.Salemove.Authentication.Behavior) throws -> SalemoveSDK.Salemove.Authentication
}
extension SalemoveSDK.Salemove {
@_hasMissingDesignatedInitializers final public class Cancellable {
final public func cancel()
@objc deinit
}
}
extension SalemoveSDK.Salemove {
final public func send(option: SalemoveSDK.SingleChoiceOption, completion: @escaping (Swift.Result<SalemoveSDK.Message, Swift.Error>) -> Swift.Void)
@objc final public func send(message: Swift.String = "", attachment: SalemoveSDK.Attachment? = nil, completion: @escaping SalemoveSDK.MessageBlock)
Expand Down Expand Up @@ -597,6 +605,7 @@ public enum MediaType : Swift.String, Swift.Codable {
case audio
case video
case text
case messaging
case phone
case unknown
public init?(rawValue: Swift.String)
Expand Down Expand Up @@ -890,7 +899,7 @@ extension SalemoveSDK.StreamView : WebRTC.RTCVideoViewDelegate {
case invalidSite
case invalidEnvironment
case invalidAppToken
@available(*, deprecated, message: "Api token is not supported by SDK.")
@available(*, unavailable, message: "Api token is not supported by SDK.")
case invalidApiToken
@available(*, deprecated, message: "Api token is not supported by SDK.")
case apiTokenNotSupported
Expand Down Expand Up @@ -1020,7 +1029,11 @@ public enum QueueStatus : Swift.String, Swift.Codable {
@objc final public var appToken: Swift.String {
@objc get
}
@available(*, deprecated, message: "Api token is not supported.")
final public var secureConversation: SalemoveSDK.Salemove.SecureConversations {
get
set
}
@available(*, unavailable, message: "Api token is not supported.")
final public let apiToken: Swift.String
final public var pushNotifications: SalemoveSDK.PushNotifications {
get
Expand Down Expand Up @@ -1057,6 +1070,14 @@ extension SalemoveSDK.Salemove {
@objc final public func subscribeForUpdates(forQueue queueIds: [Swift.String], onError: @escaping SalemoveSDK.ErrorBlock, onUpdate: @escaping SalemoveSDK.QueueUpdateBlock) -> Swift.String?
@objc final public func unsubscribeFromUpdates(queueCallbackId: Swift.String, onError: @escaping SalemoveSDK.ErrorBlock)
}
extension SalemoveSDK.Salemove {
@_hasMissingDesignatedInitializers final public class SecureConversations {
final public func send(secureMessage: Swift.String, attachment: SalemoveSDK.Attachment? = nil, queueIds: [Swift.String], completion: @escaping (Swift.Result<SalemoveSDK.Message, Swift.Error>) -> Swift.Void) -> SalemoveSDK.Salemove.Cancellable
final public func uploadFile(_ file: SalemoveSDK.EngagementFile, progress: SalemoveSDK.EngagementFileProgressBlock?, completion: @escaping (Swift.Result<SalemoveSDK.EngagementFileInformation, Swift.Error>) -> Swift.Void) -> SalemoveSDK.Salemove.Cancellable
final public func downloadFile(_ file: SalemoveSDK.EngagementFile, progress: SalemoveSDK.EngagementFileProgressBlock?, completion: @escaping (Swift.Result<SalemoveSDK.EngagementFileData, Swift.Error>) -> Swift.Void) -> SalemoveSDK.Salemove.Cancellable
@objc deinit
}
}
@objc public enum ScreenSharingStatus : Swift.Int {
case sharing
case notSharing
Expand Down
Binary file not shown.
Loading

0 comments on commit 5be8449

Please sign in to comment.