@pixelpay/capacitor-plugin 2.0.4 → 2.0.7

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 (108) hide show
  1. package/README.md +1 -8
  2. package/android/build.gradle +2 -1
  3. package/android/src/main/AndroidManifest.xml +1 -1
  4. package/dist/esm/index.js +2 -0
  5. package/dist/esm/index.js.map +1 -1
  6. package/dist/plugin.cjs.js +2 -0
  7. package/dist/plugin.cjs.js.map +1 -1
  8. package/dist/plugin.js +2 -0
  9. package/dist/plugin.js.map +1 -1
  10. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Assets.car +0 -0
  11. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/CardinalMobile +0 -0
  12. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/ButtonCustomization.h +1 -1
  13. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/CardinalSession.h +2 -2
  14. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/CardinalSessionConfiguration.h +1 -1
  15. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/CardinalThreeDS2ServiceImpl.h +1 -1
  16. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/CardinalTransaction.h +1 -1
  17. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/ChallengeStatusReceiver.h +8 -8
  18. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/LabelCustomization.h +1 -1
  19. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/ProtocolErrorEvent.h +1 -1
  20. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/TextBoxCustomization.h +1 -1
  21. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/ThreeDS2Service.h +4 -4
  22. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/ToolbarCustomization.h +1 -1
  23. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/Transaction.h +4 -4
  24. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Headers/UiCustomization.h +4 -4
  25. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64/CardinalMobile.framework/Info.plist +0 -0
  26. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Assets.car +0 -0
  27. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/CardinalMobile +0 -0
  28. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/ButtonCustomization.h +1 -1
  29. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/CardinalSession.h +2 -2
  30. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/CardinalSessionConfiguration.h +1 -1
  31. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/CardinalThreeDS2ServiceImpl.h +1 -1
  32. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/CardinalTransaction.h +1 -1
  33. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/ChallengeStatusReceiver.h +8 -8
  34. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/LabelCustomization.h +1 -1
  35. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/ProtocolErrorEvent.h +1 -1
  36. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/TextBoxCustomization.h +1 -1
  37. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/ThreeDS2Service.h +4 -4
  38. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/ToolbarCustomization.h +1 -1
  39. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/Transaction.h +4 -4
  40. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Headers/UiCustomization.h +4 -4
  41. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/Info.plist +0 -0
  42. package/ios/Frameworks/CardinalMobile.xcframework/ios-arm64_x86_64-simulator/CardinalMobile.framework/_CodeSignature/CodeResources +43 -43
  43. package/ios/Frameworks/PixelPaySDK.podspec +2 -2
  44. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +87 -57
  45. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Info.plist +0 -0
  46. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.abi.json +16448 -1207
  47. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.private.swiftinterface +211 -194
  48. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  49. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios.swiftinterface +211 -194
  50. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/PixelPaySDK +0 -0
  51. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/_CodeSignature/CodeResources +13 -375
  52. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Headers/PixelPaySDK-Swift.h +174 -114
  53. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Info.plist +0 -0
  54. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.abi.json +16448 -1207
  55. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +211 -194
  56. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  57. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/arm64-apple-ios-simulator.swiftinterface +211 -194
  58. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +16448 -1207
  59. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +211 -194
  60. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  61. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Modules/PixelPaySDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +211 -194
  62. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/PixelPaySDK +0 -0
  63. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/_CodeSignature/CodeResources +23 -405
  64. package/package.json +3 -3
  65. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
  66. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/objects-11.0+.nib +0 -0
  67. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
  68. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/objects-11.0+.nib +0 -0
  69. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
  70. 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
  71. 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
  72. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
  73. 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
  74. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/UINavigationController-SPZ-eu-YwW.nib/runtime.nib +0 -0
  75. 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
  76. 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
  77. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
  78. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
  79. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
  80. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
  81. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
  82. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
  83. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
  84. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
  85. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +0 -387
  86. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/export_file.txt +0 -63
  87. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Assets.car +0 -0
  88. 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
  89. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCHtmlViewController.nib/runtime.nib +0 -0
  90. 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
  91. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/CCViewController.nib/runtime.nib +0 -0
  92. 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
  93. 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
  94. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CCStoryBoard.storyboardc/Info.plist +0 -0
  95. 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
  96. 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
  97. 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
  98. 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
  99. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/CardinalMobile +0 -0
  100. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/Info.plist +0 -0
  101. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/objects-11.0+.nib +0 -0
  102. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/MultiSelectView.nib/runtime.nib +0 -0
  103. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/objects-11.0+.nib +0 -0
  104. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/OTPView.nib/runtime.nib +0 -0
  105. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/objects-11.0+.nib +0 -0
  106. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/SingleSelectView.nib/runtime.nib +0 -0
  107. package/ios/Frameworks/PixelPaySDK.xcframework/ios-arm64_x86_64-simulator/PixelPaySDK.framework/Frameworks/CardinalMobile.framework/_CodeSignature/CodeResources +0 -387
  108. 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 x86_64-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 x86_64-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
@@ -18,6 +18,9 @@ import _StringProcessing
18
18
  public enum IllegalStateException : Swift.Error {
19
19
  case illegalState(Swift.String)
20
20
  }
