@pixelpay/capacitor-plugin 2.0.4 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +1 -8
  2. package/android/build.gradle +1 -1
  3. package/ios/Frameworks/CardinalMobile.xcframework/Info.plist +5 -5
  4. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Assets.car +0 -0
  5. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CardinalMobile +0 -0
  6. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Info.plist +0 -0
  7. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Assets.car +0 -0
  8. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CardinalMobile +0 -0
  9. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Info.plist +0 -0
  10. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/_CodeSignature/CodeResources +4 -4
  11. package/ios/Frameworks/PixelPaySDK.podspec +2 -2
  12. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +87 -57
  13. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Info.plist +0 -0
  14. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.abi.json +15744 -1148
  15. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.private.swiftinterface +203 -194
  16. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  17. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftinterface +203 -194
  18. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/PixelPaySDK +0 -0
  19. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/_CodeSignature/CodeResources +13 -375
  20. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +174 -114
  21. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Info.plist +0 -0
  22. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.abi.json +15744 -1148
  23. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +203 -194
  24. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  25. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +203 -194
  26. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +15744 -1148
  27. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +203 -194
  28. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  29. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +203 -194
  30. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
  31. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/_CodeSignature/CodeResources +23 -405
  32. package/package.json +2 -2
  33. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
  34. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
  35. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
  36. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
  37. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
  38. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
  39. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
  40. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
  41. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
  42. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
  43. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
  44. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
  45. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
  46. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
  47. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
  48. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
  49. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
  50. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
  51. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
  52. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
  53. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +0 -387
  54. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -63
  55. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
  56. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
  57. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
  58. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
  59. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
  60. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/objects-11.0+.nib +0 -0
  61. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/DIH-hs-KJy-view-kOh-XJ-af6.nib/runtime.nib +0 -0
  62. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
  63. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/objects-11.0+.nib +0 -0
  64. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
  65. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/objects-11.0+.nib +0 -0
  66. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/VRf-0F-2mw-view-i8m-N3-HYF.nib/runtime.nib +0 -0
  67. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
  68. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
  69. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
  70. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
  71. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
  72. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
  73. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
  74. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
  75. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +0 -387
  76. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -63
@@ -1,6 +1,6 @@
1
1
  // swift-interface-format-version: 1.0
2
- // swift-compiler-version: Apple Swift version 5.7.1 (swiftlang-5.7.1.135.3 clang-1400.0.29.51)
3
- // swift-module-flags: -target arm64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PixelPaySDK
2
+ // swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)
3
+ // swift-module-flags: -target arm64-apple-ios11.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name PixelPaySDK
4
4
  // swift-module-flags-ignorable: -enable-bare-slash-regex
5
5
  import CardinalMobile
6
6
  import Combine
