Skip to content
Snippets Groups Projects

Notifications

Merged Dariusz Rybicki requested to merge feature/notifications into development
3 files
+ 4
34
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -2,23 +2,20 @@ import Bindings
@@ -2,23 +2,20 @@ import Bindings
import XCTestDynamicOverlay
import XCTestDynamicOverlay
public struct GetNotificationsReport {
public struct GetNotificationsReport {
public var run: (Int, String, MessageServiceList) throws -> NotificationReport
public var run: (String, MessageServiceList) throws -> NotificationReport
public func callAsFunction(
public func callAsFunction(
e2eId: Int,
notificationCSV: String,
notificationCSV: String,
services: MessageServiceList
services: MessageServiceList
) throws -> NotificationReport {
) throws -> NotificationReport {
try run(e2eId, notificationCSV, services)
try run(notificationCSV, services)
}
}
}
}
extension GetNotificationsReport {
extension GetNotificationsReport {
public static let live = GetNotificationsReport {
public static let live = GetNotificationsReport { notificationCSV, services in
e2eId, notificationCSV, services in
var error: NSError?
var error: NSError?
let result = BindingsGetNotificationsReport(
let result = BindingsGetNotificationsReport(
e2eId,
notificationCSV,
notificationCSV,
try services.encode(),
try services.encode(),
&error
&error
Loading