21
+ public enum FailedEncryptionException : Swift.Error {
22
+ case failedEncryption(Swift.String)
23
+ }
21
24
  @_hasMissingDesignatedInitializers public class Request {
22
25
  public enum State {
23
26
  case initialized
@@ -34,9 +37,9 @@ public enum IllegalStateException : Swift.Error {
34
37
  final public let id: Foundation.UUID
35
38
  final public let underlyingQueue: Dispatch.DispatchQueue
36
39
  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? {
40
+ final public let eventMonitor: (any PixelPaySDK.EventMonitor)?
41
+ final public let interceptor: (any PixelPaySDK.RequestInterceptor)?
42
+ weak public var delegate: (any PixelPaySDK.RequestDelegate)? {
40
43
  get
41
44
  }
42
45
  public var state: PixelPaySDK.Request.State {
@@ -60,10 +63,10 @@ public enum IllegalStateException : Swift.Error {
60
63
  public typealias ProgressHandler = (Foundation.Progress) -> Swift.Void
61
64
  final public let uploadProgress: Foundation.Progress
62
65
  final public let downloadProgress: Foundation.Progress
63
- public var redirectHandler: PixelPaySDK.RedirectHandler? {
66
+ public var redirectHandler: (any PixelPaySDK.RedirectHandler)? {
64
67
  get
65
68
  }
66
- public var cachedResponseHandler: PixelPaySDK.CachedResponseHandler? {
69
+ public var cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)? {
67
70
  get
68
71
  }
69
72
  public var credential: Foundation.URLCredential? {
@@ -132,9 +135,9 @@ public enum IllegalStateException : Swift.Error {
132
135
  @discardableResult
133
136
  public func uploadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
134
137
  @discardableResult
135
- public func redirect(using handler: PixelPaySDK.RedirectHandler) -> Self
138
+ public func redirect(using handler: any PixelPaySDK.RedirectHandler) -> Self
136
139
  @discardableResult
137
- public func cacheResponse(using handler: PixelPaySDK.CachedResponseHandler) -> Self
140
+ public func cacheResponse(using handler: any PixelPaySDK.CachedResponseHandler) -> Self
138
141
  @discardableResult
139
142
  public func cURLDescription(on queue: Dispatch.DispatchQueue, calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
140
143
  @discardableResult
@@ -170,7 +173,7 @@ public protocol RequestDelegate : AnyObject {
170
173
  func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
171
174
  }
172
175
  @_hasMissingDesignatedInitializers public class DataRequest : PixelPaySDK.Request {
173
- final public let convertible: PixelPaySDK.URLRequestConvertible
176
+ final public let convertible: any PixelPaySDK.URLRequestConvertible
174
177
  public var data: Foundation.Data? {
175
178
  get
176
179
  }
@@ -198,7 +201,7 @@ public protocol RequestDelegate : AnyObject {
198
201
  public struct CancellationToken {
199
202
  public func cancel()
200
203
  }
201
- final public let convertible: PixelPaySDK.URLRequestConvertible
204
+ final public let convertible: any PixelPaySDK.URLRequestConvertible
202
205
  final public let automaticallyCancelOnStreamError: Swift.Bool
203
206
  @discardableResult
204
207
  final public func validate(_ validation: @escaping PixelPaySDK.DataStreamRequest.Validation) -> Self
@@ -232,7 +235,7 @@ extension PixelPaySDK.DataStreamRequest.Stream {
232
235
  public typealias Destination = (_ temporaryURL: Foundation.URL, _ response: Foundation.HTTPURLResponse) -> (destinationURL: Foundation.URL, options: PixelPaySDK.DownloadRequest.Options)
233
236
  public class func suggestedDownloadDestination(for directory: Foundation.FileManager.SearchPathDirectory = .documentDirectory, in domain: Foundation.FileManager.SearchPathDomainMask = .userDomainMask, options: PixelPaySDK.DownloadRequest.Options = []) -> PixelPaySDK.DownloadRequest.Destination
234
237
  public enum Downloadable {
235
- case request(PixelPaySDK.URLRequestConvertible)
238
+ case request(any PixelPaySDK.URLRequestConvertible)
236
239
  case resumeData(Foundation.Data)
237
240
  }
238
241
  public var resumeData: Foundation.Data? {
@@ -259,7 +262,7 @@ extension PixelPaySDK.DataStreamRequest.Stream {
259
262
  case file(Foundation.URL, shouldRemove: Swift.Bool)
260
263
  case stream(Foundation.InputStream)
261
264
  }
262
- final public let upload: PixelPaySDK.UploadableConvertible
265
+ final public let upload: any PixelPaySDK.UploadableConvertible
263
266
  final public let fileManager: Foundation.FileManager
264
267
  public var uploadable: PixelPaySDK.UploadRequest.Uploadable?
265
268
  public func cleanup()
@@ -300,11 +303,11 @@ extension PixelPaySDK.DataRequest {
300
303
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
301
304
  public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<T> where Serializer : PixelPaySDK.ResponseSerializer, T == Serializer.SerializedObject
302
305
  @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>
306
+ 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
307
  @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>
308
+ 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
309
  @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
310
+ 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
311
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
309
312
  public func publishUnserialized(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<Foundation.Data?>
310
313
  }
@@ -325,7 +328,7 @@ extension PixelPaySDK.DataStreamRequest {
325
328
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
326
329
  final public func publishString(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Swift.String>
327
330
  @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
331
+ 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
332
  }
330
333
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
331
334
  public struct DownloadResponsePublisher<Value> : Combine.Publisher {
@@ -346,11 +349,11 @@ extension PixelPaySDK.DownloadRequest {
346
349
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
347
350
  public func publishURL(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<Foundation.URL>
348
351
  @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>
352
+ 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
353
  @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>
354
+ 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
355
  @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
356
+ 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
357
  }
355
358
  @available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
356
359
  extension PixelPaySDK.DownloadResponsePublisher where Value == Foundation.URL? {
@@ -377,20 +380,21 @@ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashab
377
380
  }
378
381
  @_inheritsConvenienceInitializers public class AuthTransaction : PixelPaySDK.PaymentTransaction {
379
382
  override public init()
380
- required public init(from: Swift.Decoder) throws
383
+ required public init(from: any Swift.Decoder) throws
381
384
  @objc deinit
382
385
  }
383
386
  @_inheritsConvenienceInitializers public class VoidTransaction : PixelPaySDK.RequestBehaviour {
384
387
  public var payment_uuid: Swift.String?
385
388
  public var void_reason: Swift.String?
389
+ public var void_signature: Swift.String?
386
390
  override public init()
387
- required public init(from: Swift.Decoder) throws
388
- override public func encode(to encoder: Swift.Encoder) throws
391
+ required public init(from: any Swift.Decoder) throws
392
+ override public func encode(to encoder: any Swift.Encoder) throws
389
393
  @objc deinit
390
394
  }
391
395
  @_inheritsConvenienceInitializers public class SuccessResponse : PixelPaySDK.Response {
392
396
  override public init()
393
- required public init(from decoder: Swift.Decoder) throws
397
+ required public init(from decoder: any Swift.Decoder) throws
394
398
  @objc deinit
395
399
  }
396
400
  @_hasMissingDesignatedInitializers public class CardResult : Swift.Codable {
@@ -411,34 +415,34 @@ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashab
411
415
  public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
412
416
  public static func fromResponse(response: PixelPaySDK.SuccessResponse) -> PixelPaySDK.CardResult
413
417
  @objc deinit
414
- public func encode(to encoder: Swift.Encoder) throws
415
- required public init(from decoder: Swift.Decoder) throws
418
+ public func encode(to encoder: any Swift.Encoder) throws
419
+ required public init(from decoder: any Swift.Decoder) throws
416
420
  }
417
421
  @_inheritsConvenienceInitializers public class StatusTransaction : PixelPaySDK.RequestBehaviour {
418
422
  public var payment_uuid: Swift.String?
419
423
  override public init()
420
- required public init(from: Swift.Decoder) throws
421
- override public func encode(to encoder: Swift.Encoder) throws
424
+ required public init(from: any Swift.Decoder) throws
425
+ override public func encode(to encoder: any Swift.Encoder) throws
422
426
  @objc deinit
423
427
  }
424
428
  @_inheritsConvenienceInitializers public class PreconditionalResponse : PixelPaySDK.Response {
425
429
  override public init()
426
- required public init(from decoder: Swift.Decoder) throws
430
+ required public init(from decoder: any Swift.Decoder) throws
427
431
  @objc deinit
428
432
  }
429
433
  @_inheritsConvenienceInitializers public class CaptureTransaction : PixelPaySDK.RequestBehaviour {
430
434
  public var payment_uuid: Swift.String?
431
435
  public var transaction_approved_amount: Swift.String?
432
436
  override public init()
433
- required public init(from: Swift.Decoder) throws
434
- override public func encode(to encoder: Swift.Encoder) throws
437
+ required public init(from: any Swift.Decoder) throws
438
+ override public func encode(to encoder: any Swift.Encoder) throws
435
439
  @objc deinit
436
440
  }
437
441
  open class ServerTrustManager {
438
442
  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?
443
+ final public let evaluators: [Swift.String : any PixelPaySDK.ServerTrustEvaluating]
444
+ public init(allHostsMustBeEvaluated: Swift.Bool = true, evaluators: [Swift.String : any PixelPaySDK.ServerTrustEvaluating])
445
+ open func serverTrustEvaluator(forHost host: Swift.String) throws -> (any PixelPaySDK.ServerTrustEvaluating)?
442
446
  @objc deinit
443
447
  }
444
448
  public protocol ServerTrustEvaluating {
@@ -478,7 +482,7 @@ final public class PublicKeysTrustEvaluator : PixelPaySDK.ServerTrustEvaluating
478
482
  @objc deinit
479
483
  }
480
484
  final public class CompositeTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
481
- public init(evaluators: [PixelPaySDK.ServerTrustEvaluating])
485
+ public init(evaluators: [any PixelPaySDK.ServerTrustEvaluating])
482
486
  final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
483
487
  @objc deinit
484
488
  }
@@ -489,7 +493,7 @@ final public class DisabledTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
489
493
  final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
490
494
  @objc deinit
491
495
  }
492
- extension Swift.Array where Element == PixelPaySDK.ServerTrustEvaluating {
496
+ extension Swift.Array where Element == any PixelPaySDK.ServerTrustEvaluating {
493
497
  public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
494
498
  }
495
499
  extension Foundation.Bundle : PixelPaySDK.AlamofireExtended {
@@ -514,7 +518,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
514
518
  @available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate(afterApplying:)")
515
519
  @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
516
520
  @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
521
+ public func validate(policy: Security.SecPolicy, errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> any Swift.Error) throws
518
522
  public func apply(policy: Security.SecPolicy) throws -> Security.SecTrust
519
523
  @available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
520
524
  public func evaluate() throws
@@ -522,7 +526,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
522
526
  @available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate()")
523
527
  @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
524
528
  @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
525
- public func validate(errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> Swift.Error) throws
529
+ public func validate(errorProducer: (_ status: Darwin.OSStatus, _ result: Security.SecTrustResultType) -> any Swift.Error) throws
526
530
  public func setAnchorCertificates(_ certificates: [Security.SecCertificate]) throws
527
531
  public var publicKeys: [Security.SecKey] {
528
532
  get
@@ -581,7 +585,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
581
585
  }
582
586
  @_inheritsConvenienceInitializers public class NotFoundResponse : PixelPaySDK.Response {
583
587
  override public init()
584
- required public init(from decoder: Swift.Decoder) throws
588
+ required public init(from decoder: any Swift.Decoder) throws
585
589
  @objc deinit
586
590
  }
587
591
  public class Card {
@@ -656,15 +660,15 @@ final public class URLEncodedFormEncoder {
656
660
  final public let spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding
657
661
  final public var allowedCharacters: Foundation.CharacterSet
658
662
  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
663
+ final public func encode(_ value: any Swift.Encodable) throws -> Swift.String
664
+ final public func encode(_ value: any Swift.Encodable) throws -> Foundation.Data
661
665
  @objc deinit
662
666
  }
663
667
  extension Foundation.CharacterSet {
664
668
  public static let afURLQueryAllowed: Foundation.CharacterSet
665
669
  }
666
670
  extension PixelPaySDK.Request {
667
- public typealias ValidationResult = Swift.Result<Swift.Void, Swift.Error>
671
+ public typealias ValidationResult = Swift.Result<Swift.Void, any Swift.Error>
668
672
  }
669
673
  extension PixelPaySDK.DataRequest {
670
674
  public typealias Validation = (Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?) -> PixelPaySDK.DataRequest.ValidationResult
@@ -697,6 +701,7 @@ public class Locations {
697
701
  public init() throws
698
702
  public static func countriesList() -> [Swift.String : Swift.String]
699
703
  public static func statesList(country_code: Swift.String) -> [Swift.String : Swift.String]
704
+ public static func formatsList(country_code: Swift.String) -> [Swift.String : Swift.String]
700
705
  @objc deinit
701
706
  }
702
707
  public struct HTTPHeaders {
@@ -807,7 +812,7 @@ extension Foundation.URLSessionConfiguration {
807
812
  }
808
813
  @_inheritsConvenienceInitializers public class NetworkFailureResponse : PixelPaySDK.Response {
809
814
  override public init()
810
- required public init(from decoder: Swift.Decoder) throws
815
+ required public init(from decoder: any Swift.Decoder) throws
811
816
  @objc deinit
812
817
  }
813
818
  @_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
@@ -846,38 +851,38 @@ open class Session {
846
851
  final public let startRequestsImmediately: Swift.Bool
847
852
  final public let requestQueue: Dispatch.DispatchQueue
848
853
  final public let serializationQueue: Dispatch.DispatchQueue
849
- final public let interceptor: PixelPaySDK.RequestInterceptor?
854
+ final public let interceptor: (any PixelPaySDK.RequestInterceptor)?
850
855
  final public let serverTrustManager: PixelPaySDK.ServerTrustManager?
851
- final public let redirectHandler: PixelPaySDK.RedirectHandler?
852
- final public let cachedResponseHandler: PixelPaySDK.CachedResponseHandler?
856
+ final public let redirectHandler: (any PixelPaySDK.RedirectHandler)?
857
+ final public let cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)?
853
858
  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] = [])
859
+ final public let defaultEventMonitors: [any PixelPaySDK.EventMonitor]
860
+ 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] = [])
861
+ 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
862
  @objc deinit
858
863
  public func withAllRequests(perform action: @escaping (Swift.Set<PixelPaySDK.Request>) -> Swift.Void)
859
864
  public func cancelAllRequests(completingOnQueue queue: Dispatch.DispatchQueue = .main, completion: (() -> Swift.Void)? = nil)
860
865
  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
866
+ 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
867
+ 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
868
+ open func request(_ convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil) -> PixelPaySDK.DataRequest
869
+ 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
870
+ 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
871
+ open func streamRequest(_ convertible: any PixelPaySDK.URLRequestConvertible, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil) -> PixelPaySDK.DataStreamRequest
872
+ 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
873
+ 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
874
+ open func download(_ convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
875
+ open func download(resumingWith data: Foundation.Data, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
876
+ 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
877
+ open func upload(_ data: Foundation.Data, with convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
878
+ 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
879
+ open func upload(_ fileURL: Foundation.URL, with convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
880
+ 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
881
+ open func upload(_ stream: Foundation.InputStream, with convertible: any PixelPaySDK.URLRequestConvertible, interceptor: (any PixelPaySDK.RequestInterceptor)? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
882
+ 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
883
+ 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
884
+ 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
885
+ 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
886
  }
882
887
  extension PixelPaySDK.Session : PixelPaySDK.RequestDelegate {
883
888
  public var sessionConfiguration: Foundation.URLSessionConfiguration {
@@ -895,16 +900,16 @@ public enum AFError : Swift.Error {
895
900
  case bodyPartURLInvalid(url: Foundation.URL)
896
901
  case bodyPartFilenameInvalid(in: Foundation.URL)
897
902
  case bodyPartFileNotReachable(at: Foundation.URL)
898
- case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: Swift.Error)
903
+ case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: any Swift.Error)
899
904
  case bodyPartFileIsDirectory(at: Foundation.URL)
900
905
  case bodyPartFileSizeNotAvailable(at: Foundation.URL)
901
- case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: Swift.Error)
906
+ case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: any Swift.Error)
902
907
  case bodyPartInputStreamCreationFailed(for: Foundation.URL)
903
908
  case outputStreamCreationFailed(for: Foundation.URL)
904
909
  case outputStreamFileAlreadyExists(at: Foundation.URL)
905
910
  case outputStreamURLInvalid(url: Foundation.URL)
906
- case outputStreamWriteFailed(error: Swift.Error)
907
- case inputStreamReadFailed(error: Swift.Error)
911
+ case outputStreamWriteFailed(error: any Swift.Error)
912
+ case inputStreamReadFailed(error: any Swift.Error)
908
913
  }
909
914
  public struct UnexpectedInputStreamLength : Swift.Error {
910
915
  public var bytesExpected: Swift.UInt64
@@ -912,8 +917,8 @@ public enum AFError : Swift.Error {
912
917
  }
913
918
  public enum ParameterEncodingFailureReason {
914
919
  case missingURL
915
- case jsonEncodingFailed(error: Swift.Error)
916
- case customEncodingFailed(error: Swift.Error)
920
+ case jsonEncodingFailed(error: any Swift.Error)
921
+ case customEncodingFailed(error: any Swift.Error)
917
922
  }
918
923
  public enum ParameterEncoderFailureReason {
919
924
  public enum RequiredComponent {
@@ -921,7 +926,7 @@ public enum AFError : Swift.Error {
921
926
  case httpMethod(rawValue: Swift.String)
922
927
  }
923
928
  case missingRequiredComponent(PixelPaySDK.AFError.ParameterEncoderFailureReason.RequiredComponent)
924
- case encoderFailed(error: Swift.Error)
929
+ case encoderFailed(error: any Swift.Error)
925
930
  }
926
931
  public enum ResponseValidationFailureReason {
927
932
  case dataFileNil
@@ -929,16 +934,16 @@ public enum AFError : Swift.Error {
929
934
  case missingContentType(acceptableContentTypes: [Swift.String])
930
935
  case unacceptableContentType(acceptableContentTypes: [Swift.String], responseContentType: Swift.String)
931
936
  case unacceptableStatusCode(code: Swift.Int)
932
- case customValidationFailed(error: Swift.Error)
937
+ case customValidationFailed(error: any Swift.Error)
933
938
  }
934
939
  public enum ResponseSerializationFailureReason {
935
940
  case inputDataNilOrZeroLength
936
941
  case inputFileNil
937
942
  case inputFileReadFailed(at: Foundation.URL)
938
943
  case stringSerializationFailed(encoding: Swift.String.Encoding)
939
- case jsonSerializationFailed(error: Swift.Error)
940
- case decodingFailed(error: Swift.Error)
941
- case customSerializationFailed(error: Swift.Error)
944
+ case jsonSerializationFailed(error: any Swift.Error)
945
+ case decodingFailed(error: any Swift.Error)
946
+ case customSerializationFailed(error: any Swift.Error)
942
947
  case invalidEmptyResponse(type: Swift.String)
943
948
  }
944
949
  public enum ServerTrustFailureReason {
@@ -954,33 +959,33 @@ public enum AFError : Swift.Error {
954
959
  case policyApplicationFailed(trust: Security.SecTrust, policy: Security.SecPolicy, status: Darwin.OSStatus)
955
960
  case settingAnchorCertificatesFailed(status: Darwin.OSStatus, certificates: [Security.SecCertificate])
956
961
  case revocationPolicyCreationFailed
957
- case trustEvaluationFailed(error: Swift.Error?)
962
+ case trustEvaluationFailed(error: (any Swift.Error)?)
958
963
  case defaultEvaluationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
959
964
  case hostValidationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
960
965
  case revocationCheckFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output, options: PixelPaySDK.RevocationTrustEvaluator.Options)
961
966
  case certificatePinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedCertificates: [Security.SecCertificate], serverCertificates: [Security.SecCertificate])
962
967
  case publicKeyPinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedKeys: [Security.SecKey], serverKeys: [Security.SecKey])
963
- case customEvaluationFailed(error: Swift.Error)
968
+ case customEvaluationFailed(error: any Swift.Error)
964
969
  }
965
970
  public enum URLRequestValidationFailureReason {
966
971
  case bodyDataInGETRequest(Foundation.Data)
967
972
  }
968
- case createUploadableFailed(error: Swift.Error)
969
- case createURLRequestFailed(error: Swift.Error)
970
- case downloadedFileMoveFailed(error: Swift.Error, source: Foundation.URL, destination: Foundation.URL)
973
+ case createUploadableFailed(error: any Swift.Error)
974
+ case createURLRequestFailed(error: any Swift.Error)
975
+ case downloadedFileMoveFailed(error: any Swift.Error, source: Foundation.URL, destination: Foundation.URL)
971
976
  case explicitlyCancelled
972
- case invalidURL(url: PixelPaySDK.URLConvertible)
977
+ case invalidURL(url: any PixelPaySDK.URLConvertible)
973
978
  case multipartEncodingFailed(reason: PixelPaySDK.AFError.MultipartEncodingFailureReason)
974
979
  case parameterEncodingFailed(reason: PixelPaySDK.AFError.ParameterEncodingFailureReason)
975
980
  case parameterEncoderFailed(reason: PixelPaySDK.AFError.ParameterEncoderFailureReason)
976
- case requestAdaptationFailed(error: Swift.Error)
977
- case requestRetryFailed(retryError: Swift.Error, originalError: Swift.Error)
981
+ case requestAdaptationFailed(error: any Swift.Error)
982
+ case requestRetryFailed(retryError: any Swift.Error, originalError: any Swift.Error)
978
983
  case responseValidationFailed(reason: PixelPaySDK.AFError.ResponseValidationFailureReason)
979
984
  case responseSerializationFailed(reason: PixelPaySDK.AFError.ResponseSerializationFailureReason)
980
985
  case serverTrustEvaluationFailed(reason: PixelPaySDK.AFError.ServerTrustFailureReason)
981
986
  case sessionDeinitialized
982
- case sessionInvalidated(error: Swift.Error?)
983
- case sessionTaskFailed(error: Swift.Error)
987
+ case sessionInvalidated(error: (any Swift.Error)?)
988
+ case sessionTaskFailed(error: any Swift.Error)
984
989
  case urlRequestValidationFailed(reason: PixelPaySDK.AFError.URLRequestValidationFailureReason)
985
990
  }
986
991
  extension Swift.Error {
@@ -1040,13 +1045,13 @@ extension PixelPaySDK.AFError {
1040
1045
  }
1041
1046
  }
1042
1047
  extension PixelPaySDK.AFError {
1043
- public var urlConvertible: PixelPaySDK.URLConvertible? {
1048
+ public var urlConvertible: (any PixelPaySDK.URLConvertible)? {
1044
1049
  get
1045
1050
  }
1046
1051
  public var url: Foundation.URL? {
1047
1052
  get
1048
1053
  }
1049
- public var underlyingError: Swift.Error? {
1054
+ public var underlyingError: (any Swift.Error)? {
1050
1055
  get
1051
1056
  }
1052
1057
  public var acceptableContentTypes: [Swift.String]? {
@@ -1083,6 +1088,8 @@ public class Settings : Swift.Codable {
1083
1088
  public var endpoint: Swift.String?
1084
1089
  public var environment: Swift.String?
1085
1090
  public var lang: Swift.String?
1091
+ public var sdk: Swift.String?
1092
+ public var sdk_version: Swift.String?
1086
1093
  public init()
1087
1094
  public func setupEndpoint(endpoint: Swift.String)
1088
1095
  public func setupCredentials(key: Swift.String, hash: Swift.String)
@@ -1091,23 +1098,23 @@ public class Settings : Swift.Codable {
1091
1098
  public func setupSandbox()
1092
1099
  public func setupLanguage(lang: Swift.String)
1093
1100
  @objc deinit
1094
- public func encode(to encoder: Swift.Encoder) throws
1095
- required public init(from decoder: Swift.Decoder) throws
1101
+ public func encode(to encoder: any Swift.Encoder) throws
1102
+ required public init(from decoder: any Swift.Decoder) throws
1096
1103
  }
1097
1104
  @_inheritsConvenienceInitializers public class NoAccessResponse : PixelPaySDK.Response {
1098
1105
  override public init()
1099
- required public init(from decoder: Swift.Decoder) throws
1106
+ required public init(from decoder: any Swift.Decoder) throws
1100
1107
  @objc deinit
1101
1108
  }
1102
1109
  public protocol EventMonitor {
1103
1110
  var queue: Dispatch.DispatchQueue { get }
1104
- func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1111
+ func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1105
1112
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1106
1113
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1107
1114
  func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1108
1115
  func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1109
1116
  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?)
1117
+ func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1111
1118
  @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
1112
1119
  func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1113
1120
  func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
@@ -1150,13 +1157,13 @@ extension PixelPaySDK.EventMonitor {
1150
1157
  public var queue: Dispatch.DispatchQueue {
1151
1158
  get
1152
1159
  }
1153
- public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1160
+ public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1154
1161
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1155
1162
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1156
1163
  public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1157
1164
  public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1158
1165
  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?)
1166
+ public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1160
1167
  public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1161
1168
  public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1162
1169
  public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
@@ -1196,13 +1203,13 @@ extension PixelPaySDK.EventMonitor {
1196
1203
  }
1197
1204
  @_hasMissingDesignatedInitializers final public class CompositeEventMonitor : PixelPaySDK.EventMonitor {
1198
1205
  final public let queue: Dispatch.DispatchQueue
1199
- final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1206
+ final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1200
1207
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1201
1208
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1202
1209
  final public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1203
1210
  final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1204
1211
  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?)
1212
+ final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1206
1213
  @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
1207
1214
  final public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1208
1215
  final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
@@ -1243,13 +1250,13 @@ extension PixelPaySDK.EventMonitor {
1243
1250
  @objc deinit
1244
1251
  }
1245
1252
  open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
1246
- open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, Swift.Error?) -> Swift.Void)?
1253
+ open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, (any Swift.Error)?) -> Swift.Void)?
1247
1254
  open var taskDidReceiveChallenge: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLAuthenticationChallenge) -> Swift.Void)?
1248
1255
  open var taskDidSendBodyData: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
1249
1256
  open var taskNeedNewBodyStream: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
1250
1257
  open var taskWillPerformHTTPRedirection: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.HTTPURLResponse, Foundation.URLRequest) -> Swift.Void)?
1251
1258
  open var taskDidFinishCollectingMetrics: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
1252
- open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Error?) -> Swift.Void)?
1259
+ open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, (any Swift.Error)?) -> Swift.Void)?
1253
1260
  open var taskIsWaitingForConnectivity: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
1254
1261
  open var dataTaskDidReceiveData: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.Data) -> Swift.Void)?
1255
1262
  open var dataTaskWillCacheResponse: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Swift.Void)?
@@ -1285,13 +1292,13 @@ open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
1285
1292
  open var requestDidParseDownloadResponse: ((PixelPaySDK.DownloadRequest, PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>) -> Swift.Void)?
1286
1293
  final public let queue: Dispatch.DispatchQueue
1287
1294
  public init(queue: Dispatch.DispatchQueue = .main)
1288
- open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
1295
+ open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
1289
1296
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
1290
1297
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
1291
1298
  open func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
1292
1299
  open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
1293
1300
  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?)
1301
+ open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
1295
1302
  open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
1296
1303
  open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
1297
1304
  open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
@@ -1433,11 +1440,11 @@ extension Swift.String : PixelPaySDK.JSONSubscriptType {
1433
1440
  }
1434
1441
  }
1435
1442
  extension PixelPaySDK.JSON {
1436
- public subscript(path: [PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
1443
+ public subscript(path: [any PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
1437
1444
  get
1438
1445
  set
1439
1446
  }
1440
- public subscript(path: PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
1447
+ public subscript(path: any PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
1441
1448
  get
1442
1449
  set
1443
1450
  }
@@ -1673,8 +1680,8 @@ public enum writingOptionsKeys {
1673
1680
  }
1674
1681
  }
1675
1682
  extension PixelPaySDK.JSON : Swift.Codable {
1676
- public init(from decoder: Swift.Decoder) throws
1677
- public func encode(to encoder: Swift.Encoder) throws
1683
+ public init(from decoder: any Swift.Decoder) throws
1684
+ public func encode(to encoder: any Swift.Encoder) throws
1678
1685
  }
1679
1686
  public protocol AuthenticationCredential {
1680
1687
  var requiresRefresh: Swift.Bool { get }
@@ -1682,8 +1689,8 @@ public protocol AuthenticationCredential {
1682
1689
  public protocol Authenticator : AnyObject {
1683
1690
  associatedtype Credential : PixelPaySDK.AuthenticationCredential
1684
1691
  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
1692
+ func refresh(_ credential: Self.Credential, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Self.Credential, any Swift.Error>) -> Swift.Void)
1693
+ func didRequest(_ urlRequest: Foundation.URLRequest, with response: Foundation.HTTPURLResponse, failDueToAuthenticationError error: any Swift.Error) -> Swift.Bool
1687
1694
  func isRequest(_ urlRequest: Foundation.URLRequest, authenticatedWith credential: Self.Credential) -> Swift.Bool
1688
1695
  }
1689
1696
  public enum AuthenticationError : Swift.Error {
@@ -1707,8 +1714,8 @@ public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestI
1707
1714
  set
1708
1715
  }
1709
1716
  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)
1717
+ public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1718
+ public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1712
1719
  @objc deinit
1713
1720
  }
1714
1721
  @_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
@@ -1776,8 +1783,14 @@ public class Billing {
1776
1783
  @objc deinit
1777
1784
  }
1778
1785
  @_inheritsConvenienceInitializers public class SaleTransaction : PixelPaySDK.PaymentTransaction {
1786
+ public var installment_type: Swift.String?
1787
+ public var installment_months: Swift.String?
1788
+ public var points_redeem_amount: Swift.String?
1779
1789
  override public init()
1780
- required public init(from: Swift.Decoder) throws
1790
+ required public init(from: any Swift.Decoder) throws
1791
+ override public func encode(to encoder: any Swift.Encoder) throws
1792
+ public func setInstallment(months: Swift.Int, installment_type: Swift.String)
1793
+ public func withPointsRedeemAmount(amount: Swift.Double)
1781
1794
  @objc deinit
1782
1795
  }
1783
1796
  @_inheritsConvenienceInitializers public class PaymentTransaction : PixelPaySDK.RequestBehaviour {
@@ -1808,8 +1821,8 @@ public class Billing {
1808
1821
  public var authentication_request: Swift.Bool
1809
1822
  public var authentication_identifier: Swift.String?
1810
1823
  override public init()
1811
- required public init(from: Swift.Decoder) throws
1812
- override public func encode(to encoder: Swift.Encoder) throws
1824
+ required public init(from: any Swift.Decoder) throws
1825
+ override public func encode(to encoder: any Swift.Encoder) throws
1813
1826
  public func setCard(card: PixelPaySDK.Card)
1814
1827
  public func setCardToken(token: Swift.String)
1815
1828
  public func setBilling(billing: PixelPaySDK.Billing)
@@ -1819,7 +1832,7 @@ public class Billing {
1819
1832
  }
1820
1833
  @_inheritsConvenienceInitializers public class PayloadResponse : PixelPaySDK.Response {
1821
1834
  override public init()
1822
- required public init(from decoder: Swift.Decoder) throws
1835
+ required public init(from decoder: any Swift.Decoder) throws
1823
1836
  @objc deinit
1824
1837
  }
1825
1838
  public protocol URLConvertible {
@@ -1846,11 +1859,11 @@ extension Foundation.URLRequest : PixelPaySDK.URLRequestConvertible {
1846
1859
  public func asURLRequest() throws -> Foundation.URLRequest
1847
1860
  }
1848
1861
  extension Foundation.URLRequest {
1849
- public init(url: PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod, headers: PixelPaySDK.HTTPHeaders? = nil) throws
1862
+ public init(url: any PixelPaySDK.URLConvertible, method: PixelPaySDK.HTTPMethod, headers: PixelPaySDK.HTTPHeaders? = nil) throws
1850
1863
  }
1851
1864
  @_inheritsConvenienceInitializers public class InputErrorResponse : PixelPaySDK.Response {
1852
1865
  override public init()
1853
- required public init(from decoder: Swift.Decoder) throws
1866
+ required public init(from decoder: any Swift.Decoder) throws
1854
1867
  @objc deinit
1855
1868
  }
1856
1869
  public enum InvalidCredentialsException : Swift.Error {
@@ -1861,47 +1874,47 @@ public enum InvalidTransactionType : Swift.Error {
1861
1874
  }
1862
1875
  @_inheritsConvenienceInitializers public class TimeoutResponse : PixelPaySDK.Response {
1863
1876
  override public init()
1864
- required public init(from decoder: Swift.Decoder) throws
1877
+ required public init(from decoder: any Swift.Decoder) throws
1865
1878
  @objc deinit
1866
1879
  }
1867
1880
  public protocol RequestAdapter {
1868
- func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
1881
+ func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1869
1882
  }
1870
1883
  public enum RetryResult {
1871
1884
  case retry
1872
1885
  case retryWithDelay(Foundation.TimeInterval)
1873
1886
  case doNotRetry
1874
- case doNotRetryWithError(Swift.Error)
1887
+ case doNotRetryWithError(any Swift.Error)
1875
1888
  }
1876
1889
  public protocol RequestRetrier {
1877
- func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1890
+ func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1878
1891
  }
1879
1892
  public protocol RequestInterceptor : PixelPaySDK.RequestAdapter, PixelPaySDK.RequestRetrier {
1880
1893
  }
1881
1894
  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)
1895
+ public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1896
+ public func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1884
1897
  }
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
1898
+ public typealias AdaptHandler = (Foundation.URLRequest, PixelPaySDK.Session, _ completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void) -> Swift.Void
1899
+ public typealias RetryHandler = (PixelPaySDK.Request, PixelPaySDK.Session, any Swift.Error, _ completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void) -> Swift.Void
1887
1900
  open class Adapter : PixelPaySDK.RequestInterceptor {
1888
1901
  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)
1902
+ open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1890
1903
  @objc deinit
1891
1904
  }
1892
1905
  open class Retrier : PixelPaySDK.RequestInterceptor {
1893
1906
  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)
1907
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1895
1908
  @objc deinit
1896
1909
  }
1897
1910
  open class Interceptor : PixelPaySDK.RequestInterceptor {
1898
- final public let adapters: [PixelPaySDK.RequestAdapter]
1899
- final public let retriers: [PixelPaySDK.RequestRetrier]
1911
+ final public let adapters: [any PixelPaySDK.RequestAdapter]
1912
+ final public let retriers: [any PixelPaySDK.RequestRetrier]
1900
1913
  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)
1914
+ public init(adapter: any PixelPaySDK.RequestAdapter, retrier: any PixelPaySDK.RequestRetrier)
1915
+ public init(adapters: [any PixelPaySDK.RequestAdapter] = [], retriers: [any PixelPaySDK.RequestRetrier] = [], interceptors: [any PixelPaySDK.RequestInterceptor] = [])
1916
+ open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, any Swift.Error>) -> Swift.Void)
1917
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
1905
1918
  @objc deinit
1906
1919
  }
1907
1920
  extension UIKit.UIView {
@@ -1937,12 +1950,12 @@ public class Item : Swift.Codable {
1937
1950
  public init()
1938
1951
  public func totalize() -> PixelPaySDK.Item
1939
1952
  @objc deinit
1940
- public func encode(to encoder: Swift.Encoder) throws
1941
- required public init(from decoder: Swift.Decoder) throws
1953
+ public func encode(to encoder: any Swift.Encoder) throws
1954
+ required public init(from decoder: any Swift.Decoder) throws
1942
1955
  }
1943
1956
  @_inheritsConvenienceInitializers public class PaymentDeclinedResponse : PixelPaySDK.Response {
1944
1957
  override public init()
1945
- required public init(from decoder: Swift.Decoder) throws
1958
+ required public init(from decoder: any Swift.Decoder) throws
1946
1959
  @objc deinit
1947
1960
  }
1948
1961
  public typealias AFDataResponse<Success> = PixelPaySDK.DataResponse<Success, PixelPaySDK.AFError>
@@ -1972,9 +1985,9 @@ extension PixelPaySDK.DataResponse : Swift.CustomStringConvertible, Swift.Custom
1972
1985
  }
1973
1986
  extension PixelPaySDK.DataResponse {
1974
1987
  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>
1988
+ public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, any Swift.Error>
1976
1989
  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
1990
+ public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DataResponse<Success, any Swift.Error> where NewFailure : Swift.Error
1978
1991
  }
1979
1992
  public struct DownloadResponse<Success, Failure> where Failure : Swift.Error {
1980
1993
  public let request: Foundation.URLRequest?
@@ -2002,9 +2015,9 @@ extension PixelPaySDK.DownloadResponse : Swift.CustomStringConvertible, Swift.Cu
2002
2015
  }
2003
2016
  extension PixelPaySDK.DownloadResponse {
2004
2017
  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>
2018
+ public func tryMap<NewSuccess>(_ transform: (Success) throws -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, any Swift.Error>
2006
2019
  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
2020
+ public func tryMapError<NewFailure>(_ transform: (Failure) throws -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, any Swift.Error> where NewFailure : Swift.Error
2008
2021
  }
2009
2022
  @_inheritsConvenienceInitializers public class CardTokenization : PixelPaySDK.RequestBehaviour {
2010
2023
  public var number: Swift.String?
@@ -2020,15 +2033,15 @@ extension PixelPaySDK.DownloadResponse {
2020
2033
  public var phone: Swift.String?
2021
2034
  public var email: Swift.String?
2022
2035
  override public init()
2023
- required public init(from: Swift.Decoder) throws
2024
- override public func encode(to encoder: Swift.Encoder) throws
2036
+ required public init(from: any Swift.Decoder) throws
2037
+ override public func encode(to encoder: any Swift.Encoder) throws
2025
2038
  public func setCard(card: PixelPaySDK.Card)
2026
2039
  public func setBilling(billing: PixelPaySDK.Billing)
2027
2040
  @objc deinit
2028
2041
  }
2029
2042
  @_inheritsConvenienceInitializers public class ErrorResponse : PixelPaySDK.Response {
2030
2043
  override public init()
2031
- required public init(from decoder: Swift.Decoder) throws
2044
+ required public init(from decoder: any Swift.Decoder) throws
2032
2045
  @objc deinit
2033
2046
  }
2034
2047
  public class Response : Swift.Codable {
@@ -2045,19 +2058,19 @@ public class Response : Swift.Codable {
2045
2058
  public func getData(key: Swift.String) -> PixelPaySDK.JSON
2046
2059
  public static func fromJson(body: Foundation.Data, status: Swift.Int) -> PixelPaySDK.Response
2047
2060
  @objc deinit
2048
- public func encode(to encoder: Swift.Encoder) throws
2049
- required public init(from decoder: Swift.Decoder) throws
2061
+ public func encode(to encoder: any Swift.Encoder) throws
2062
+ required public init(from decoder: any Swift.Decoder) throws
2050
2063
  }
2051
2064
  public protocol DataResponseSerializerProtocol {
2052
2065
  associatedtype SerializedObject
2053
- func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: Swift.Error?) throws -> Self.SerializedObject
2066
+ func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Self.SerializedObject
2054
2067
  }
2055
2068
  public protocol DownloadResponseSerializerProtocol {
2056
2069
  associatedtype SerializedObject
2057
- func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Self.SerializedObject
2070
+ func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: (any Swift.Error)?) throws -> Self.SerializedObject
2058
2071
  }
2059
2072
  public protocol ResponseSerializer : PixelPaySDK.DataResponseSerializerProtocol, PixelPaySDK.DownloadResponseSerializerProtocol {
2060
- var dataPreprocessor: PixelPaySDK.DataPreprocessor { get }
2073
+ var dataPreprocessor: any PixelPaySDK.DataPreprocessor { get }
2061
2074
  var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> { get }
2062
2075
  var emptyResponseCodes: Swift.Set<Swift.Int> { get }
2063
2076
  }
@@ -2073,7 +2086,7 @@ public struct GoogleXSSIPreprocessor : PixelPaySDK.DataPreprocessor {
2073
2086
  public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
2074
2087
  }
2075
2088
  extension PixelPaySDK.ResponseSerializer {
2076
- public static var defaultDataPreprocessor: PixelPaySDK.DataPreprocessor {
2089
+ public static var defaultDataPreprocessor: any PixelPaySDK.DataPreprocessor {
2077
2090
  get
2078
2091
  }
2079
2092
  public static var defaultEmptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
@@ -2082,7 +2095,7 @@ extension PixelPaySDK.ResponseSerializer {
2082
2095
  public static var defaultEmptyResponseCodes: Swift.Set<Swift.Int> {
2083
2096
  get
2084
2097
  }
2085
- public var dataPreprocessor: PixelPaySDK.DataPreprocessor {
2098
+ public var dataPreprocessor: any PixelPaySDK.DataPreprocessor {
2086
2099
  get
2087
2100
  }
2088
2101
  public var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
@@ -2096,7 +2109,7 @@ extension PixelPaySDK.ResponseSerializer {
2096
2109
  public func emptyResponseAllowed(forRequest request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?) -> Swift.Bool
2097
2110
  }
2098
2111
  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
2112
+ public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: (any Swift.Error)?) throws -> Self.SerializedObject
2100
2113
  }
2101
2114
  extension PixelPaySDK.DataRequest {
2102
2115
  @discardableResult
@@ -2112,7 +2125,7 @@ extension PixelPaySDK.DownloadRequest {
2112
2125
  }
2113
2126
  public struct URLResponseSerializer : PixelPaySDK.DownloadResponseSerializerProtocol {
2114
2127
  public init()
2115
- public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: Swift.Error?) throws -> Foundation.URL
2128
+ public func serializeDownload(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, fileURL: Foundation.URL?, error: (any Swift.Error)?) throws -> Foundation.URL
2116
2129
  public typealias SerializedObject = Foundation.URL
2117
2130
  }
2118
2131
  extension PixelPaySDK.DownloadRequest {
@@ -2120,65 +2133,65 @@ extension PixelPaySDK.DownloadRequest {
2120
2133
  public func responseURL(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL>) -> Swift.Void) -> Self
2121
2134
  }
2122
2135
  final public class DataResponseSerializer : PixelPaySDK.ResponseSerializer {
2123
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2136
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2124
2137
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2125
2138
  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
2139
+ public init(dataPreprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods)
2140
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Foundation.Data
2128
2141
  public typealias SerializedObject = Foundation.Data
2129
2142
  @objc deinit
2130
2143
  }
2131
2144
  extension PixelPaySDK.DataRequest {
2132
2145
  @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
2146
+ 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
2147
  }
2135
2148
  extension PixelPaySDK.DownloadRequest {
2136
2149
  @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
2150
+ 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
2151
  }
2139
2152
  final public class StringResponseSerializer : PixelPaySDK.ResponseSerializer {
2140
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2153
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2141
2154
  final public let encoding: Swift.String.Encoding?
2142
2155
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2143
2156
  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
2157
+ 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)
2158
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Swift.String
2146
2159
  public typealias SerializedObject = Swift.String
2147
2160
  @objc deinit
2148
2161
  }
2149
2162
  extension PixelPaySDK.DataRequest {
2150
2163
  @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
2164
+ 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
2165
  }
2153
2166
  extension PixelPaySDK.DownloadRequest {
2154
2167
  @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
2168
+ 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
2169
  }
2157
2170
  final public class JSONResponseSerializer : PixelPaySDK.ResponseSerializer {
2158
- final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
2171
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2159
2172
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2160
2173
  final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
2161
2174
  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
2175
+ 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)
2176
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> Any
2164
2177
  public typealias SerializedObject = Any
2165
2178
  @objc deinit
2166
2179
  }
2167
2180
  extension PixelPaySDK.DataRequest {
2168
2181
  @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
2182
+ 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
2183
  }
2171
2184
  extension PixelPaySDK.DownloadRequest {
2172
2185
  @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
2186
+ 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
2187
  }
2175
2188
  public protocol EmptyResponse {
2176
2189
  static func emptyValue() -> Self
2177
2190
  }
2178
2191
  public struct Empty : Swift.Codable {
2179
2192
  public static let value: PixelPaySDK.Empty
2180
- public func encode(to encoder: Swift.Encoder) throws
2181
- public init(from decoder: Swift.Decoder) throws
2193
+ public func encode(to encoder: any Swift.Encoder) throws
2194
+ public init(from decoder: any Swift.Decoder) throws
2182
2195
  }
2183
2196
  extension PixelPaySDK.Empty : PixelPaySDK.EmptyResponse {
2184
2197
  public static func emptyValue() -> PixelPaySDK.Empty
@@ -2191,31 +2204,31 @@ extension Foundation.JSONDecoder : PixelPaySDK.DataDecoder {
2191
2204
  extension Foundation.PropertyListDecoder : PixelPaySDK.DataDecoder {
2192
2205
  }
2193
2206
  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
2207
+ final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2208
+ final public let decoder: any PixelPaySDK.DataDecoder
2196
2209
  final public let emptyResponseCodes: Swift.Set<Swift.Int>
2197
2210
  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
2211
+ 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)
2212
+ final public func serialize(request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?, data: Foundation.Data?, error: (any Swift.Error)?) throws -> T
2200
2213
  public typealias SerializedObject = T
2201
2214
  @objc deinit
2202
2215
  }
2203
2216
  extension PixelPaySDK.DataRequest {
2204
2217
  @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
2218
+ 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
2219
  }
2207
2220
  extension PixelPaySDK.DownloadRequest {
2208
2221
  @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
2222
+ 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
2223
  }
2211
2224
  public protocol DataStreamSerializer {
2212
2225
  associatedtype SerializedObject
2213
2226
  func serialize(_ data: Foundation.Data) throws -> Self.SerializedObject
2214
2227
  }
2215
2228
  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())
2229
+ public let decoder: any PixelPaySDK.DataDecoder
2230
+ public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
2231
+ public init(decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), dataPreprocessor: any PixelPaySDK.DataPreprocessor = PassthroughPreprocessor())
2219
2232
  public func serialize(_ data: Foundation.Data) throws -> T
2220
2233
  public typealias SerializedObject = T
2221
2234
  }
@@ -2235,7 +2248,7 @@ extension PixelPaySDK.DataStreamRequest {
2235
2248
  @discardableResult
2236
2249
  final public func responseStreamString(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Swift.String, Swift.Never>) -> Self
2237
2250
  @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
2251
+ 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
2252
  }
2240
2253
  public protocol RedirectHandler {
2241
2254
  func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
@@ -2280,7 +2293,7 @@ extension UIKit.UIView {
2280
2293
  }
2281
2294
  public typealias Parameters = [Swift.String : Any]
2282
2295
  public protocol ParameterEncoding {
2283
- func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2296
+ func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2284
2297
  }
2285
2298
  public struct URLEncoding : PixelPaySDK.ParameterEncoding {
2286
2299
  public enum Destination {
@@ -2324,7 +2337,7 @@ public struct URLEncoding : PixelPaySDK.ParameterEncoding {
2324
2337
  public let arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding
2325
2338
  public let boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding
2326
2339
  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
2340
+ public func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2328
2341
  public func queryComponents(fromKey key: Swift.String, value: Any) -> [(Swift.String, Swift.String)]
2329
2342
  public func escape(_ string: Swift.String) -> Swift.String
2330
2343
  }
@@ -2337,8 +2350,8 @@ public struct JSONEncoding : PixelPaySDK.ParameterEncoding {
2337
2350
  }
2338
2351
  public let options: Foundation.JSONSerialization.WritingOptions
2339
2352
  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
2353
+ public func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
2354
+ public func encode(_ urlRequest: any PixelPaySDK.URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> Foundation.URLRequest
2342
2355
  }
2343
2356
  public struct AlamofireExtension<ExtendedType> {
2344
2357
  public var type: ExtendedType {
@@ -2366,7 +2379,7 @@ extension PixelPaySDK.AlamofireExtended {
2366
2379
  @objc deinit
2367
2380
  }
2368
2381
  extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDelegate {
2369
- @objc dynamic open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
2382
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
2370
2383
  }
2371
2384
  extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
2372
2385
  @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 +2387,7 @@ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
2374
2387
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, needNewBodyStream completionHandler: @escaping (Foundation.InputStream?) -> Swift.Void)
2375
2388
  @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
2389
  @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?)
2390
+ @objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didCompleteWithError error: (any Swift.Error)?)
2378
2391
  @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
2379
2392
  @objc dynamic open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
2380
2393
  }
@@ -2427,8 +2440,8 @@ open class RetryPolicy : PixelPaySDK.RequestInterceptor {
2427
2440
  final public let retryableHTTPStatusCodes: Swift.Set<Swift.Int>
2428
2441
  final public let retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
2429
2442
  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
2443
+ open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: any Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
2444
+ open func shouldRetry(request: PixelPaySDK.Request, dueTo error: any Swift.Error) -> Swift.Bool
2432
2445
  @objc deinit
2433
2446
  }
2434
2447
  open class ConnectionLostRetryPolicy : PixelPaySDK.RetryPolicy {
@@ -2443,6 +2456,7 @@ extension Swift.Encodable {
2443
2456
  }
2444
2457
  extension Swift.String {
2445
2458
  public func toMD5() -> Swift.String
2459
+ public func toSHA512() -> Swift.String
2446
2460
  }
2447
2461
  public protocol ParameterEncoder {
2448
2462
  func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
@@ -2490,12 +2504,12 @@ public class RequestBehaviour : Swift.Codable {
2490
2504
  public var sdk_version: Swift.String?
2491
2505
  public init()
2492
2506
  @objc deinit
2493
- public func encode(to encoder: Swift.Encoder) throws
2494
- required public init(from decoder: Swift.Decoder) throws
2507
+ public func encode(to encoder: any Swift.Encoder) throws
2508
+ required public init(from decoder: any Swift.Decoder) throws
2495
2509
  }
2496
2510
  @_inheritsConvenienceInitializers public class FailureResponse : PixelPaySDK.Response {
2497
2511
  override public init()
2498
- required public init(from decoder: Swift.Decoder) throws
2512
+ required public init(from decoder: any Swift.Decoder) throws
2499
2513
  @objc deinit
2500
2514
  }
2501
2515
  extension Foundation.URLRequest {
@@ -2507,6 +2521,7 @@ extension Foundation.URLRequest {
2507
2521
  }
2508
2522
  @_hasMissingDesignatedInitializers public class TransactionResult : Swift.Codable {
2509
2523
  public var transaction_type: Swift.String?
2524
+ public var transaction_redeemed_points: Swift.Double?
2510
2525
  public var transaction_approved_amount: Swift.Double?
2511
2526
  public var transaction_amount: Swift.Double?
2512
2527
  public var transaction_auth: Swift.String?
@@ -2524,13 +2539,15 @@ extension Foundation.URLRequest {
2524
2539
  public var response_code: Swift.String?
2525
2540
  public var response_time: Swift.String?
2526
2541
  public var response_reason: Swift.String?
2542
+ public var installment_type: Swift.String?
2543
+ public var installment_months: Swift.String?
2527
2544
  public var payment_uuid: Swift.String?
2528
2545
  public var payment_hash: Swift.String?
2529
2546
  public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
2530
2547
  public static func fromResponse(response: PixelPaySDK.Response) -> PixelPaySDK.TransactionResult
2531
2548
  @objc deinit
2532
- public func encode(to encoder: Swift.Encoder) throws
2533
- required public init(from decoder: Swift.Decoder) throws
2549
+ public func encode(to encoder: any Swift.Encoder) throws
2550
+ required public init(from decoder: any Swift.Decoder) throws
2534
2551
  }
2535
2552
  @_hasMissingDesignatedInitializers open class NetworkReachabilityManager {
2536
2553
  public enum NetworkReachabilityStatus {