@@ -34,9 +34,9 @@ public enum IllegalStateException : Swift.Error {
34
34
  final public let id: Foundation.UUID
35
35
  final public let underlyingQueue: Dispatch.DispatchQueue
36
36
  final public let serializationQueue: Dispatch.DispatchQueue
37
- final public let eventMonitor: PixelPaySDK.EventMonitor?
38
- final public let interceptor: PixelPaySDK.RequestInterceptor?
39
- weak public var delegate: PixelPaySDK.RequestDelegate? {
37
+ final public let eventMonitor: (any PixelPaySDK.EventMonitor)?
38
+ final public let interceptor: (any PixelPaySDK.RequestInterceptor)?
39
+ weak public var delegate: (any PixelPaySDK.RequestDelegate)? {
40
40
  get
41
41
  }
42
42
  public var state: PixelPaySDK.Request.State {
@@ -60,10 +60,10 @@ public enum IllegalStateException : Swift.Error {
60
60
  public typealias ProgressHandler = (Foundation.Progress) -> Swift.Void
61
61
  final public let uploadProgress: Foundation.Progress
62
62
  final public let downloadProgress: Foundation.Progress
63
- public var redirectHandler: PixelPaySDK.RedirectHandler? {
63
+ public var redirectHandler: (any PixelPaySDK.RedirectHandler)? {
64
64
  get
65
65
  }
66
- public var cachedResponseHandler: PixelPaySDK.CachedResponseHandler? {
66
+ public var cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)? {
67
67
  get
68
68
  }
69
69
  public var credential: Foundation.URLCredential? {
@@ -132,9 +132,9 @@ public enum IllegalStateException : Swift.Error {
132
132
  @discardableResult
133
133
  public func uploadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
134
134
  @discardableResult
135
- public func redirect(using handler: PixelPaySDK.RedirectHandler) -> Self
135
+ public func redirect(using handler: any PixelPaySDK.RedirectHandler) -> Self
136
136
  @discardableResult
137
- public func cacheResponse(using handler: PixelPaySDK.CachedResponseHandler) -> Self
137
+ public func cacheResponse(using handler: any PixelPaySDK.CachedResponseHandler) -> Self
138
138
  @discardableResult
139
139
  public func cURLDescription(on queue: Dispatch.DispatchQueue, calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
140
140
  @discardableResult
@@ -170,7 +170,7 @@ public protocol RequestDelegate : AnyObject {
170
170
  func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
171
171
  }
172
172
  @_hasMissingDesignatedInitializers public class DataRequest : PixelPaySDK.Request {
173
- final public let convertible: PixelPaySDK.URLRequestConvertible
173
+ final public let convertible: any PixelPaySDK.URLRequestConvertible
174
174
  public var data: Foundation.Data? {
175
175
  get
176
176
  }
@@ -198,7 +198,7 @@ public protocol RequestDelegate : AnyObject {
198
198
  public struct CancellationToken {
199
199
  public func cancel()
200
200
  }
201
- final public let convertible: PixelPaySDK.URLRequestConvertible
201
+ final public let convertible: any PixelPaySDK.URLRequestConvertible
202
202
  final public let automaticallyCancelOnStreamError: Swift.Bool
203
203
  @discardableResult
204
204
  final public func validate(_ validation: @escaping PixelPaySDK.DataStreamRequest.Validation) -> Self
@@ -232,7 +232,7 @@ extension PixelPaySDK.DataStreamRequest.Stream {
232
232
  public typealias Destination = (_ temporaryURL: Foundation.URL, _ response: Foundation.HTTPURLResponse) -> (destinationURL: Foundation.URL, options: PixelPaySDK.DownloadRequest.Options)
233
233
  public class func suggestedDownloadDestination(for directory: Foundation.FileManager.SearchPathDirectory = .documentDirectory, in domain: Foundation.FileManager.SearchPathDomainMask = .userDomainMask, options: PixelPaySDK.DownloadRequest.Options = []) -> PixelPaySDK.DownloadRequest.Destination
234
234
  public enum Downloadable {
235
- case request(PixelPaySDK.URLRequestConvertible)
235
+ case request(any PixelPaySDK.URLRequestConvertible)
236
236
  case resumeData(Foundation.Data)
237
237
  }
238
238
  public var resumeData: Foundation.Data? {
@@ -259,7 +259,7 @@ extension PixelPaySDK.DataStreamRequest.Stream {
259
259
  case file(Foundation.URL, shouldRemove: Swift.Bool)
260
260
  case stream(Foundation.InputStream)
261
261
  }
262
- final public let upload: PixelPaySDK.UploadableConvertible
262
+ final public let upload: any PixelPaySDK.UploadableConvertible
263
263
  final public let fileManager: Foundation.FileManager
264
264
  public var uploadable: PixelPaySDK.UploadRequest.Uploadable?
265
265
  public func cleanup()
@@ -300,11 +300,11 @@ extension PixelPaySDK.DataRequest {
300
300
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
301
301
  public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<T> where Serializer : PixelPaySDK.ResponseSerializer, T == Serializer.SerializedObject
302
302
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
303
- public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Foundation.Data>
303
+ public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Foundation.Data>
304
304
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
305
- public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Swift.String>
305
+ public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Swift.String>
306
306
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
307
- public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<T> where T : Swift.Decodable
307
+ public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<T> where T : Swift.Decodable
308
308
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
309
309
  public func publishUnserialized(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<Foundation.Data?>
310
310
  }
@@ -325,7 +325,7 @@ extension PixelPaySDK.DataStreamRequest {
325
325
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
326
326
  final public func publishString(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Swift.String>
327
327
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
328
- final public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor()) -> PixelPaySDK.DataStreamPublisher<T> where T : Swift.Decodable
328
+ final public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: any PixelPaySDK.DataPreprocessor = PassthroughPreprocessor()) -> PixelPaySDK.DataStreamPublisher<T> where T : Swift.Decodable
329
329
  }
330
330
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
331
331
  public struct DownloadResponsePublisher<Value> : Combine.Publisher {
@@ -346,11 +346,11 @@ extension PixelPaySDK.DownloadRequest {
346
346
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
347
347
  public func publishURL(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<Foundation.URL>
348
348
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
349
- public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Foundation.Data>
349
+ public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Foundation.Data>
350
350
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
351
- public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Swift.String>
351
+ public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Swift.String>
352
352
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
353
- public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<T> where T : Swift.Decodable
353
+ public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<T> where T : Swift.Decodable
354
354
  }
355
355
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
356
356
  extension PixelPaySDK.DownloadResponsePublisher where Value == Foundation.URL? {
@@ -377,20 +377,21 @@ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashab
377
377
  }
378
378
  @_inheritsConvenienceInitializers public class AuthTransaction : PixelPaySDK.PaymentTransaction {
379
379
  override public init()
380
- required public init(from: Swift.Decoder) throws
380
+ required public init(from: any Swift.Decoder) throws
381
381
  @objc deinit
382
382
  }
383
383
  @_inheritsConvenienceInitializers public class VoidTransaction : PixelPaySDK.RequestBehaviour {
384
384
  public var payment_uuid: Swift.String?
385
385
  public var void_reason: Swift.String?
386
+ public var void_signature: Swift.String?
386
387
  override public init()
387
- required public init(from: Swift.Decoder) throws
388
- override public func encode(to encoder: Swift.Encoder) throws
388
+ required public init(from: any Swift.Decoder) throws
389
+ override public func encode(to encoder: any Swift.Encoder) throws
389
390
  @objc deinit
390
391
  }
391
392
  @_inheritsConvenienceInitializers public class SuccessResponse : PixelPaySDK.Response {
392
393
  override public init()
393
- required public init(from decoder: Swift.Decoder) throws
394
+ required public init(from decoder: any Swift.Decoder) throws
394
395
  @objc deinit
395
396
  }
396
397
  @_hasMissingDesignatedInitializers public class CardResult : Swift.Codable {
@@ -411,34 +412,34 @@ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashab
411
412
  public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
412
413
  public static func fromResponse(response: PixelPaySDK.SuccessResponse) -> PixelPaySDK.CardResult
413
414
  @objc deinit
414
- public func encode(to encoder: Swift.Encoder) throws
415
- required public init(from decoder: Swift.Decoder) throws
415
+ public func encode(to encoder: any Swift.Encoder) throws
416
+ required public init(from decoder: any Swift.Decoder) throws
416
417
  }
417
418
  @_inheritsConvenienceInitializers public class StatusTransaction : PixelPaySDK.RequestBehaviour {
418
419
  public var payment_uuid: Swift.String?
419
420
  override public init()
420
- required public init(from: Swift.Decoder) throws
421
- override public func encode(to encoder: Swift.Encoder) throws
421
+ required public init(from: any Swift.Decoder) throws
422
+ override public func encode(to encoder: any Swift.Encoder) throws
422
423
  @objc deinit
423
424
  }
424
425
  @_inheritsConvenienceInitializers public class PreconditionalResponse : PixelPaySDK.Response {
425
426
  override public init()
426
- required public init(from decoder: Swift.Decoder) throws
427
+ required public init(from decoder: any Swift.Decoder) throws
427
428
  @objc deinit
428
429
  }
429
430
  @_inheritsConvenienceInitializers public class CaptureTransaction : PixelPaySDK.RequestBehaviour {
430
431
  public var payment_uuid: Swift.String?
431
432
  public var transaction_approved_amount: Swift.String?
432
433
  override public init()
433
- required public init(from: Swift.Decoder) throws
434
- override public func encode(to encoder: Swift.Encoder) throws
434
+ required public init(from: any Swift.Decoder) throws
435
+ override public func encode(to encoder: any Swift.Encoder) throws
435
436
  @objc deinit
436
437
  }
437
438
  open class ServerTrustManager {
438
439
  final public let allHostsMustBeEvaluated: Swift.Bool
439
- final public let evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating]
440
- public init(allHostsMustBeEvaluated: Swift.Bool = true, evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating])
441
- open func serverTrustEvaluator(forHost host: Swift.String) throws -> PixelPaySDK.ServerTrustEvaluating?
440
+ final public let evaluators: [Swift.String : any PixelPaySDK.ServerTrustEvaluating]
441
+ public init(allHostsMustBeEvaluated: Swift.Bool = true, evaluators: [Swift.String : any PixelPaySDK.ServerTrustEvaluating])
442
+ open func serverTrustEvaluator(forHost host: Swift.String) throws -> (any PixelPaySDK.ServerTrustEvaluating)?
442
443
  @objc deinit
443
444
  }
444
445
  public protocol ServerTrustEvaluating {
@@ -478,7 +479,7 @@ final public class PublicKeysTrustEvaluator : PixelPaySDK.ServerTrustEvaluating
478
479
  @objc deinit
479
480
  }
480
481
  final public class CompositeTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
481
- public init(evaluators: [PixelPaySDK.ServerTrustEvaluating])
482
+ public init(evaluators: [any PixelPaySDK.ServerTrustEvaluating])
482
483
  final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
483
484
  @objc deinit
484
485
  }
@@ -489,7 +490,7 @@ final public class DisabledTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
489
490
  final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
490
491
  @objc deinit
491
492
  }
492
- extension Swift.Array where Element == PixelPaySDK.ServerTrustEvaluating {
493
+ extension Swift.Array where Element == any PixelPaySDK.ServerTrustEvaluating {
493
494
  public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
494
495
  }
495
496
  extension Foundation.Bundle : PixelPaySDK.AlamofireExtended {
@@ -514,7 +515,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
514
515
  @available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate(afterApplying:)")
515
516
  @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
516
517
  @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
517
- public func validate(policy: Security.SecPolicy, errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
518
+ public func validate(policy: Security.SecPolicy, errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> any Swift.Error) throws
518
519
  public func apply(policy: Security.SecPolicy) throws -> Security.SecTrust
519
520
  @available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
520
521
  public func evaluate() throws
@@ -522,7 +523,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
522
523
  @available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate()")
523
524
  @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
524
525
  @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
525
- public func validate(errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
526
+ public func validate(errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> any Swift.Error) throws
526
527
  public func setAnchorCertificates(_ certificates: [Security.SecCertificate]) throws
527
528
  public var publicKeys: [Security.SecKey] {
528
529
  get
@@ -581,7 +582,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
581
582
  }
582
583
  @_inheritsConvenienceInitializers public class NotFoundResponse : PixelPaySDK.Response {
583
584
  override public init()
584
- required public init(from decoder: Swift.Decoder) throws
585
+ required public init(from decoder: any Swift.Decoder) throws
585
586
  @objc deinit
586
587
  }
587
588
  public class Card {
@@ -656,15 +657,15 @@ final public class URLEncodedFormEncoder {
656
657
  final public let spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding
657
658
  final public var allowedCharacters: Foundation.CharacterSet
658
659
  public init(alphabetizeKeyValuePairs: Swift.Bool = true, arrayEncoding: PixelPaySDK.URLEncodedFormEncoder.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncodedFormEncoder.BoolEncoding = .numeric, dataEncoding: PixelPaySDK.URLEncodedFormEncoder.DataEncoding = .base64, dateEncoding: PixelPaySDK.URLEncodedFormEncoder.DateEncoding = .deferredToDate, keyEncoding: PixelPaySDK.URLEncodedFormEncoder.KeyEncoding = .useDefaultKeys, spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding = .percentEscaped, allowedCharacters: Foundation.CharacterSet = .afURLQueryAllowed)
659
- final public func encode(_ value: Swift.Encodable) throws -> Swift.String
660
- final public func encode(_ value: Swift.Encodable) throws -> Foundation.Data
660
+ final public func encode(_ value: any Swift.Encodable) throws -> Swift.String
661
+ final public func encode(_ value: any Swift.Encodable) throws -> Foundation.Data
661
662
  @objc deinit
662
663
  }
663
664
  extension Foundation.CharacterSet {
664
665
  public static let afURLQueryAllowed: Foundation.CharacterSet
665
666
  }
666
667
  extension PixelPaySDK.Request {
667
- public typealias ValidationResult = Swift.Result<Swift.Void, Swift.Error>
668
+ public typealias ValidationResult = Swift.Result<Swift.Void, any Swift.Error>
668
669
  }
669
670
  extension PixelPaySDK.DataRequest {
670
671
  public typealias Validation = (Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?) -> PixelPaySDK.DataRequest.ValidationResult
@@ -697,6 +698,7 @@ public class Locations {
697
698
  public init() throws
698
699
  public static func countriesList() -> [Swift.String : Swift.String]
699
700
  public static func statesList(country_code: Swift.String) -> [Swift.String : Swift.String]
701
+ public static func formatsList(country_code: Swift.String) -> [Swift.String : Swift.String]
700
702
  @objc deinit
701
703
  }
702
704
  public struct HTTPHeaders {
@@ -807,7 +809,7 @@ extension Foundation.URLSessionConfiguration {
807
809
  }
808
810
  @_inheritsConvenienceInitializers public class NetworkFailureResponse : PixelPaySDK.Response {
809
811
  override public init()
810
- required public init(from decoder: Swift.Decoder) throws
812
+ required public init(from decoder: any Swift.Decoder) throws
811
813
  @objc deinit
812
814
  }
813
815
  @_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
@@ -846,38 +848,38 @@ open class Session {
846
848
  final public let startRequestsImmediately: Swift.Bool
847
849
  final public let requestQueue: Dispatch.DispatchQueue
848
850
  final public let serializationQueue: Dispatch.DispatchQueue
849
- final public let interceptor: PixelPaySDK.RequestInterceptor?
851
+ final public let interceptor: (any PixelPaySDK.RequestInterceptor)?
850
852
  final public let serverTrustManager: PixelPaySDK.ServerTrustManager?
851
- final public let redirectHandler: PixelPaySDK.RedirectHandler?
852
- final public let cachedResponseHandler: PixelPaySDK.CachedResponseHandler?
853
+ final public let redirectHandler: (any PixelPaySDK.RedirectHandler)?
854
+ final public let cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)?
853
855
  final public let eventMonitor: PixelPaySDK.CompositeEventMonitor
854
- final public let defaultEventMonitors: [PixelPaySDK.EventMonitor]
855
- public init(session: Foundation.URLSession, delegate: PixelPaySDK.SessionDelegate, rootQueue: Dispatch.DispatchQueue, startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: PixelPaySDK.RedirectHandler? = nil, cachedResponseHandler: PixelPaySDK.CachedResponseHandler? = nil, eventMonitors: [PixelPaySDK.EventMonitor] = [])
856
- convenience public init(configuration: Foundation.URLSessionConfiguration = URLSessionConfiguration.af.default, delegate: PixelPaySDK.SessionDelegate = SessionDelegate(), rootQueue: Dispatch.DispatchQueue = DispatchQueue(label: "org.alamofire.session.rootQueue"), startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: PixelPaySDK.RedirectHandler? = nil, cachedResponseHandler: PixelPaySDK.CachedResponseHandler? = nil, eventMonitors: [PixelPaySDK.EventMonitor] = [])
856
+ final public let defaultEventMonitors: [any PixelPaySDK.EventMonitor]
857
+ public init(session: Foundation.URLSession, delegate: PixelPaySDK.SessionDelegate, rootQueue: Dispatch.DispatchQueue, startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: (any PixelPaySDK.RedirectHandler)? = nil, cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)? = nil, eventMonitors: [any PixelPaySDK.EventMonitor] = [])
858
+ convenience public init(configuration: Foundation.URLSessionConfiguration = URLSessionConfiguration.af.default, delegate: PixelPaySDK.SessionDelegate = SessionDelegate(), rootQueue: Dispatch.DispatchQueue = DispatchQueue(label: "org.alamofire.session.rootQueue"), startRequestsImmediately: Swift.Bool = true, requestQueue: Dispatch.DispatchQueue? = nil, serializationQueue: Dispatch.DispatchQueue? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, serverTrustManager: PixelPaySDK.ServerTrustManager? = nil, redirectHandler: (any PixelPaySDK.RedirectHandler)? = nil, cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)? = nil, eventMonitors: [any PixelPaySDK.EventMonitor] = [])
857
859
  @objc deinit
858
860
  public func withAllRequests(perform action: @escaping (Swift.Set<PixelPaySDK.Request>) -> Swift.Void)
859
861
  public func cancelAllRequests(completingOnQueue queue: Dispatch.DispatchQueue = .main, completion: (() -> Swift.Void)? = nil)
860
862
  public typealias RequestModifier = (inout Foundation.URLRequest) throws -> Swift.Void
861
- open func request(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest
862
- open func request<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest where Parameters : Swift.Encodable
863
- open func request(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataRequest
864
- open func streamRequest<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest where Parameters : Swift.Encodable
865
- open func streamRequest(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest
866
- open func streamRequest(_ convertible: PixelPaySDK.URLRequestConvertible, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataStreamRequest
867
- open func download(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
868
- open func download<Parameters>(_ convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest where Parameters : Swift.Encodable
869
- open func download(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
870
- open func download(resumingWith data: Foundation.Data, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
871
- open func upload(_ data: Foundation.Data, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
872
- open func upload(_ data: Foundation.Data, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
873
- open func upload(_ fileURL: Foundation.URL, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
874
- open func upload(_ fileURL: Foundation.URL, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
875
- open func upload(_ stream: Foundation.InputStream, to convertible: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
876
- open func upload(_ stream: Foundation.InputStream, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
877
- open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, to url: PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
878
- open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, with request: PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
879
- open func upload(multipartFormData: PixelPaySDK.MultipartFormData, to url: PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
880
- open func upload(multipartFormData: PixelPaySDK.MultipartFormData, with request: PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
863
+ open func request(_ convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: any PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest
864
+ open func request<Parameters>(_ convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: any PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataRequest where Parameters : Swift.Encodable
865
+ open func request(_ convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil) -> PixelPaySDK.DataRequest
866
+ open func streamRequest<Parameters>(_ convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: any PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest where Parameters : Swift.Encodable
867
+ open func streamRequest(_ convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, headers: PixelPaySDK.HTTPHeaders? = nil, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.DataStreamRequest
868
+ open func streamRequest(_ convertible: any PixelPaySDK.URLRequestConvertible, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil) -> PixelPaySDK.DataStreamRequest
869
+ open func download(_ convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: PixelPaySDK.Parameters? = nil, encoding: any PixelPaySDK.ParameterEncoding = URLEncoding.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
870
+ open func download<Parameters>(_ convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .get, parameters: Parameters? = nil, encoder: any PixelPaySDK.ParameterEncoder = URLEncodedFormParameterEncoder.default, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, requestModifier: PixelPaySDK.Session.RequestModifier? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest where Parameters : Swift.Encodable
871
+ open func download(_ convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
872
+ open func download(resumingWith data: Foundation.Data, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
873
+ open func upload(_ data: Foundation.Data, to convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
874
+ open func upload(_ data: Foundation.Data, with convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
875
+ open func upload(_ fileURL: Foundation.URL, to convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
876
+ open func upload(_ fileURL: Foundation.URL, with convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
877
+ open func upload(_ stream: Foundation.InputStream, to convertible: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
878
+ open func upload(_ stream: Foundation.InputStream, with convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
879
+ open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, to url: any PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
880
+ open func upload(multipartFormData: @escaping (PixelPaySDK.MultipartFormData) -> Swift.Void, with request: any PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
881
+ open func upload(multipartFormData: PixelPaySDK.MultipartFormData, to url: any PixelPaySDK.URLConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, method: PixelPaySDK.HTTPMethod = .post, headers: PixelPaySDK.HTTPHeaders? = nil, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default, requestModifier: PixelPaySDK.Session.RequestModifier? = nil) -> PixelPaySDK.UploadRequest
882
+ open func upload(multipartFormData: PixelPaySDK.MultipartFormData, with request: any PixelPaySDK.URLRequestConvertible, usingThreshold encodingMemoryThreshold: Swift.UInt64 = MultipartFormData.encodingMemoryThreshold, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
881
883
  }
882
884
  extension PixelPaySDK.Session : PixelPaySDK.RequestDelegate {
883
885
  public var sessionConfiguration: Foundation.URLSessionConfiguration {
@@ -895,16 +897,16 @@ public enum AFError : Swift.Error {
895
897
  case bodyPartURLInvalid(url: Foundation.URL)
896
898
  case bodyPartFilenameInvalid(in: Foundation.URL)
897
899
  case bodyPartFileNotReachable(at: Foundation.URL)
898
- case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: Swift.Error)
900
+ case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: any Swift.Error)
899
901
  case bodyPartFileIsDirectory(at: Foundation.URL)
900
902
  case bodyPartFileSizeNotAvailable(at: Foundation.URL)
901
- case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: Swift.Error)
903
+ case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: any Swift.Error)
902
904
  case bodyPartInputStreamCreationFailed(for: Foundation.URL)
903
905
  case outputStreamCreationFailed(for: Foundation.URL)
904
906
  case outputStreamFileAlreadyExists(at: Foundation.URL)
905
907
  case outputStreamURLInvalid(url: Foundation.URL)
906
- case outputStreamWriteFailed(error: Swift.Error)
907
- case inputStreamReadFailed(error: Swift.Error)
908
+ case outputStreamWriteFailed(error: any Swift.Error)
909
+ case inputStreamReadFailed(error: any Swift.Error)
908
910
  }
909
911
  public struct UnexpectedInputStreamLength : Swift.Error {
910
912
  public var bytesExpected: Swift.UInt64
@@ -912,8 +914,8 @@ public enum AFError : Swift.Error {
912
914
  }
913
915
  public enum ParameterEncodingFailureReason {
914
916
  case missingURL
915
- case jsonEncodingFailed(error: Swift.Error)
916
- case customEncodingFailed(error: Swift.Error)
917
+ case jsonEncodingFailed(error: any Swift.Error)
918
+ case customEncodingFailed(error: any Swift.Error)
917
919
  }
918
920
  public enum ParameterEncoderFailureReason {
919
921
  public enum RequiredComponent {
@@ -921,7 +923,7 @@ public enum AFError : Swift.Error {
921
923
  case httpMethod(rawValue: Swift.String)
922
924
  }
923
925
  case missingRequiredComponent(PixelPaySDK.AFError.ParameterEncoderFailureReason.RequiredComponent)
924
- case encoderFailed(error: Swift.Error)
926
+ case encoderFailed(error: any Swift.Error)
925
927
  }
926
928
  public enum ResponseValidationFailureReason {
927
929
  case dataFileNil
@@ -929,16 +931,16 @@ public enum AFError : Swift.Error {
929
931
  case missingContentType(acceptableContentTypes: [Swift.String])
930
932
  case unacceptableContentType(acceptableContentTypes: [Swift.String], responseContentType: Swift.String)
931
933
  case unacceptableStatusCode(code: Swift.Int)
932
- case customValidationFailed(error: Swift.Error)
934
+ case customValidationFailed(error: any Swift.Error)
933
935
  }
934
936
  public enum ResponseSerializationFailureReason {
935
937
  case inputDataNilOrZeroLength
936
938
  case inputFileNil
937
939
  case inputFileReadFailed(at: Foundation.URL)
938
940
  case stringSerializationFailed(encoding: Swift.String.Encoding)
939
- case jsonSerializationFailed(error: Swift.Error)
940
- case decodingFailed(error: Swift.Error)
941
- case customSerializationFailed(error: Swift.Error)
941
+ case jsonSerializationFailed(error: any Swift.Error)
942
+ case decodingFailed(error: any Swift.Error)
943
+ case customSerializationFailed(error: any Swift.Error)
942
944
  case invalidEmptyResponse(type: Swift.String)
943
945
  }
944
946
  public enum ServerTrustFailureReason {
@@ -954,33 +956,33 @@ public enum AFError : Swift.Error {
954
956
  case policyApplicationFailed(trust: Security.SecTrust, policy: Security.SecPolicy, status: Darwin.OSStatus)
955
957
  case settingAnchorCertificatesFailed(status: Darwin.OSStatus, certificates: [Security.SecCertificate])
956
958
  case revocationPolicyCreationFailed
957
- case trustEvaluationFailed(error: Swift.Error?)
959
+ case trustEvaluationFailed(error: (any Swift.Error)?)
958
960
  case defaultEvaluationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
959
961
  case hostValidationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
960
962
  case revocationCheckFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output, options: PixelPaySDK.RevocationTrustEvaluator.Options)
961
963
  case certificatePinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedCertificates: [Security.SecCertificate], serverCertificates: [Security.SecCertificate])
962
964
  case publicKeyPinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedKeys: [Security.SecKey], serverKeys: [Security.SecKey])
963
- case customEvaluationFailed(error: Swift.Error)
965
+ case customEvaluationFailed(error: any Swift.Error)
964
966
  }
965
967
  public enum URLRequestValidationFailureReason {
966
968
  case bodyDataInGETRequest(Foundation.Data)
967
969
  }
968
- case createUploadableFailed(error: Swift.Error)
969
- case createURLRequestFailed(error: Swift.Error)
970
- case downloadedFileMoveFailed(error: Swift.Error, source: Foundation.URL, destination: Foundation.URL)
970
+ case createUploadableFailed(error: any Swift.Error)
971
+ case createURLRequestFailed(error: any Swift.Error)
972
+ case downloadedFileMoveFailed(error: any Swift.Error, source: Foundation.URL, destination: Foundation.URL)
971
973
  case explicitlyCancelled
972
- case invalidURL(url: PixelPaySDK.URLConvertible)
974
+ case invalidURL(url: any PixelPaySDK.URLConvertible)
973
975
  case multipartEncodingFailed(reason: PixelPaySDK.AFError.MultipartEncodingFailureReason)
974
976
  case parameterEncodingFailed(reason: PixelPaySDK.AFError.ParameterEncodingFailureReason)
975
977
  case parameterEncoderFailed(reason: PixelPaySDK.AFError.ParameterEncoderFailureReason)
976
- case requestAdaptationFailed(error: Swift.Error)
977
- case requestRetryFailed(retryError: Swift.Error, originalError: Swift.Error)
978
+ case requestAdaptationFailed(error: any Swift.Error)
979
+ case requestRetryFailed(retryError: any Swift.Error, originalError: any Swift.Error)
978
980
  case responseValidationFailed(reason: PixelPaySDK.AFError.ResponseValidationFailureReason)
979
981
  case responseSerializationFailed(reason: PixelPaySDK.AFError.ResponseSerializationFailureReason)
980
982
  case serverTrustEvaluationFailed(reason: PixelPaySDK.AFError.ServerTrustFailureReason)
981
983
  case sessionDeinitialized
982
- case sessionInvalidated(error: Swift.Error?)
983
- case sessionTaskFailed(error: Swift.Error)
984
+ case sessionInvalidated(error: (any Swift.Error)?)
985
+ case sessionTaskFailed(error: any Swift.Error)
984
986
  case urlRequestValidationFailed(reason: PixelPaySDK.AFError.URLRequestValidationFailureReason)
985
987
  }
986
988
  extension Swift.Error {
@@ -1040,13 +1042,13 @@ extension PixelPaySDK.AFError {
1040
1042
  }
1041
1043
  }
1042
1044
  extension PixelPaySDK.AFError {
1043
- public var urlConvertible: PixelPaySDK.URLConvertible? {
1045
+ public var urlConvertible: (any PixelPaySDK.URLConvertible)? {
1044
1046
  get
1045
1047
  }
1046
1048
  public var url: Foundation.URL? {
1047
1049
  get
1048
1050
  }
1049
- public var underlyingError: Swift.Error? {
1051
+ public var underlyingError: (any Swift.Error)? {
1050
1052
  get
1051
1053
  }
1052
1054
  public var acceptableContentTypes: [Swift.String]? {
@@ -1091,23 +1093,23 @@ public class Settings : Swift.Codable {
1091
1093
  public func setupSandbox()
1092
1094
  public func setupLanguage(lang: Swift.String)
1093
1095
  @objc deinit
1094
- public func encode(to encoder: Swift.Encoder) throws
1095
- required public init(from decoder: Swift.Decoder) throws
1096
+ public func encode(to encoder: any Swift.Encoder) throws
1097
+ required public init(from decoder: any Swift.Decoder) throws
1096
1098
  }
1097
1099
  @_inheritsConvenienceInitializers public class NoAccessResponse : PixelPaySDK.Response {
1098
1100
  override public init()
1099
- required public init(from decoder: Swift.Decoder) throws
1101
+ required public init(from decoder: any Swift.Decoder) throws
1100
1102
  @objc deinit
1101
1103
  }
1102
1104
  public protocol EventMonitor {
1103
1105
  var queue: Dispatch.DispatchQueue { get }
1104
- func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1106
+ func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1105
1107
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1106
1108
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1107
1109
  func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1108
1110
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1109
1111
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1110
- func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1112
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1111
1113
  @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
1112
1114
  func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1113
1115
  func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
@@ -1150,13 +1152,13 @@ extension PixelPaySDK.EventMonitor {
1150
1152
  public var queue: Dispatch.DispatchQueue {
1151
1153
  get
1152
1154
  }
1153
- public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1155
+ public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1154
1156
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1155
1157
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1156
1158
  public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1157
1159
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1158
1160
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1159
- public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1161
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1160
1162
  public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1161
1163
  public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1162
1164
  public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
@@ -1196,13 +1198,13 @@ extension PixelPaySDK.EventMonitor {
1196
1198
  }
1197
1199
  @_hasMissingDesignatedInitializers final public class CompositeEventMonitor : PixelPaySDK.EventMonitor {
1198
1200
  final public let queue: Dispatch.DispatchQueue
1199
- final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1201
+ final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1200
1202
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1201
1203
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1202
1204
  final public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1203
1205
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1204
1206
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1205
- final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1207
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1206
1208
  @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
1207
1209
  final public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1208
1210
  final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
@@ -1243,13 +1245,13 @@ extension PixelPaySDK.EventMonitor {
1243
1245
  @objc deinit
1244
1246
  }
1245
1247
  open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
1246
- open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, Swift.Error?) -> Swift.Void)?
1248
+ open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, (any Swift.Error)?) -> Swift.Void)?
1247
1249
  open var taskDidReceiveChallenge: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLAuthenticationChallenge) -> Swift.Void)?
1248
1250
  open var taskDidSendBodyData: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
1249
1251
  open var taskNeedNewBodyStream: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
1250
1252
  open var taskWillPerformHTTPRedirection: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.HTTPURLResponse, Foundation.URLRequest) -> Swift.Void)?
1251
1253
  open var taskDidFinishCollectingMetrics: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
1252
- open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Error?) -> Swift.Void)?
1254
+ open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, (any Swift.Error)?) -> Swift.Void)?
1253
1255
  open var taskIsWaitingForConnectivity: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
1254
1256
  open var dataTaskDidReceiveData: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.Data) -> Swift.Void)?
1255
1257
  open var dataTaskWillCacheResponse: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Swift.Void)?
@@ -1285,13 +1287,13 @@ open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
1285
1287
  open var requestDidParseDownloadResponse: ((PixelPaySDK.DownloadRequest, PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>) -> Swift.Void)?
1286
1288
  final public let queue: Dispatch.DispatchQueue
1287
1289
  public init(queue: Dispatch.DispatchQueue = .main)
1288
- open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1290
+ open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1289
1291
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1290
1292
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1291
1293
  open func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1292
1294
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1293
1295
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
1294
- open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
1296
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1295
1297
  open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1296
1298
  open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1297
1299
  open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
@@ -1433,11 +1435,11 @@ extension Swift.String : PixelPaySDK.JSONSubscriptType {
1433
1435
  }
1434
1436
  }
1435
1437
  extension PixelPaySDK.JSON {
1436
- public subscript(path: [PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
1438
+ public subscript(path: [any PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
1437
1439
  get
1438
1440
  set
1439
1441
  }
1440
- public subscript(path: PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
1442
+ public subscript(path: any PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
1441
1443
  get
1442
1444
  set
1443
1445
  }
@@ -1673,8 +1675,8 @@ public enum writingOptionsKeys {
1673
1675
  }
1674
1676
  }
1675
1677
  extension PixelPaySDK.JSON : Swift.Codable {
1676
- public init(from decoder: Swift.Decoder) throws
1677
- public func encode(to encoder: Swift.Encoder) throws
1678
+ public init(from decoder: any Swift.Decoder) throws
1679
+ public func encode(to encoder: any Swift.Encoder) throws
1678
1680
  }
1679
1681
  public protocol AuthenticationCredential {
1680
1682
  var requiresRefresh: Swift.Bool { get }
@@ -1682,8 +1684,8 @@ public protocol AuthenticationCredential {
1682
1684
  public protocol Authenticator : AnyObject {
1683
1685
  associatedtype Credential : PixelPaySDK.AuthenticationCredential
1684
1686
  func apply(_ credential: Self.Credential, to urlRequest: inout Foundation.URLRequest)
1685
- func refresh(_ credential: Self.Credential, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Self.Credential, Swift.Error>) -> Swift.Void)
1686
- func didRequest(_ urlRequest: Foundation.URLRequest, with response: Foundation.HTTPURLResponse, failDueToAuthenticationError error: Swift.Error) -> Swift.Bool
1687
+ func refresh(_ credential: Self.Credential, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Self.Credential, any Swift.Error>) -> Swift.Void)
1688
+ func didRequest(_ urlRequest: Foundation.URLRequest, with response: Foundation.HTTPURLResponse, failDueToAuthenticationError error: any Swift.Error) -> Swift.Bool
1687
1689
  func isRequest(_ urlRequest: Foundation.URLRequest, authenticatedWith credential: Self.Credential) -> Swift.Bool
1688
1690
  }
1689
1691
  public enum AuthenticationError : Swift.Error {
@@ -1707,8 +1709,8 @@ public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestI
1707
1709
  set
1708
1710
  }
1709
1711
  public init(authenticator: AuthenticatorType, credential: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.Credential? = nil, refreshWindow: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.RefreshWindow? = RefreshWindow())
1710
- public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1711
- public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1712
+ public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1713
+ public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1712
1714
  @objc deinit
1713
1715
  }
1714
1716
  @_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
@@ -1776,8 +1778,14 @@ public class Billing {
1776
1778
  @objc deinit
1777
1779
  }
1778
1780
  @_inheritsConvenienceInitializers public class SaleTransaction : PixelPaySDK.PaymentTransaction {
1781
+ public var installment_type: Swift.String?
1782
+ public var installment_months: Swift.String?
1783
+ public var points_redeem_amount: Swift.String?
1779
1784
  override public init()
1780
- required public init(from: Swift.Decoder) throws
1785
+ required public init(from: any Swift.Decoder) throws
1786
+ override public func encode(to encoder: any Swift.Encoder) throws
1787
+ public func setInstallment(months: Swift.Int, type: Swift.String)
1788
+ public func withPointsRedeemAmount(amount: Swift.Double)
1781
1789
  @objc deinit
1782
1790
  }
1783
1791
  @_inheritsConvenienceInitializers public class PaymentTransaction : PixelPaySDK.RequestBehaviour {
@@ -1808,8 +1816,8 @@ public class Billing {
1808
1816
  public var authentication_request: Swift.Bool
1809
1817
  public var authentication_identifier: Swift.String?
1810
1818
  override public init()
1811
- required public init(from: Swift.Decoder) throws
1812
- override public func encode(to encoder: Swift.Encoder) throws
1819
+ required public init(from: any Swift.Decoder) throws
1820
+ override public func encode(to encoder: any Swift.Encoder) throws
1813
1821
  public func setCard(card: PixelPaySDK.Card)
1814
1822
  public func setCardToken(token: Swift.String)
1815
1823
  public func setBilling(billing: PixelPaySDK.Billing)
@@ -1819,7 +1827,7 @@ public class Billing {
1819
1827
  }
1820
1828
  @_inheritsConvenienceInitializers public class PayloadResponse : PixelPaySDK.Response {
1821
1829
  override public init()
1822
- required public init(from decoder: Swift.Decoder) throws
1830
+ required public init(from decoder: any Swift.Decoder) throws
1823
1831
  @objc deinit
1824
1832
  }
1825
1833
  public protocol URLConvertible {
@@ -1846,11 +1854,11 @@ extension Foundation.URLRequest : PixelPaySDK.URLRequestConvertible {
1846
1854
  public func asURLRequest() throws -> Foundation.URLRequest
1847
1855
  }
1848
1856
  extension Foundation.URLRequest {
1849
- public init(url: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod, headers: PixelPaySDK.HTTPHeaders? = nil) throws
1857
+ public init(url: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod, headers: PixelPaySDK.HTTPHeaders? = nil) throws
1850
1858
  }
1851
1859
  @_inheritsConvenienceInitializers public class InputErrorResponse : PixelPaySDK.Response {
1852
1860
  override public init()
1853
- required public init(from decoder: Swift.Decoder) throws
1861
+ required public init(from decoder: any Swift.Decoder) throws
1854
1862
  @objc deinit
1855
1863
  }
1856
1864
  public enum InvalidCredentialsException : Swift.Error {
@@ -1861,47 +1869,47 @@ public enum InvalidTransactionType : Swift.Error {
1861
1869
  }
1862
1870
  @_inheritsConvenienceInitializers public class TimeoutResponse : PixelPaySDK.Response {
1863
1871
  override public init()
1864
- required public init(from decoder: Swift.Decoder) throws
1872
+ required public init(from decoder: any Swift.Decoder) throws
1865
1873
  @objc deinit
1866
1874
  }
1867
1875
  public protocol RequestAdapter {
1868
- func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1876
+ func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1869
1877
  }
1870
1878
  public enum RetryResult {
1871
1879
  case retry
1872
1880
  case retryWithDelay(Foundation.TimeInterval)
1873
1881
  case doNotRetry
1874
- case doNotRetryWithError(Swift.Error)
1882
+ case doNotRetryWithError(any Swift.Error)
1875
1883
  }
1876
1884
  public protocol RequestRetrier {
1877
- func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1885
+ func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1878
1886
  }
1879
1887
  public protocol RequestInterceptor : PixelPaySDK.RequestAdapter, PixelPaySDK.RequestRetrier {
1880
1888
  }
1881
1889
  extension PixelPaySDK.RequestInterceptor {
1882
- public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1883
- public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1890
+ public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1891
+ public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1884
1892
  }
1885
- public typealias AdaptHandler = (Foundation.URLRequest, PixelPaySDK.Session, _ completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void) -> Swift.Void
1886
- public typealias RetryHandler = (PixelPaySDK.Request, PixelPaySDK.Session, Swift.Error, _ completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void) -> Swift.Void
1893
+ public typealias AdaptHandler = (Foundation.URLRequest, PixelPaySDK.Session, _ completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void) -> Swift.Void
1894
+ public typealias RetryHandler = (PixelPaySDK.Request, PixelPaySDK.Session, any Swift.Error, _ completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void) -> Swift.Void
1887
1895
  open class Adapter : PixelPaySDK.RequestInterceptor {
1888
1896
  public init(_ adaptHandler: @escaping PixelPaySDK.AdaptHandler)
1889
- open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1897
+ open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1890
1898
  @objc deinit
1891
1899
  }
1892
1900
  open class Retrier : PixelPaySDK.RequestInterceptor {
1893
1901
  public init(_ retryHandler: @escaping PixelPaySDK.RetryHandler)
1894
- open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1902
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1895
1903
  @objc deinit
1896
1904
  }
1897
1905
  open class Interceptor : PixelPaySDK.RequestInterceptor {
1898
- final public let adapters: [PixelPaySDK.RequestAdapter]
1899
- final public let retriers: [PixelPaySDK.RequestRetrier]
1906
+ final public let adapters: [any PixelPaySDK.RequestAdapter]
1907
+ final public let retriers: [any PixelPaySDK.RequestRetrier]
1900
1908
  public init(adaptHandler: @escaping PixelPaySDK.AdaptHandler, retryHandler: @escaping PixelPaySDK.RetryHandler)
1901
- public init(adapter: PixelPaySDK.RequestAdapter, retrier: PixelPaySDK.RequestRetrier)
1902
- public init(adapters: [PixelPaySDK.RequestAdapter] = [], retriers: [PixelPaySDK.RequestRetrier] = [], interceptors: [PixelPaySDK.RequestInterceptor] = [])
1903
- open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1904
- open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1909
+ public init(adapter: any PixelPaySDK.RequestAdapter, retrier: any PixelPaySDK.RequestRetrier)
1910
+ public init(adapters: [any PixelPaySDK.RequestAdapter] = [], retriers: [any PixelPaySDK.RequestRetrier] = [], interceptors: [any PixelPaySDK.RequestInterceptor] = [])
1911
+ open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1912
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1905
1913
  @objc deinit
1906
1914
  }
1907
1915
  extension UIKit.UIView {
@@ -1937,12 +1945,12 @@ public class Item : Swift.Codable {
1937
1945
  public init()
1938
1946
  public func totalize() -> PixelPaySDK.Item
1939
1947
  @objc deinit
1940
- public func encode(to encoder: Swift.Encoder) throws
1941
- required public init(from decoder: Swift.Decoder) throws
1948
+ public func encode(to encoder: any Swift.Encoder) throws
1949
+ required public init(from decoder: any Swift.Decoder) throws
1942
1950
  }
1943
1951
  @_inheritsConvenienceInitializers public class PaymentDeclinedResponse : PixelPaySDK.Response {
1944
1952
  override public init()
1945
- required public init(from decoder: Swift.Decoder) throws
1953
+ required public init(from decoder: any Swift.Decoder) throws
1946
1954
  @objc deinit
1947
1955
  }
1948
1956
  public typealias AFDataResponse<Success> = PixelPaySDK.DataResponse<Success, PixelPaySDK.AFError>
@@ -1972,9 +1980,9 @@ extension PixelPaySDK.DataResponse : Swift.CustomStringConvertible, Swift.Custom
1972
1980
  }
1973
1981
  extension PixelPaySDK.DataResponse {
1974
1982
  public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Failure>
1975
- public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Swift.Error>
1983
+ public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, any Swift.Error>
1976
1984
  public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DataResponse<Success, NewFailure> where NewFailure : Swift.Error
1977
- public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DataResponse<Success, Swift.Error> where NewFailure : Swift.Error
1985
+ public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DataResponse<Success, any Swift.Error> where NewFailure : Swift.Error
1978
1986
  }
1979
1987
  public struct DownloadResponse<Success, Failure> where Failure : Swift.Error {
1980
1988
  public let request: Foundation.URLRequest?
@@ -2002,9 +2010,9 @@ extension PixelPaySDK.DownloadResponse : Swift.CustomStringConvertible, Swift.Cu
2002
2010
  }
2003
2011
  extension PixelPaySDK.DownloadResponse {
2004
2012
  public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Failure>
2005
- public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Swift.Error>
2013
+ public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, any Swift.Error>
2006
2014
  public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, NewFailure> where NewFailure : Swift.Error
2007
- public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, Swift.Error> where NewFailure : Swift.Error
2015
+ public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, any Swift.Error> where NewFailure : Swift.Error
2008
2016
  }
2009
2017
  @_inheritsConvenienceInitializers public class CardTokenization : PixelPaySDK.RequestBehaviour {
2010
2018
  public var number: Swift.String?
@@ -2020,15 +2028,15 @@ extension PixelPaySDK.DownloadResponse {
2020
2028
  public var phone: Swift.String?
2021
2029
  public var email: Swift.String?
2022
2030
  override public init()
2023
- required public init(from: Swift.Decoder) throws
2024
- override public func encode(to encoder: Swift.Encoder) throws
2031
+ required public init(from: any Swift.Decoder) throws
2032
+ override public func encode(to encoder: any Swift.Encoder) throws
2025
2033
  public func setCard(card: PixelPaySDK.Card)
2026
2034
  public func setBilling(billing: PixelPaySDK.Billing)
2027
2035
  @objc deinit
2028
2036
  }
2029
2037
  @_inheritsConvenienceInitializers public class ErrorResponse : PixelPaySDK.Response {
2030
2038
  override public init()
2031
- required public init(from decoder: Swift.Decoder) throws
2039
+ required public init(from decoder: any Swift.Decoder) throws
2032
2040
  @objc deinit
2033
2041
  }
2034
2042
  public class Response : Swift.Codable {
@@ -2045,19 +2053,19 @@ public class Response : Swift.Codable {
2045
2053
  public func getData(key: Swift.String) -> PixelPaySDK.JSON
2046
2054
  public static func fromJson(body: Foundation.Data, status: Swift.Int) -> PixelPaySDK.Response
2047
2055
  @objc deinit
2048
- public func encode(to encoder: Swift.Encoder) throws
2049
- required public init(from decoder: Swift.Decoder) throws
2056
+ public func encode(to encoder: any Swift.Encoder) throws
2057
+ required public init(from decoder: any Swift.Decoder) throws
2050
2058
  }
2051
2059
  public protocol DataResponseSerializerProtocol {
2052
2060
  associatedtype SerializedObject
2053
- func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Self.SerializedObject
2061
+ func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Self.SerializedObject
2054
2062
  }
2055
2063
  public protocol DownloadResponseSerializerProtocol {
2056
2064
  associatedtype SerializedObject
2057
- func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
2065
+ func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: (any Swift.Error)?) throws -> Self.SerializedObject
2058
2066
  }
2059
2067
  public protocol ResponseSerializer : PixelPaySDK.DataResponseSerializerProtocol, PixelPaySDK.DownloadResponseSerializerProtocol {
2060
- var dataPreprocessor: PixelPaySDK.DataPreprocessor { get }
2068
+ var dataPreprocessor: any PixelPaySDK.DataPreprocessor { get }
2061
2069
  var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> { get }
2062
2070
  var emptyResponseCodes: Swift.Set<Swift.Int> { get }
2063
2071
  }
@@ -2073,7 +2081,7 @@ public struct GoogleXSSIPreprocessor : PixelPaySDK.DataPreprocessor {
2073
2081
  public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
2074
2082
  }
2075
2083
  extension PixelPaySDK.ResponseSerializer {
2076
- public static var defaultDataPreprocessor: PixelPaySDK.DataPreprocessor {
2084
+ public static var defaultDataPreprocessor: any PixelPaySDK.DataPreprocessor {
2077
2085
  get
2078
2086
  }
2079
2087
  public static var defaultEmptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
@@ -2082,7 +2090,7 @@ extension PixelPaySDK.ResponseSerializer {
2082
2090
  public static var defaultEmptyResponseCodes: Swift.Set<Swift.Int> {
2083
2091
  get
2084
2092
  }
2085
- public var dataPreprocessor: PixelPaySDK.DataPreprocessor {
2093
+ public var dataPreprocessor: any PixelPaySDK.DataPreprocessor {
2086
2094
  get
2087
2095
  }
2088
2096
  public var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
@@ -2096,7 +2104,7 @@ extension PixelPaySDK.ResponseSerializer {
2096
2104
  public func emptyResponseAllowed(forRequest request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?) -> Swift.Bool
2097
2105
  }
2098
2106
  extension PixelPaySDK.DownloadResponseSerializerProtocol where Self : PixelPaySDK.DataResponseSerializerProtocol {
2099
- public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
2107
+ public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: (any Swift.Error)?) throws -> Self.SerializedObject
2100
2108
  }
2101
2109
  extension PixelPaySDK.DataRequest {
2102
2110
  @discardableResult
@@ -2112,7 +2120,7 @@ extension PixelPaySDK.DownloadRequest {
2112
2120
  }
2113
2121
  public struct URLResponseSerializer : PixelPaySDK.DownloadResponseSerializerProtocol {
2114
2122
  public init()
2115
- public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Foundation.URL
2123
+ public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: (any Swift.Error)?) throws -> Foundation.URL
2116
2124
  public typealias SerializedObject = Foundation.URL
2117
2125
  }
2118
2126
  extension PixelPaySDK.DownloadRequest {
@@ -2120,65 +2128,65 @@ extension PixelPaySDK.DownloadRequest {
2120
2128
  public func responseURL(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL>) -> Swift.Void) -> Self
2121
2129
  }
2122
2130
  final public class DataResponseSerializer : PixelPaySDK.ResponseSerializer {
2123
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2131
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2124
2132
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2125
2133
  final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2126
- public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods)
2127
- final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Foundation.Data
2134
+ public init(dataPreprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods)
2135
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Foundation.Data
2128
2136
  public typealias SerializedObject = Foundation.Data
2129
2137
  @objc deinit
2130
2138
  }
2131
2139
  extension PixelPaySDK.DataRequest {
2132
2140
  @discardableResult
2133
- public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Foundation.Data>) -> Swift.Void) -> Self
2141
+ public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Foundation.Data>) -> Swift.Void) -> Self
2134
2142
  }
2135
2143
  extension PixelPaySDK.DownloadRequest {
2136
2144
  @discardableResult
2137
- public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.Data>) -> Swift.Void) -> Self
2145
+ public func responseData(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.Data>) -> Swift.Void) -> Self
2138
2146
  }
2139
2147
  final public class StringResponseSerializer : PixelPaySDK.ResponseSerializer {
2140
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2148
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2141
2149
  final public let encoding: Swift.String.Encoding?
2142
2150
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2143
2151
  final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2144
- public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods)
2145
- final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Swift.String
2152
+ public init(dataPreprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods)
2153
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Swift.String
2146
2154
  public typealias SerializedObject = Swift.String
2147
2155
  @objc deinit
2148
2156
  }
2149
2157
  extension PixelPaySDK.DataRequest {
2150
2158
  @discardableResult
2151
- public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Swift.String>) -> Swift.Void) -> Self
2159
+ public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Swift.String>) -> Swift.Void) -> Self
2152
2160
  }
2153
2161
  extension PixelPaySDK.DownloadRequest {
2154
2162
  @discardableResult
2155
- public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Swift.String>) -> Swift.Void) -> Self
2163
+ public func responseString(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Swift.String>) -> Swift.Void) -> Self
2156
2164
  }
2157
2165
  final public class JSONResponseSerializer : PixelPaySDK.ResponseSerializer {
2158
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2166
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2159
2167
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2160
2168
  final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2161
2169
  final public let options: Foundation.JSONSerialization.ReadingOptions
2162
- public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments)
2163
- final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Any
2170
+ public init(dataPreprocessor: any PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments)
2171
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Any
2164
2172
  public typealias SerializedObject = Any
2165
2173
  @objc deinit
2166
2174
  }
2167
2175
  extension PixelPaySDK.DataRequest {
2168
2176
  @discardableResult
2169
- public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Any>) -> Swift.Void) -> Self
2177
+ public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDataResponse<Any>) -> Swift.Void) -> Self
2170
2178
  }
2171
2179
  extension PixelPaySDK.DownloadRequest {
2172
2180
  @discardableResult
2173
- public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Any>) -> Swift.Void) -> Self
2181
+ public func responseJSON(queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = JSONResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = JSONResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = JSONResponseSerializer.defaultEmptyRequestMethods, options: Foundation.JSONSerialization.ReadingOptions = .allowFragments, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Any>) -> Swift.Void) -> Self
2174
2182
  }
2175
2183
  public protocol EmptyResponse {
2176
2184
  static func emptyValue() -> Self
2177
2185
  }
2178
2186
  public struct Empty : Swift.Codable {
2179
2187
  public static let value: PixelPaySDK.Empty
2180
- public func encode(to encoder: Swift.Encoder) throws
2181
- public init(from decoder: Swift.Decoder) throws
2188
+ public func encode(to encoder: any Swift.Encoder) throws
2189
+ public init(from decoder: any Swift.Decoder) throws
2182
2190
  }
2183
2191
  extension PixelPaySDK.Empty : PixelPaySDK.EmptyResponse {
2184
2192
  public static func emptyValue() -> PixelPaySDK.Empty
@@ -2191,31 +2199,31 @@ extension Foundation.JSONDecoder : PixelPaySDK.DataDecoder {
2191
2199
  extension Foundation.PropertyListDecoder : PixelPaySDK.DataDecoder {
2192
2200
  }
2193
2201
  final public class DecodableResponseSerializer<T> : PixelPaySDK.ResponseSerializer where T : Swift.Decodable {
2194
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2195
- final public let decoder: PixelPaySDK.DataDecoder
2202
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2203
+ final public let decoder: any PixelPaySDK.DataDecoder
2196
2204
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2197
2205
  final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2198
- public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer.defaultEmptyRequestMethods)
2199
- final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> T
2206
+ public init(dataPreprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer.defaultEmptyRequestMethods)
2207
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> T
2200
2208
  public typealias SerializedObject = T
2201
2209
  @objc deinit
2202
2210
  }
2203
2211
  extension PixelPaySDK.DataRequest {
2204
2212
  @discardableResult
2205
- public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
2213
+ public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDataResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
2206
2214
  }
2207
2215
  extension PixelPaySDK.DownloadRequest {
2208
2216
  @discardableResult
2209
- public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
2217
+ public func responseDecodable<T>(of type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, dataPreprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<T>) -> Swift.Void) -> Self where T : Swift.Decodable
2210
2218
  }
2211
2219
  public protocol DataStreamSerializer {
2212
2220
  associatedtype SerializedObject
2213
2221
  func serialize(_ data: Foundation.Data) throws -> Self.SerializedObject
2214
2222
  }
2215
2223
  public struct DecodableStreamSerializer<T> : PixelPaySDK.DataStreamSerializer where T : Swift.Decodable {
2216
- public let decoder: PixelPaySDK.DataDecoder
2217
- public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2218
- public init(decoder: PixelPaySDK.DataDecoder = JSONDecoder(), dataPreprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor())
2224
+ public let decoder: any PixelPaySDK.DataDecoder
2225
+ public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2226
+ public init(decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), dataPreprocessor: any PixelPaySDK.DataPreprocessor = PassthroughPreprocessor())
2219
2227
  public func serialize(_ data: Foundation.Data) throws -> T
2220
2228
  public typealias SerializedObject = T
2221
2229
  }
@@ -2235,7 +2243,7 @@ extension PixelPaySDK.DataStreamRequest {
2235
2243
  @discardableResult
2236
2244
  final public func responseStreamString(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Swift.String, Swift.Never>) -> Self
2237
2245
  @discardableResult
2238
- final public func responseStreamDecodable<T>(of type: T.Type = T.self, on queue: Dispatch.DispatchQueue = .main, using decoder: PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: PixelPaySDK.DataPreprocessor = PassthroughPreprocessor(), stream: @escaping PixelPaySDK.DataStreamRequest.Handler<T, PixelPaySDK.AFError>) -> Self where T : Swift.Decodable
2246
+ final public func responseStreamDecodable<T>(of type: T.Type = T.self, on queue: Dispatch.DispatchQueue = .main, using decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: any PixelPaySDK.DataPreprocessor = PassthroughPreprocessor(), stream: @escaping PixelPaySDK.DataStreamRequest.Handler<T, PixelPaySDK.AFError>) -> Self where T : Swift.Decodable
2239
2247
  }
2240
2248
  public protocol RedirectHandler {
2241
2249
  func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
@@ -2280,7 +2288,7 @@ extension UIKit.UIView {
2280
2288
  }
2281
2289
  public typealias Parameters = [Swift.String : Any]
2282
2290
  public protocol ParameterEncoding {
2283
- func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2291
+ func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2284
2292
  }
2285
2293
  public struct URLEncoding : PixelPaySDK.ParameterEncoding {
2286
2294
  public enum Destination {
@@ -2324,7 +2332,7 @@ public struct URLEncoding : PixelPaySDK.ParameterEncoding {
2324
2332
  public let arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding
2325
2333
  public let boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding
2326
2334
  public init(destination: PixelPaySDK.URLEncoding.Destination = .methodDependent, arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding = .numeric)
2327
- public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2335
+ public func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2328
2336
  public func queryComponents(fromKey key: Swift.String, value: Any) -> [(Swift.String, Swift.String)]
2329
2337
  public func escape(_ string: Swift.String) -> Swift.String
2330
2338
  }
@@ -2337,8 +2345,8 @@ public struct JSONEncoding : PixelPaySDK.ParameterEncoding {
2337
2345
  }
2338
2346
  public let options: Foundation.JSONSerialization.WritingOptions
2339
2347
  public init(options: Foundation.JSONSerialization.WritingOptions = [])
2340
- public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2341
- public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> Foundation.URLRequest
2348
+ public func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2349
+ public func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> Foundation.URLRequest
2342
2350
  }
2343
2351
  public struct AlamofireExtension<ExtendedType> {
2344
2352
  public var type: ExtendedType {
@@ -2366,7 +2374,7 @@ extension PixelPaySDK.AlamofireExtended {
2366
2374
  @objc deinit
2367
2375
  }
2368
2376
  extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDelegate {
2369
- @objc dynamic open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
2377
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
2370
2378
  }
2371
2379
  extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
2372
2380
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge, completionHandler: @escaping (Foundation.URLSession.AuthChallengeDisposition, Foundation.URLCredential?) -> Swift.Void)
@@ -2374,7 +2382,7 @@ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
2374
2382
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, needNewBodyStream completionHandler: @escaping (Foundation.InputStream?) -> Swift.Void)
2375
2383
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest, completionHandler: @escaping (Foundation.URLRequest?) -> Swift.Void)
2376
2384
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
2377
- @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: Swift.Error?)
2385
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
2378
2386
  @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
2379
2387
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
2380
2388
  }
@@ -2427,8 +2435,8 @@ open class RetryPolicy : PixelPaySDK.RequestInterceptor {
2427
2435
  final public let retryableHTTPStatusCodes: Swift.Set<Swift.Int>
2428
2436
  final public let retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
2429
2437
  public init(retryLimit: Swift.UInt = RetryPolicy.defaultRetryLimit, exponentialBackoffBase: Swift.UInt = RetryPolicy.defaultExponentialBackoffBase, exponentialBackoffScale: Swift.Double = RetryPolicy.defaultExponentialBackoffScale, retryableHTTPMethods: Swift.Set<PixelPaySDK.HTTPMethod> = RetryPolicy.defaultRetryableHTTPMethods, retryableHTTPStatusCodes: Swift.Set<Swift.Int> = RetryPolicy.defaultRetryableHTTPStatusCodes, retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code> = RetryPolicy.defaultRetryableURLErrorCodes)
2430
- open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
2431
- open func shouldRetry(request: PixelPaySDK.Request, dueTo error: Swift.Error) -> Swift.Bool
2438
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
2439
+ open func shouldRetry(request: PixelPaySDK.Request, dueTo error: any Swift.Error) -> Swift.Bool
2432
2440
  @objc deinit
2433
2441
  }
2434
2442
  open class ConnectionLostRetryPolicy : PixelPaySDK.RetryPolicy {
@@ -2443,6 +2451,7 @@ extension Swift.Encodable {
2443
2451
  }
2444
2452
  extension Swift.String {
2445
2453
  public func toMD5() -> Swift.String
2454
+ public func toSHA512() -> Swift.String
2446
2455
  }
2447
2456
  public protocol ParameterEncoder {
2448
2457
  func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
@@ -2490,12 +2499,12 @@ public class RequestBehaviour : Swift.Codable {
2490
2499
  public var sdk_version: Swift.String?
2491
2500
  public init()
2492
2501
  @objc deinit
2493
- public func encode(to encoder: Swift.Encoder) throws
2494
- required public init(from decoder: Swift.Decoder) throws
2502
+ public func encode(to encoder: any Swift.Encoder) throws
2503
+ required public init(from decoder: any Swift.Decoder) throws
2495
2504
  }
2496
2505
  @_inheritsConvenienceInitializers public class FailureResponse : PixelPaySDK.Response {
2497
2506
  override public init()
2498
- required public init(from decoder: Swift.Decoder) throws
2507
+ required public init(from decoder: any Swift.Decoder) throws
2499
2508
  @objc deinit
2500
2509
  }
2501
2510
  extension Foundation.URLRequest {
@@ -2529,8 +2538,8 @@ extension Foundation.URLRequest {
2529
2538
  public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
2530
2539
  public static func fromResponse(response: PixelPaySDK.Response) -> PixelPaySDK.TransactionResult
2531
2540
  @objc deinit
2532
- public func encode(to encoder: Swift.Encoder) throws
2533
- required public init(from decoder: Swift.Decoder) throws
2541
+ public func encode(to encoder: any Swift.Encoder) throws
2542
+ required public init(from decoder: any Swift.Decoder) throws
2534
2543
  }
2535
2544
  @_hasMissingDesignatedInitializers open class NetworkReachabilityManager {
2536
2545
  public enum NetworkReachabilityStatus {