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