@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,7 +1,9 @@
|
|
|
1
1
|
// swift-interface-format-version: 1.0
|
|
2
|
-
// swift-compiler-version: Apple Swift version 5.
|
|
3
|
-
// swift-module-flags: -target
|
|
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 -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
|
|
6
|
+
import Combine
|
|
5
7
|
import CommonCrypto
|
|
6
8
|
import Dispatch
|
|
7
9
|
import Foundation
|
|
@@ -12,6 +14,7 @@ import SystemConfiguration
|
|
|
12
14
|
import UIKit
|
|
13
15
|
import WebKit
|
|
14
16
|
import _Concurrency
|
|
17
|
+
import _StringProcessing
|
|
15
18
|
public enum IllegalStateException : Swift.Error {
|
|
16
19
|
case illegalState(Swift.String)
|
|
17
20
|
}
|
|
@@ -31,9 +34,9 @@ public enum IllegalStateException : Swift.Error {
|
|
|
31
34
|
final public let id: Foundation.UUID
|
|
32
35
|
final public let underlyingQueue: Dispatch.DispatchQueue
|
|
33
36
|
final public let serializationQueue: Dispatch.DispatchQueue
|
|
34
|
-
final public let eventMonitor: PixelPaySDK.EventMonitor?
|
|
35
|
-
final public let interceptor: PixelPaySDK.RequestInterceptor?
|
|
36
|
-
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)? {
|
|
37
40
|
get
|
|
38
41
|
}
|
|
39
42
|
public var state: PixelPaySDK.Request.State {
|
|
@@ -57,10 +60,10 @@ public enum IllegalStateException : Swift.Error {
|
|
|
57
60
|
public typealias ProgressHandler = (Foundation.Progress) -> Swift.Void
|
|
58
61
|
final public let uploadProgress: Foundation.Progress
|
|
59
62
|
final public let downloadProgress: Foundation.Progress
|
|
60
|
-
public var redirectHandler: PixelPaySDK.RedirectHandler? {
|
|
63
|
+
public var redirectHandler: (any PixelPaySDK.RedirectHandler)? {
|
|
61
64
|
get
|
|
62
65
|
}
|
|
63
|
-
public var cachedResponseHandler: PixelPaySDK.CachedResponseHandler? {
|
|
66
|
+
public var cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)? {
|
|
64
67
|
get
|
|
65
68
|
}
|
|
66
69
|
public var credential: Foundation.URLCredential? {
|
|
@@ -129,9 +132,9 @@ public enum IllegalStateException : Swift.Error {
|
|
|
129
132
|
@discardableResult
|
|
130
133
|
public func uploadProgress(queue: Dispatch.DispatchQueue = .main, closure: @escaping PixelPaySDK.Request.ProgressHandler) -> Self
|
|
131
134
|
@discardableResult
|
|
132
|
-
public func redirect(using handler: PixelPaySDK.RedirectHandler) -> Self
|
|
135
|
+
public func redirect(using handler: any PixelPaySDK.RedirectHandler) -> Self
|
|
133
136
|
@discardableResult
|
|
134
|
-
public func cacheResponse(using handler: PixelPaySDK.CachedResponseHandler) -> Self
|
|
137
|
+
public func cacheResponse(using handler: any PixelPaySDK.CachedResponseHandler) -> Self
|
|
135
138
|
@discardableResult
|
|
136
139
|
public func cURLDescription(on queue: Dispatch.DispatchQueue, calling handler: @escaping (Swift.String) -> Swift.Void) -> Self
|
|
137
140
|
@discardableResult
|
|
@@ -167,7 +170,7 @@ public protocol RequestDelegate : AnyObject {
|
|
|
167
170
|
func retryRequest(_ request: PixelPaySDK.Request, withDelay timeDelay: Foundation.TimeInterval?)
|
|
168
171
|
}
|
|
169
172
|
@_hasMissingDesignatedInitializers public class DataRequest : PixelPaySDK.Request {
|
|
170
|
-
final public let convertible: PixelPaySDK.URLRequestConvertible
|
|
173
|
+
final public let convertible: any PixelPaySDK.URLRequestConvertible
|
|
171
174
|
public var data: Foundation.Data? {
|
|
172
175
|
get
|
|
173
176
|
}
|
|
@@ -195,7 +198,7 @@ public protocol RequestDelegate : AnyObject {
|
|
|
195
198
|
public struct CancellationToken {
|
|
196
199
|
public func cancel()
|
|
197
200
|
}
|
|
198
|
-
final public let convertible: PixelPaySDK.URLRequestConvertible
|
|
201
|
+
final public let convertible: any PixelPaySDK.URLRequestConvertible
|
|
199
202
|
final public let automaticallyCancelOnStreamError: Swift.Bool
|
|
200
203
|
@discardableResult
|
|
201
204
|
final public func validate(_ validation: @escaping PixelPaySDK.DataStreamRequest.Validation) -> Self
|
|
@@ -229,7 +232,7 @@ extension PixelPaySDK.DataStreamRequest.Stream {
|
|
|
229
232
|
public typealias Destination = (_ temporaryURL: Foundation.URL, _ response: Foundation.HTTPURLResponse) -> (destinationURL: Foundation.URL, options: PixelPaySDK.DownloadRequest.Options)
|
|
230
233
|
public class func suggestedDownloadDestination(for directory: Foundation.FileManager.SearchPathDirectory = .documentDirectory, in domain: Foundation.FileManager.SearchPathDomainMask = .userDomainMask, options: PixelPaySDK.DownloadRequest.Options = []) -> PixelPaySDK.DownloadRequest.Destination
|
|
231
234
|
public enum Downloadable {
|
|
232
|
-
case request(PixelPaySDK.URLRequestConvertible)
|
|
235
|
+
case request(any PixelPaySDK.URLRequestConvertible)
|
|
233
236
|
case resumeData(Foundation.Data)
|
|
234
237
|
}
|
|
235
238
|
public var resumeData: Foundation.Data? {
|
|
@@ -256,7 +259,7 @@ extension PixelPaySDK.DataStreamRequest.Stream {
|
|
|
256
259
|
case file(Foundation.URL, shouldRemove: Swift.Bool)
|
|
257
260
|
case stream(Foundation.InputStream)
|
|
258
261
|
}
|
|
259
|
-
final public let upload: PixelPaySDK.UploadableConvertible
|
|
262
|
+
final public let upload: any PixelPaySDK.UploadableConvertible
|
|
260
263
|
final public let fileManager: Foundation.FileManager
|
|
261
264
|
public var uploadable: PixelPaySDK.UploadRequest.Uploadable?
|
|
262
265
|
public func cleanup()
|
|
@@ -278,6 +281,86 @@ public class Environment {
|
|
|
278
281
|
public init() throws
|
|
279
282
|
@objc deinit
|
|
280
283
|
}
|
|
284
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
285
|
+
public struct DataResponsePublisher<Value> : Combine.Publisher {
|
|
286
|
+
public typealias Output = PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>
|
|
287
|
+
public typealias Failure = Swift.Never
|
|
288
|
+
public init<Serializer>(_ request: PixelPaySDK.DataRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.ResponseSerializer
|
|
289
|
+
public init<Serializer>(_ request: PixelPaySDK.DataRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.DataResponseSerializerProtocol
|
|
290
|
+
public func result() -> Combine.AnyPublisher<Swift.Result<Value, PixelPaySDK.AFError>, Swift.Never>
|
|
291
|
+
public func value() -> Combine.AnyPublisher<Value, PixelPaySDK.AFError>
|
|
292
|
+
public func receive<S>(subscriber: S) where S : Combine.Subscriber, S.Failure == Swift.Never, S.Input == PixelPaySDK.DataResponse<Value, PixelPaySDK.AFError>
|
|
293
|
+
}
|
|
294
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
295
|
+
extension PixelPaySDK.DataResponsePublisher where Value == Foundation.Data? {
|
|
296
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
297
|
+
public init(_ request: PixelPaySDK.DataRequest, queue: Dispatch.DispatchQueue)
|
|
298
|
+
}
|
|
299
|
+
extension PixelPaySDK.DataRequest {
|
|
300
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
301
|
+
public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<T> where Serializer : PixelPaySDK.ResponseSerializer, T == Serializer.SerializedObject
|
|
302
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
303
|
+
public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Foundation.Data>
|
|
304
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
305
|
+
public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<Swift.String>
|
|
306
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
307
|
+
public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DataResponsePublisher<T> where T : Swift.Decodable
|
|
308
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
309
|
+
public func publishUnserialized(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataResponsePublisher<Foundation.Data?>
|
|
310
|
+
}
|
|
311
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
312
|
+
public struct DataStreamPublisher<Value> : Combine.Publisher {
|
|
313
|
+
public typealias Output = PixelPaySDK.DataStreamRequest.Stream<Value, PixelPaySDK.AFError>
|
|
314
|
+
public typealias Failure = Swift.Never
|
|
315
|
+
public init<Serializer>(_ request: PixelPaySDK.DataStreamRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.DataStreamSerializer
|
|
316
|
+
public func result() -> Combine.AnyPublisher<Swift.Result<Value, PixelPaySDK.AFError>, Swift.Never>
|
|
317
|
+
public func value() -> Combine.AnyPublisher<Value, PixelPaySDK.AFError>
|
|
318
|
+
public func receive<S>(subscriber: S) where S : Combine.Subscriber, S.Failure == Swift.Never, S.Input == PixelPaySDK.DataStreamRequest.Stream<Value, PixelPaySDK.AFError>
|
|
319
|
+
}
|
|
320
|
+
extension PixelPaySDK.DataStreamRequest {
|
|
321
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
322
|
+
final public func publishStream<Serializer>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Serializer.SerializedObject> where Serializer : PixelPaySDK.DataStreamSerializer
|
|
323
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
324
|
+
final public func publishData(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Foundation.Data>
|
|
325
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
326
|
+
final public func publishString(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DataStreamPublisher<Swift.String>
|
|
327
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
328
|
+
final public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), preprocessor: any PixelPaySDK.DataPreprocessor = PassthroughPreprocessor()) -> PixelPaySDK.DataStreamPublisher<T> where T : Swift.Decodable
|
|
329
|
+
}
|
|
330
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
331
|
+
public struct DownloadResponsePublisher<Value> : Combine.Publisher {
|
|
332
|
+
public typealias Output = PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>
|
|
333
|
+
public typealias Failure = Swift.Never
|
|
334
|
+
public init<Serializer>(_ request: PixelPaySDK.DownloadRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.ResponseSerializer
|
|
335
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
336
|
+
public init<Serializer>(_ request: PixelPaySDK.DownloadRequest, queue: Dispatch.DispatchQueue, serializer: Serializer) where Value == Serializer.SerializedObject, Serializer : PixelPaySDK.DownloadResponseSerializerProtocol
|
|
337
|
+
public func result() -> Combine.AnyPublisher<Swift.Result<Value, PixelPaySDK.AFError>, Swift.Never>
|
|
338
|
+
public func value() -> Combine.AnyPublisher<Value, PixelPaySDK.AFError>
|
|
339
|
+
public func receive<S>(subscriber: S) where S : Combine.Subscriber, S.Failure == Swift.Never, S.Input == PixelPaySDK.DownloadResponse<Value, PixelPaySDK.AFError>
|
|
340
|
+
}
|
|
341
|
+
extension PixelPaySDK.DownloadRequest {
|
|
342
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
343
|
+
public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<T> where Serializer : PixelPaySDK.ResponseSerializer, T == Serializer.SerializedObject
|
|
344
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
345
|
+
public func publishResponse<Serializer, T>(using serializer: Serializer, on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<T> where Serializer : PixelPaySDK.DownloadResponseSerializerProtocol, T == Serializer.SerializedObject
|
|
346
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
347
|
+
public func publishURL(queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<Foundation.URL>
|
|
348
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
349
|
+
public func publishData(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Foundation.Data>
|
|
350
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
351
|
+
public func publishString(queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = StringResponseSerializer.defaultDataPreprocessor, encoding: Swift.String.Encoding? = nil, emptyResponseCodes: Swift.Set<Swift.Int> = StringResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = StringResponseSerializer.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<Swift.String>
|
|
352
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
353
|
+
public func publishDecodable<T>(type: T.Type = T.self, queue: Dispatch.DispatchQueue = .main, preprocessor: any PixelPaySDK.DataPreprocessor = DecodableResponseSerializer<T>.defaultDataPreprocessor, decoder: any PixelPaySDK.DataDecoder = JSONDecoder(), emptyResponseCodes: Swift.Set<Swift.Int> = DecodableResponseSerializer<T>.defaultEmptyResponseCodes, emptyResponseMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DecodableResponseSerializer<T>.defaultEmptyRequestMethods) -> PixelPaySDK.DownloadResponsePublisher<T> where T : Swift.Decodable
|
|
354
|
+
}
|
|
355
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
356
|
+
extension PixelPaySDK.DownloadResponsePublisher where Value == Foundation.URL? {
|
|
357
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
358
|
+
public init(_ request: PixelPaySDK.DownloadRequest, queue: Dispatch.DispatchQueue)
|
|
359
|
+
}
|
|
360
|
+
extension PixelPaySDK.DownloadRequest {
|
|
361
|
+
@available(macOS 10.15, iOS 13, watchOS 6, tvOS 13, *)
|
|
362
|
+
public func publishUnserialized(on queue: Dispatch.DispatchQueue = .main) -> PixelPaySDK.DownloadResponsePublisher<Foundation.URL?>
|
|
363
|
+
}
|
|
281
364
|
public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashable {
|
|
282
365
|
public static let connect: PixelPaySDK.HTTPMethod
|
|
283
366
|
public static let delete: PixelPaySDK.HTTPMethod
|
|
@@ -294,20 +377,21 @@ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashab
|
|
|
294
377
|
}
|
|
295
378
|
@_inheritsConvenienceInitializers public class AuthTransaction : PixelPaySDK.PaymentTransaction {
|
|
296
379
|
override public init()
|
|
297
|
-
required public init(from: Swift.Decoder) throws
|
|
380
|
+
required public init(from: any Swift.Decoder) throws
|
|
298
381
|
@objc deinit
|
|
299
382
|
}
|
|
300
383
|
@_inheritsConvenienceInitializers public class VoidTransaction : PixelPaySDK.RequestBehaviour {
|
|
301
384
|
public var payment_uuid: Swift.String?
|
|
302
385
|
public var void_reason: Swift.String?
|
|
386
|
+
public var void_signature: Swift.String?
|
|
303
387
|
override public init()
|
|
304
|
-
required public init(from: Swift.Decoder) throws
|
|
305
|
-
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
|
|
306
390
|
@objc deinit
|
|
307
391
|
}
|
|
308
392
|
@_inheritsConvenienceInitializers public class SuccessResponse : PixelPaySDK.Response {
|
|
309
393
|
override public init()
|
|
310
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
394
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
311
395
|
@objc deinit
|
|
312
396
|
}
|
|
313
397
|
@_hasMissingDesignatedInitializers public class CardResult : Swift.Codable {
|
|
@@ -328,34 +412,34 @@ public struct HTTPMethod : Swift.RawRepresentable, Swift.Equatable, Swift.Hashab
|
|
|
328
412
|
public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
|
|
329
413
|
public static func fromResponse(response: PixelPaySDK.SuccessResponse) -> PixelPaySDK.CardResult
|
|
330
414
|
@objc deinit
|
|
331
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
332
|
-
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
|
|
333
417
|
}
|
|
334
418
|
@_inheritsConvenienceInitializers public class StatusTransaction : PixelPaySDK.RequestBehaviour {
|
|
335
419
|
public var payment_uuid: Swift.String?
|
|
336
420
|
override public init()
|
|
337
|
-
required public init(from: Swift.Decoder) throws
|
|
338
|
-
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
|
|
339
423
|
@objc deinit
|
|
340
424
|
}
|
|
341
425
|
@_inheritsConvenienceInitializers public class PreconditionalResponse : PixelPaySDK.Response {
|
|
342
426
|
override public init()
|
|
343
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
427
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
344
428
|
@objc deinit
|
|
345
429
|
}
|
|
346
430
|
@_inheritsConvenienceInitializers public class CaptureTransaction : PixelPaySDK.RequestBehaviour {
|
|
347
431
|
public var payment_uuid: Swift.String?
|
|
348
432
|
public var transaction_approved_amount: Swift.String?
|
|
349
433
|
override public init()
|
|
350
|
-
required public init(from: Swift.Decoder) throws
|
|
351
|
-
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
|
|
352
436
|
@objc deinit
|
|
353
437
|
}
|
|
354
438
|
open class ServerTrustManager {
|
|
355
439
|
final public let allHostsMustBeEvaluated: Swift.Bool
|
|
356
|
-
final public let evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating]
|
|
357
|
-
public init(allHostsMustBeEvaluated: Swift.Bool = true, evaluators: [Swift.String : PixelPaySDK.ServerTrustEvaluating])
|
|
358
|
-
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)?
|
|
359
443
|
@objc deinit
|
|
360
444
|
}
|
|
361
445
|
public protocol ServerTrustEvaluating {
|
|
@@ -395,7 +479,7 @@ final public class PublicKeysTrustEvaluator : PixelPaySDK.ServerTrustEvaluating
|
|
|
395
479
|
@objc deinit
|
|
396
480
|
}
|
|
397
481
|
final public class CompositeTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
398
|
-
public init(evaluators: [PixelPaySDK.ServerTrustEvaluating])
|
|
482
|
+
public init(evaluators: [any PixelPaySDK.ServerTrustEvaluating])
|
|
399
483
|
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
400
484
|
@objc deinit
|
|
401
485
|
}
|
|
@@ -406,7 +490,7 @@ final public class DisabledTrustEvaluator : PixelPaySDK.ServerTrustEvaluating {
|
|
|
406
490
|
final public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
407
491
|
@objc deinit
|
|
408
492
|
}
|
|
409
|
-
extension Swift.Array where Element == PixelPaySDK.ServerTrustEvaluating {
|
|
493
|
+
extension Swift.Array where Element == any PixelPaySDK.ServerTrustEvaluating {
|
|
410
494
|
public func evaluate(_ trust: Security.SecTrust, forHost host: Swift.String) throws
|
|
411
495
|
}
|
|
412
496
|
extension Foundation.Bundle : PixelPaySDK.AlamofireExtended {
|
|
@@ -431,7 +515,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
|
|
|
431
515
|
@available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate(afterApplying:)")
|
|
432
516
|
@available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
|
|
433
517
|
@available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
|
|
434
|
-
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
|
|
435
519
|
public func apply(policy: Security.SecPolicy) throws -> Security.SecTrust
|
|
436
520
|
@available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
|
|
437
521
|
public func evaluate() throws
|
|
@@ -439,7 +523,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
|
|
|
439
523
|
@available(macOS, introduced: 10.12, deprecated: 10.14, renamed: "evaluate()")
|
|
440
524
|
@available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
|
|
441
525
|
@available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
|
|
442
|
-
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
|
|
443
527
|
public func setAnchorCertificates(_ certificates: [Security.SecCertificate]) throws
|
|
444
528
|
public var publicKeys: [Security.SecKey] {
|
|
445
529
|
get
|
|
@@ -483,7 +567,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecCerti
|
|
|
483
567
|
extension Swift.Int32 : PixelPaySDK.AlamofireExtended {
|
|
484
568
|
public typealias ExtendedType = Swift.Int32
|
|
485
569
|
}
|
|
486
|
-
extension PixelPaySDK.AlamofireExtension where ExtendedType ==
|
|
570
|
+
extension PixelPaySDK.AlamofireExtension where ExtendedType == Swift.Int32 {
|
|
487
571
|
public var isSuccess: Swift.Bool {
|
|
488
572
|
get
|
|
489
573
|
}
|
|
@@ -498,7 +582,7 @@ extension PixelPaySDK.AlamofireExtension where ExtendedType == Security.SecTrust
|
|
|
498
582
|
}
|
|
499
583
|
@_inheritsConvenienceInitializers public class NotFoundResponse : PixelPaySDK.Response {
|
|
500
584
|
override public init()
|
|
501
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
585
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
502
586
|
@objc deinit
|
|
503
587
|
}
|
|
504
588
|
public class Card {
|
|
@@ -573,15 +657,15 @@ final public class URLEncodedFormEncoder {
|
|
|
573
657
|
final public let spaceEncoding: PixelPaySDK.URLEncodedFormEncoder.SpaceEncoding
|
|
574
658
|
final public var allowedCharacters: Foundation.CharacterSet
|
|
575
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)
|
|
576
|
-
final public func encode(_ value: Swift.Encodable) throws -> Swift.String
|
|
577
|
-
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
|
|
578
662
|
@objc deinit
|
|
579
663
|
}
|
|
580
664
|
extension Foundation.CharacterSet {
|
|
581
665
|
public static let afURLQueryAllowed: Foundation.CharacterSet
|
|
582
666
|
}
|
|
583
667
|
extension PixelPaySDK.Request {
|
|
584
|
-
public typealias ValidationResult = Swift.Result<Swift.Void, Swift.Error>
|
|
668
|
+
public typealias ValidationResult = Swift.Result<Swift.Void, any Swift.Error>
|
|
585
669
|
}
|
|
586
670
|
extension PixelPaySDK.DataRequest {
|
|
587
671
|
public typealias Validation = (Foundation.URLRequest?, Foundation.HTTPURLResponse, Foundation.Data?) -> PixelPaySDK.DataRequest.ValidationResult
|
|
@@ -614,6 +698,7 @@ public class Locations {
|
|
|
614
698
|
public init() throws
|
|
615
699
|
public static func countriesList() -> [Swift.String : Swift.String]
|
|
616
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]
|
|
617
702
|
@objc deinit
|
|
618
703
|
}
|
|
619
704
|
public struct HTTPHeaders {
|
|
@@ -724,7 +809,7 @@ extension Foundation.URLSessionConfiguration {
|
|
|
724
809
|
}
|
|
725
810
|
@_inheritsConvenienceInitializers public class NetworkFailureResponse : PixelPaySDK.Response {
|
|
726
811
|
override public init()
|
|
727
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
812
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
728
813
|
@objc deinit
|
|
729
814
|
}
|
|
730
815
|
@_inheritsConvenienceInitializers public class Transaction : PixelPaySDK.ServiceBehaviour {
|
|
@@ -763,38 +848,38 @@ open class Session {
|
|
|
763
848
|
final public let startRequestsImmediately: Swift.Bool
|
|
764
849
|
final public let requestQueue: Dispatch.DispatchQueue
|
|
765
850
|
final public let serializationQueue: Dispatch.DispatchQueue
|
|
766
|
-
final public let interceptor: PixelPaySDK.RequestInterceptor?
|
|
851
|
+
final public let interceptor: (any PixelPaySDK.RequestInterceptor)?
|
|
767
852
|
final public let serverTrustManager: PixelPaySDK.ServerTrustManager?
|
|
768
|
-
final public let redirectHandler: PixelPaySDK.RedirectHandler?
|
|
769
|
-
final public let cachedResponseHandler: PixelPaySDK.CachedResponseHandler?
|
|
853
|
+
final public let redirectHandler: (any PixelPaySDK.RedirectHandler)?
|
|
854
|
+
final public let cachedResponseHandler: (any PixelPaySDK.CachedResponseHandler)?
|
|
770
855
|
final public let eventMonitor: PixelPaySDK.CompositeEventMonitor
|
|
771
|
-
final public let defaultEventMonitors: [PixelPaySDK.EventMonitor]
|
|
772
|
-
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] = [])
|
|
773
|
-
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] = [])
|
|
774
859
|
@objc deinit
|
|
775
860
|
public func withAllRequests(perform action: @escaping (Swift.Set<PixelPaySDK.Request>) -> Swift.Void)
|
|
776
861
|
public func cancelAllRequests(completingOnQueue queue: Dispatch.DispatchQueue = .main, completion: (() -> Swift.Void)? = nil)
|
|
777
862
|
public typealias RequestModifier = (inout Foundation.URLRequest) throws -> Swift.Void
|
|
778
|
-
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
|
|
779
|
-
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
|
|
780
|
-
open func request(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataRequest
|
|
781
|
-
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
|
|
782
|
-
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
|
|
783
|
-
open func streamRequest(_ convertible: PixelPaySDK.URLRequestConvertible, automaticallyCancelOnStreamError: Swift.Bool = false, interceptor: PixelPaySDK.RequestInterceptor? = nil) -> PixelPaySDK.DataStreamRequest
|
|
784
|
-
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
|
|
785
|
-
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
|
|
786
|
-
open func download(_ convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
|
|
787
|
-
open func download(resumingWith data: Foundation.Data, interceptor: PixelPaySDK.RequestInterceptor? = nil, to destination: PixelPaySDK.DownloadRequest.Destination? = nil) -> PixelPaySDK.DownloadRequest
|
|
788
|
-
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
|
|
789
|
-
open func upload(_ data: Foundation.Data, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
790
|
-
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
|
|
791
|
-
open func upload(_ fileURL: Foundation.URL, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
792
|
-
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
|
|
793
|
-
open func upload(_ stream: Foundation.InputStream, with convertible: PixelPaySDK.URLRequestConvertible, interceptor: PixelPaySDK.RequestInterceptor? = nil, fileManager: Foundation.FileManager = .default) -> PixelPaySDK.UploadRequest
|
|
794
|
-
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
|
|
795
|
-
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
|
|
796
|
-
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
|
|
797
|
-
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
|
|
798
883
|
}
|
|
799
884
|
extension PixelPaySDK.Session : PixelPaySDK.RequestDelegate {
|
|
800
885
|
public var sessionConfiguration: Foundation.URLSessionConfiguration {
|
|
@@ -812,16 +897,16 @@ public enum AFError : Swift.Error {
|
|
|
812
897
|
case bodyPartURLInvalid(url: Foundation.URL)
|
|
813
898
|
case bodyPartFilenameInvalid(in: Foundation.URL)
|
|
814
899
|
case bodyPartFileNotReachable(at: Foundation.URL)
|
|
815
|
-
case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: Swift.Error)
|
|
900
|
+
case bodyPartFileNotReachableWithError(atURL: Foundation.URL, error: any Swift.Error)
|
|
816
901
|
case bodyPartFileIsDirectory(at: Foundation.URL)
|
|
817
902
|
case bodyPartFileSizeNotAvailable(at: Foundation.URL)
|
|
818
|
-
case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: Swift.Error)
|
|
903
|
+
case bodyPartFileSizeQueryFailedWithError(forURL: Foundation.URL, error: any Swift.Error)
|
|
819
904
|
case bodyPartInputStreamCreationFailed(for: Foundation.URL)
|
|
820
905
|
case outputStreamCreationFailed(for: Foundation.URL)
|
|
821
906
|
case outputStreamFileAlreadyExists(at: Foundation.URL)
|
|
822
907
|
case outputStreamURLInvalid(url: Foundation.URL)
|
|
823
|
-
case outputStreamWriteFailed(error: Swift.Error)
|
|
824
|
-
case inputStreamReadFailed(error: Swift.Error)
|
|
908
|
+
case outputStreamWriteFailed(error: any Swift.Error)
|
|
909
|
+
case inputStreamReadFailed(error: any Swift.Error)
|
|
825
910
|
}
|
|
826
911
|
public struct UnexpectedInputStreamLength : Swift.Error {
|
|
827
912
|
public var bytesExpected: Swift.UInt64
|
|
@@ -829,8 +914,8 @@ public enum AFError : Swift.Error {
|
|
|
829
914
|
}
|
|
830
915
|
public enum ParameterEncodingFailureReason {
|
|
831
916
|
case missingURL
|
|
832
|
-
case jsonEncodingFailed(error: Swift.Error)
|
|
833
|
-
case customEncodingFailed(error: Swift.Error)
|
|
917
|
+
case jsonEncodingFailed(error: any Swift.Error)
|
|
918
|
+
case customEncodingFailed(error: any Swift.Error)
|
|
834
919
|
}
|
|
835
920
|
public enum ParameterEncoderFailureReason {
|
|
836
921
|
public enum RequiredComponent {
|
|
@@ -838,7 +923,7 @@ public enum AFError : Swift.Error {
|
|
|
838
923
|
case httpMethod(rawValue: Swift.String)
|
|
839
924
|
}
|
|
840
925
|
case missingRequiredComponent(PixelPaySDK.AFError.ParameterEncoderFailureReason.RequiredComponent)
|
|
841
|
-
case encoderFailed(error: Swift.Error)
|
|
926
|
+
case encoderFailed(error: any Swift.Error)
|
|
842
927
|
}
|
|
843
928
|
public enum ResponseValidationFailureReason {
|
|
844
929
|
case dataFileNil
|
|
@@ -846,16 +931,16 @@ public enum AFError : Swift.Error {
|
|
|
846
931
|
case missingContentType(acceptableContentTypes: [Swift.String])
|
|
847
932
|
case unacceptableContentType(acceptableContentTypes: [Swift.String], responseContentType: Swift.String)
|
|
848
933
|
case unacceptableStatusCode(code: Swift.Int)
|
|
849
|
-
case customValidationFailed(error: Swift.Error)
|
|
934
|
+
case customValidationFailed(error: any Swift.Error)
|
|
850
935
|
}
|
|
851
936
|
public enum ResponseSerializationFailureReason {
|
|
852
937
|
case inputDataNilOrZeroLength
|
|
853
938
|
case inputFileNil
|
|
854
939
|
case inputFileReadFailed(at: Foundation.URL)
|
|
855
940
|
case stringSerializationFailed(encoding: Swift.String.Encoding)
|
|
856
|
-
case jsonSerializationFailed(error: Swift.Error)
|
|
857
|
-
case decodingFailed(error: Swift.Error)
|
|
858
|
-
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)
|
|
859
944
|
case invalidEmptyResponse(type: Swift.String)
|
|
860
945
|
}
|
|
861
946
|
public enum ServerTrustFailureReason {
|
|
@@ -871,33 +956,33 @@ public enum AFError : Swift.Error {
|
|
|
871
956
|
case policyApplicationFailed(trust: Security.SecTrust, policy: Security.SecPolicy, status: Darwin.OSStatus)
|
|
872
957
|
case settingAnchorCertificatesFailed(status: Darwin.OSStatus, certificates: [Security.SecCertificate])
|
|
873
958
|
case revocationPolicyCreationFailed
|
|
874
|
-
case trustEvaluationFailed(error: Swift.Error?)
|
|
959
|
+
case trustEvaluationFailed(error: (any Swift.Error)?)
|
|
875
960
|
case defaultEvaluationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
|
|
876
961
|
case hostValidationFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output)
|
|
877
962
|
case revocationCheckFailed(output: PixelPaySDK.AFError.ServerTrustFailureReason.Output, options: PixelPaySDK.RevocationTrustEvaluator.Options)
|
|
878
963
|
case certificatePinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedCertificates: [Security.SecCertificate], serverCertificates: [Security.SecCertificate])
|
|
879
964
|
case publicKeyPinningFailed(host: Swift.String, trust: Security.SecTrust, pinnedKeys: [Security.SecKey], serverKeys: [Security.SecKey])
|
|
880
|
-
case customEvaluationFailed(error: Swift.Error)
|
|
965
|
+
case customEvaluationFailed(error: any Swift.Error)
|
|
881
966
|
}
|
|
882
967
|
public enum URLRequestValidationFailureReason {
|
|
883
968
|
case bodyDataInGETRequest(Foundation.Data)
|
|
884
969
|
}
|
|
885
|
-
case createUploadableFailed(error: Swift.Error)
|
|
886
|
-
case createURLRequestFailed(error: Swift.Error)
|
|
887
|
-
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)
|
|
888
973
|
case explicitlyCancelled
|
|
889
|
-
case invalidURL(url: PixelPaySDK.URLConvertible)
|
|
974
|
+
case invalidURL(url: any PixelPaySDK.URLConvertible)
|
|
890
975
|
case multipartEncodingFailed(reason: PixelPaySDK.AFError.MultipartEncodingFailureReason)
|
|
891
976
|
case parameterEncodingFailed(reason: PixelPaySDK.AFError.ParameterEncodingFailureReason)
|
|
892
977
|
case parameterEncoderFailed(reason: PixelPaySDK.AFError.ParameterEncoderFailureReason)
|
|
893
|
-
case requestAdaptationFailed(error: Swift.Error)
|
|
894
|
-
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)
|
|
895
980
|
case responseValidationFailed(reason: PixelPaySDK.AFError.ResponseValidationFailureReason)
|
|
896
981
|
case responseSerializationFailed(reason: PixelPaySDK.AFError.ResponseSerializationFailureReason)
|
|
897
982
|
case serverTrustEvaluationFailed(reason: PixelPaySDK.AFError.ServerTrustFailureReason)
|
|
898
983
|
case sessionDeinitialized
|
|
899
|
-
case sessionInvalidated(error: Swift.Error?)
|
|
900
|
-
case sessionTaskFailed(error: Swift.Error)
|
|
984
|
+
case sessionInvalidated(error: (any Swift.Error)?)
|
|
985
|
+
case sessionTaskFailed(error: any Swift.Error)
|
|
901
986
|
case urlRequestValidationFailed(reason: PixelPaySDK.AFError.URLRequestValidationFailureReason)
|
|
902
987
|
}
|
|
903
988
|
extension Swift.Error {
|
|
@@ -957,13 +1042,13 @@ extension PixelPaySDK.AFError {
|
|
|
957
1042
|
}
|
|
958
1043
|
}
|
|
959
1044
|
extension PixelPaySDK.AFError {
|
|
960
|
-
public var urlConvertible: PixelPaySDK.URLConvertible? {
|
|
1045
|
+
public var urlConvertible: (any PixelPaySDK.URLConvertible)? {
|
|
961
1046
|
get
|
|
962
1047
|
}
|
|
963
1048
|
public var url: Foundation.URL? {
|
|
964
1049
|
get
|
|
965
1050
|
}
|
|
966
|
-
public var underlyingError: Swift.Error? {
|
|
1051
|
+
public var underlyingError: (any Swift.Error)? {
|
|
967
1052
|
get
|
|
968
1053
|
}
|
|
969
1054
|
public var acceptableContentTypes: [Swift.String]? {
|
|
@@ -1008,23 +1093,23 @@ public class Settings : Swift.Codable {
|
|
|
1008
1093
|
public func setupSandbox()
|
|
1009
1094
|
public func setupLanguage(lang: Swift.String)
|
|
1010
1095
|
@objc deinit
|
|
1011
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
1012
|
-
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
|
|
1013
1098
|
}
|
|
1014
1099
|
@_inheritsConvenienceInitializers public class NoAccessResponse : PixelPaySDK.Response {
|
|
1015
1100
|
override public init()
|
|
1016
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
1101
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1017
1102
|
@objc deinit
|
|
1018
1103
|
}
|
|
1019
1104
|
public protocol EventMonitor {
|
|
1020
1105
|
var queue: Dispatch.DispatchQueue { get }
|
|
1021
|
-
func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1106
|
+
func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
|
|
1022
1107
|
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1023
1108
|
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1024
1109
|
func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1025
1110
|
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1026
1111
|
func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1027
|
-
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)?)
|
|
1028
1113
|
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
1029
1114
|
func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1030
1115
|
func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
@@ -1067,13 +1152,13 @@ extension PixelPaySDK.EventMonitor {
|
|
|
1067
1152
|
public var queue: Dispatch.DispatchQueue {
|
|
1068
1153
|
get
|
|
1069
1154
|
}
|
|
1070
|
-
public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1155
|
+
public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
|
|
1071
1156
|
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1072
1157
|
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1073
1158
|
public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1074
1159
|
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1075
1160
|
public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1076
|
-
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)?)
|
|
1077
1162
|
public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1078
1163
|
public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
1079
1164
|
public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
|
|
@@ -1113,13 +1198,13 @@ extension PixelPaySDK.EventMonitor {
|
|
|
1113
1198
|
}
|
|
1114
1199
|
@_hasMissingDesignatedInitializers final public class CompositeEventMonitor : PixelPaySDK.EventMonitor {
|
|
1115
1200
|
final public let queue: Dispatch.DispatchQueue
|
|
1116
|
-
final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1201
|
+
final public func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
|
|
1117
1202
|
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1118
1203
|
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1119
1204
|
final public func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1120
1205
|
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1121
1206
|
final public func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1122
|
-
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)?)
|
|
1123
1208
|
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
1124
1209
|
final public func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1125
1210
|
final public func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
@@ -1160,13 +1245,13 @@ extension PixelPaySDK.EventMonitor {
|
|
|
1160
1245
|
@objc deinit
|
|
1161
1246
|
}
|
|
1162
1247
|
open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
|
|
1163
|
-
open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, Swift.Error?) -> Swift.Void)?
|
|
1248
|
+
open var sessionDidBecomeInvalidWithError: ((Foundation.URLSession, (any Swift.Error)?) -> Swift.Void)?
|
|
1164
1249
|
open var taskDidReceiveChallenge: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLAuthenticationChallenge) -> Swift.Void)?
|
|
1165
1250
|
open var taskDidSendBodyData: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Int64, Swift.Int64, Swift.Int64) -> Swift.Void)?
|
|
1166
1251
|
open var taskNeedNewBodyStream: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1167
1252
|
open var taskWillPerformHTTPRedirection: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.HTTPURLResponse, Foundation.URLRequest) -> Swift.Void)?
|
|
1168
1253
|
open var taskDidFinishCollectingMetrics: ((Foundation.URLSession, Foundation.URLSessionTask, Foundation.URLSessionTaskMetrics) -> Swift.Void)?
|
|
1169
|
-
open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, Swift.Error?) -> Swift.Void)?
|
|
1254
|
+
open var taskDidComplete: ((Foundation.URLSession, Foundation.URLSessionTask, (any Swift.Error)?) -> Swift.Void)?
|
|
1170
1255
|
open var taskIsWaitingForConnectivity: ((Foundation.URLSession, Foundation.URLSessionTask) -> Swift.Void)?
|
|
1171
1256
|
open var dataTaskDidReceiveData: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.Data) -> Swift.Void)?
|
|
1172
1257
|
open var dataTaskWillCacheResponse: ((Foundation.URLSession, Foundation.URLSessionDataTask, Foundation.CachedURLResponse) -> Swift.Void)?
|
|
@@ -1202,13 +1287,13 @@ open class ClosureEventMonitor : PixelPaySDK.EventMonitor {
|
|
|
1202
1287
|
open var requestDidParseDownloadResponse: ((PixelPaySDK.DownloadRequest, PixelPaySDK.DownloadResponse<Foundation.URL?, PixelPaySDK.AFError>) -> Swift.Void)?
|
|
1203
1288
|
final public let queue: Dispatch.DispatchQueue
|
|
1204
1289
|
public init(queue: Dispatch.DispatchQueue = .main)
|
|
1205
|
-
open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: Swift.Error?)
|
|
1290
|
+
open func urlSession(_ session: Foundation.URLSession, didBecomeInvalidWithError error: (any Swift.Error)?)
|
|
1206
1291
|
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didReceive challenge: Foundation.URLAuthenticationChallenge)
|
|
1207
1292
|
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didSendBodyData bytesSent: Swift.Int64, totalBytesSent: Swift.Int64, totalBytesExpectedToSend: Swift.Int64)
|
|
1208
1293
|
open func urlSession(_ session: Foundation.URLSession, taskNeedsNewBodyStream task: Foundation.URLSessionTask)
|
|
1209
1294
|
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, willPerformHTTPRedirection response: Foundation.HTTPURLResponse, newRequest request: Foundation.URLRequest)
|
|
1210
1295
|
open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
1211
|
-
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)?)
|
|
1212
1297
|
open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
1213
1298
|
open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, didReceive data: Foundation.Data)
|
|
1214
1299
|
open func urlSession(_ session: Foundation.URLSession, dataTask: Foundation.URLSessionDataTask, willCacheResponse proposedResponse: Foundation.CachedURLResponse)
|
|
@@ -1350,11 +1435,11 @@ extension Swift.String : PixelPaySDK.JSONSubscriptType {
|
|
|
1350
1435
|
}
|
|
1351
1436
|
}
|
|
1352
1437
|
extension PixelPaySDK.JSON {
|
|
1353
|
-
public subscript(path: [PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
|
|
1438
|
+
public subscript(path: [any PixelPaySDK.JSONSubscriptType]) -> PixelPaySDK.JSON {
|
|
1354
1439
|
get
|
|
1355
1440
|
set
|
|
1356
1441
|
}
|
|
1357
|
-
public subscript(path: PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
|
|
1442
|
+
public subscript(path: any PixelPaySDK.JSONSubscriptType...) -> PixelPaySDK.JSON {
|
|
1358
1443
|
get
|
|
1359
1444
|
set
|
|
1360
1445
|
}
|
|
@@ -1590,8 +1675,8 @@ public enum writingOptionsKeys {
|
|
|
1590
1675
|
}
|
|
1591
1676
|
}
|
|
1592
1677
|
extension PixelPaySDK.JSON : Swift.Codable {
|
|
1593
|
-
public init(from decoder: Swift.Decoder) throws
|
|
1594
|
-
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
|
|
1595
1680
|
}
|
|
1596
1681
|
public protocol AuthenticationCredential {
|
|
1597
1682
|
var requiresRefresh: Swift.Bool { get }
|
|
@@ -1599,8 +1684,8 @@ public protocol AuthenticationCredential {
|
|
|
1599
1684
|
public protocol Authenticator : AnyObject {
|
|
1600
1685
|
associatedtype Credential : PixelPaySDK.AuthenticationCredential
|
|
1601
1686
|
func apply(_ credential: Self.Credential, to urlRequest: inout Foundation.URLRequest)
|
|
1602
|
-
func refresh(_ credential: Self.Credential, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Self.Credential, Swift.Error>) -> Swift.Void)
|
|
1603
|
-
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
|
|
1604
1689
|
func isRequest(_ urlRequest: Foundation.URLRequest, authenticatedWith credential: Self.Credential) -> Swift.Bool
|
|
1605
1690
|
}
|
|
1606
1691
|
public enum AuthenticationError : Swift.Error {
|
|
@@ -1624,8 +1709,8 @@ public class AuthenticationInterceptor<AuthenticatorType> : PixelPaySDK.RequestI
|
|
|
1624
1709
|
set
|
|
1625
1710
|
}
|
|
1626
1711
|
public init(authenticator: AuthenticatorType, credential: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.Credential? = nil, refreshWindow: PixelPaySDK.AuthenticationInterceptor<AuthenticatorType>.RefreshWindow? = RefreshWindow())
|
|
1627
|
-
public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1628
|
-
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)
|
|
1629
1714
|
@objc deinit
|
|
1630
1715
|
}
|
|
1631
1716
|
@_inheritsConvenienceInitializers public class Tokenization : PixelPaySDK.ServiceBehaviour {
|
|
@@ -1644,7 +1729,7 @@ extension UIKit.UIView {
|
|
|
1644
1729
|
}
|
|
1645
1730
|
public enum NicoProgressBarState {
|
|
1646
1731
|
case indeterminate
|
|
1647
|
-
case determinate(percentage:
|
|
1732
|
+
case determinate(percentage: CoreFoundation.CGFloat)
|
|
1648
1733
|
public var isDeterminate: Swift.Bool {
|
|
1649
1734
|
get
|
|
1650
1735
|
}
|
|
@@ -1664,7 +1749,7 @@ public enum NicoProgressBarState {
|
|
|
1664
1749
|
@objc @IBInspectable @_Concurrency.MainActor(unsafe) open var animateDeterminateInitialization: Swift.Bool
|
|
1665
1750
|
@_Concurrency.MainActor(unsafe) open var indeterminateAnimationDuration: Swift.Double
|
|
1666
1751
|
@_Concurrency.MainActor(unsafe) open var determinateAnimationDuration: Swift.Double
|
|
1667
|
-
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame:
|
|
1752
|
+
@_Concurrency.MainActor(unsafe) @objc override dynamic public init(frame: CoreFoundation.CGRect)
|
|
1668
1753
|
@_Concurrency.MainActor(unsafe) @objc required dynamic public init?(coder aDecoder: Foundation.NSCoder)
|
|
1669
1754
|
@_Concurrency.MainActor(unsafe) @objc override dynamic open func didMoveToSuperview()
|
|
1670
1755
|
@_Concurrency.MainActor(unsafe) @objc override dynamic open func didMoveToWindow()
|
|
@@ -1693,8 +1778,14 @@ public class Billing {
|
|
|
1693
1778
|
@objc deinit
|
|
1694
1779
|
}
|
|
1695
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?
|
|
1696
1784
|
override public init()
|
|
1697
|
-
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)
|
|
1698
1789
|
@objc deinit
|
|
1699
1790
|
}
|
|
1700
1791
|
@_inheritsConvenienceInitializers public class PaymentTransaction : PixelPaySDK.RequestBehaviour {
|
|
@@ -1725,8 +1816,8 @@ public class Billing {
|
|
|
1725
1816
|
public var authentication_request: Swift.Bool
|
|
1726
1817
|
public var authentication_identifier: Swift.String?
|
|
1727
1818
|
override public init()
|
|
1728
|
-
required public init(from: Swift.Decoder) throws
|
|
1729
|
-
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
|
|
1730
1821
|
public func setCard(card: PixelPaySDK.Card)
|
|
1731
1822
|
public func setCardToken(token: Swift.String)
|
|
1732
1823
|
public func setBilling(billing: PixelPaySDK.Billing)
|
|
@@ -1736,7 +1827,7 @@ public class Billing {
|
|
|
1736
1827
|
}
|
|
1737
1828
|
@_inheritsConvenienceInitializers public class PayloadResponse : PixelPaySDK.Response {
|
|
1738
1829
|
override public init()
|
|
1739
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
1830
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1740
1831
|
@objc deinit
|
|
1741
1832
|
}
|
|
1742
1833
|
public protocol URLConvertible {
|
|
@@ -1763,11 +1854,11 @@ extension Foundation.URLRequest : PixelPaySDK.URLRequestConvertible {
|
|
|
1763
1854
|
public func asURLRequest() throws -> Foundation.URLRequest
|
|
1764
1855
|
}
|
|
1765
1856
|
extension Foundation.URLRequest {
|
|
1766
|
-
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
|
|
1767
1858
|
}
|
|
1768
1859
|
@_inheritsConvenienceInitializers public class InputErrorResponse : PixelPaySDK.Response {
|
|
1769
1860
|
override public init()
|
|
1770
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
1861
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1771
1862
|
@objc deinit
|
|
1772
1863
|
}
|
|
1773
1864
|
public enum InvalidCredentialsException : Swift.Error {
|
|
@@ -1778,47 +1869,47 @@ public enum InvalidTransactionType : Swift.Error {
|
|
|
1778
1869
|
}
|
|
1779
1870
|
@_inheritsConvenienceInitializers public class TimeoutResponse : PixelPaySDK.Response {
|
|
1780
1871
|
override public init()
|
|
1781
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
1872
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1782
1873
|
@objc deinit
|
|
1783
1874
|
}
|
|
1784
1875
|
public protocol RequestAdapter {
|
|
1785
|
-
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)
|
|
1786
1877
|
}
|
|
1787
1878
|
public enum RetryResult {
|
|
1788
1879
|
case retry
|
|
1789
1880
|
case retryWithDelay(Foundation.TimeInterval)
|
|
1790
1881
|
case doNotRetry
|
|
1791
|
-
case doNotRetryWithError(Swift.Error)
|
|
1882
|
+
case doNotRetryWithError(any Swift.Error)
|
|
1792
1883
|
}
|
|
1793
1884
|
public protocol RequestRetrier {
|
|
1794
|
-
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)
|
|
1795
1886
|
}
|
|
1796
1887
|
public protocol RequestInterceptor : PixelPaySDK.RequestAdapter, PixelPaySDK.RequestRetrier {
|
|
1797
1888
|
}
|
|
1798
1889
|
extension PixelPaySDK.RequestInterceptor {
|
|
1799
|
-
public func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1800
|
-
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)
|
|
1801
1892
|
}
|
|
1802
|
-
public typealias AdaptHandler = (Foundation.URLRequest, PixelPaySDK.Session, _ completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void) -> Swift.Void
|
|
1803
|
-
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
|
|
1804
1895
|
open class Adapter : PixelPaySDK.RequestInterceptor {
|
|
1805
1896
|
public init(_ adaptHandler: @escaping PixelPaySDK.AdaptHandler)
|
|
1806
|
-
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)
|
|
1807
1898
|
@objc deinit
|
|
1808
1899
|
}
|
|
1809
1900
|
open class Retrier : PixelPaySDK.RequestInterceptor {
|
|
1810
1901
|
public init(_ retryHandler: @escaping PixelPaySDK.RetryHandler)
|
|
1811
|
-
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)
|
|
1812
1903
|
@objc deinit
|
|
1813
1904
|
}
|
|
1814
1905
|
open class Interceptor : PixelPaySDK.RequestInterceptor {
|
|
1815
|
-
final public let adapters: [PixelPaySDK.RequestAdapter]
|
|
1816
|
-
final public let retriers: [PixelPaySDK.RequestRetrier]
|
|
1906
|
+
final public let adapters: [any PixelPaySDK.RequestAdapter]
|
|
1907
|
+
final public let retriers: [any PixelPaySDK.RequestRetrier]
|
|
1817
1908
|
public init(adaptHandler: @escaping PixelPaySDK.AdaptHandler, retryHandler: @escaping PixelPaySDK.RetryHandler)
|
|
1818
|
-
public init(adapter: PixelPaySDK.RequestAdapter, retrier: PixelPaySDK.RequestRetrier)
|
|
1819
|
-
public init(adapters: [PixelPaySDK.RequestAdapter] = [], retriers: [PixelPaySDK.RequestRetrier] = [], interceptors: [PixelPaySDK.RequestInterceptor] = [])
|
|
1820
|
-
open func adapt(_ urlRequest: Foundation.URLRequest, for session: PixelPaySDK.Session, completion: @escaping (Swift.Result<Foundation.URLRequest, Swift.Error>) -> Swift.Void)
|
|
1821
|
-
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)
|
|
1822
1913
|
@objc deinit
|
|
1823
1914
|
}
|
|
1824
1915
|
extension UIKit.UIView {
|
|
@@ -1854,12 +1945,12 @@ public class Item : Swift.Codable {
|
|
|
1854
1945
|
public init()
|
|
1855
1946
|
public func totalize() -> PixelPaySDK.Item
|
|
1856
1947
|
@objc deinit
|
|
1857
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
1858
|
-
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
|
|
1859
1950
|
}
|
|
1860
1951
|
@_inheritsConvenienceInitializers public class PaymentDeclinedResponse : PixelPaySDK.Response {
|
|
1861
1952
|
override public init()
|
|
1862
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
1953
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1863
1954
|
@objc deinit
|
|
1864
1955
|
}
|
|
1865
1956
|
public typealias AFDataResponse<Success> = PixelPaySDK.DataResponse<Success, PixelPaySDK.AFError>
|
|
@@ -1889,9 +1980,9 @@ extension PixelPaySDK.DataResponse : Swift.CustomStringConvertible, Swift.Custom
|
|
|
1889
1980
|
}
|
|
1890
1981
|
extension PixelPaySDK.DataResponse {
|
|
1891
1982
|
public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DataResponse<NewSuccess, Failure>
|
|
1892
|
-
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>
|
|
1893
1984
|
public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DataResponse<Success, NewFailure> where NewFailure : Swift.Error
|
|
1894
|
-
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
|
|
1895
1986
|
}
|
|
1896
1987
|
public struct DownloadResponse<Success, Failure> where Failure : Swift.Error {
|
|
1897
1988
|
public let request: Foundation.URLRequest?
|
|
@@ -1919,9 +2010,9 @@ extension PixelPaySDK.DownloadResponse : Swift.CustomStringConvertible, Swift.Cu
|
|
|
1919
2010
|
}
|
|
1920
2011
|
extension PixelPaySDK.DownloadResponse {
|
|
1921
2012
|
public func map<NewSuccess>(_ transform: (Success) -> NewSuccess) -> PixelPaySDK.DownloadResponse<NewSuccess, Failure>
|
|
1922
|
-
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>
|
|
1923
2014
|
public func mapError<NewFailure>(_ transform: (Failure) -> NewFailure) -> PixelPaySDK.DownloadResponse<Success, NewFailure> where NewFailure : Swift.Error
|
|
1924
|
-
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
|
|
1925
2016
|
}
|
|
1926
2017
|
@_inheritsConvenienceInitializers public class CardTokenization : PixelPaySDK.RequestBehaviour {
|
|
1927
2018
|
public var number: Swift.String?
|
|
@@ -1937,15 +2028,15 @@ extension PixelPaySDK.DownloadResponse {
|
|
|
1937
2028
|
public var phone: Swift.String?
|
|
1938
2029
|
public var email: Swift.String?
|
|
1939
2030
|
override public init()
|
|
1940
|
-
required public init(from: Swift.Decoder) throws
|
|
1941
|
-
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
|
|
1942
2033
|
public func setCard(card: PixelPaySDK.Card)
|
|
1943
2034
|
public func setBilling(billing: PixelPaySDK.Billing)
|
|
1944
2035
|
@objc deinit
|
|
1945
2036
|
}
|
|
1946
2037
|
@_inheritsConvenienceInitializers public class ErrorResponse : PixelPaySDK.Response {
|
|
1947
2038
|
override public init()
|
|
1948
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
2039
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
1949
2040
|
@objc deinit
|
|
1950
2041
|
}
|
|
1951
2042
|
public class Response : Swift.Codable {
|
|
@@ -1962,19 +2053,19 @@ public class Response : Swift.Codable {
|
|
|
1962
2053
|
public func getData(key: Swift.String) -> PixelPaySDK.JSON
|
|
1963
2054
|
public static func fromJson(body: Foundation.Data, status: Swift.Int) -> PixelPaySDK.Response
|
|
1964
2055
|
@objc deinit
|
|
1965
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
1966
|
-
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
|
|
1967
2058
|
}
|
|
1968
2059
|
public protocol DataResponseSerializerProtocol {
|
|
1969
2060
|
associatedtype SerializedObject
|
|
1970
|
-
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
|
|
1971
2062
|
}
|
|
1972
2063
|
public protocol DownloadResponseSerializerProtocol {
|
|
1973
2064
|
associatedtype SerializedObject
|
|
1974
|
-
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
|
|
1975
2066
|
}
|
|
1976
2067
|
public protocol ResponseSerializer : PixelPaySDK.DataResponseSerializerProtocol, PixelPaySDK.DownloadResponseSerializerProtocol {
|
|
1977
|
-
var dataPreprocessor: PixelPaySDK.DataPreprocessor { get }
|
|
2068
|
+
var dataPreprocessor: any PixelPaySDK.DataPreprocessor { get }
|
|
1978
2069
|
var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> { get }
|
|
1979
2070
|
var emptyResponseCodes: Swift.Set<Swift.Int> { get }
|
|
1980
2071
|
}
|
|
@@ -1990,7 +2081,7 @@ public struct GoogleXSSIPreprocessor : PixelPaySDK.DataPreprocessor {
|
|
|
1990
2081
|
public func preprocess(_ data: Foundation.Data) throws -> Foundation.Data
|
|
1991
2082
|
}
|
|
1992
2083
|
extension PixelPaySDK.ResponseSerializer {
|
|
1993
|
-
public static var defaultDataPreprocessor: PixelPaySDK.DataPreprocessor {
|
|
2084
|
+
public static var defaultDataPreprocessor: any PixelPaySDK.DataPreprocessor {
|
|
1994
2085
|
get
|
|
1995
2086
|
}
|
|
1996
2087
|
public static var defaultEmptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
|
|
@@ -1999,7 +2090,7 @@ extension PixelPaySDK.ResponseSerializer {
|
|
|
1999
2090
|
public static var defaultEmptyResponseCodes: Swift.Set<Swift.Int> {
|
|
2000
2091
|
get
|
|
2001
2092
|
}
|
|
2002
|
-
public var dataPreprocessor: PixelPaySDK.DataPreprocessor {
|
|
2093
|
+
public var dataPreprocessor: any PixelPaySDK.DataPreprocessor {
|
|
2003
2094
|
get
|
|
2004
2095
|
}
|
|
2005
2096
|
public var emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> {
|
|
@@ -2013,7 +2104,7 @@ extension PixelPaySDK.ResponseSerializer {
|
|
|
2013
2104
|
public func emptyResponseAllowed(forRequest request: Foundation.URLRequest?, response: Foundation.HTTPURLResponse?) -> Swift.Bool
|
|
2014
2105
|
}
|
|
2015
2106
|
extension PixelPaySDK.DownloadResponseSerializerProtocol where Self : PixelPaySDK.DataResponseSerializerProtocol {
|
|
2016
|
-
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
|
|
2017
2108
|
}
|
|
2018
2109
|
extension PixelPaySDK.DataRequest {
|
|
2019
2110
|
@discardableResult
|
|
@@ -2029,7 +2120,7 @@ extension PixelPaySDK.DownloadRequest {
|
|
|
2029
2120
|
}
|
|
2030
2121
|
public struct URLResponseSerializer : PixelPaySDK.DownloadResponseSerializerProtocol {
|
|
2031
2122
|
public init()
|
|
2032
|
-
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
|
|
2033
2124
|
public typealias SerializedObject = Foundation.URL
|
|
2034
2125
|
}
|
|
2035
2126
|
extension PixelPaySDK.DownloadRequest {
|
|
@@ -2037,65 +2128,65 @@ extension PixelPaySDK.DownloadRequest {
|
|
|
2037
2128
|
public func responseURL(queue: Dispatch.DispatchQueue = .main, completionHandler: @escaping (PixelPaySDK.AFDownloadResponse<Foundation.URL>) -> Swift.Void) -> Self
|
|
2038
2129
|
}
|
|
2039
2130
|
final public class DataResponseSerializer : PixelPaySDK.ResponseSerializer {
|
|
2040
|
-
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2131
|
+
final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
|
|
2041
2132
|
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2042
2133
|
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2043
|
-
public init(dataPreprocessor: PixelPaySDK.DataPreprocessor = DataResponseSerializer.defaultDataPreprocessor, emptyResponseCodes: Swift.Set<Swift.Int> = DataResponseSerializer.defaultEmptyResponseCodes, emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod> = DataResponseSerializer.defaultEmptyRequestMethods)
|
|
2044
|
-
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
|
|
2045
2136
|
public typealias SerializedObject = Foundation.Data
|
|
2046
2137
|
@objc deinit
|
|
2047
2138
|
}
|
|
2048
2139
|
extension PixelPaySDK.DataRequest {
|
|
2049
2140
|
@discardableResult
|
|
2050
|
-
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
|
|
2051
2142
|
}
|
|
2052
2143
|
extension PixelPaySDK.DownloadRequest {
|
|
2053
2144
|
@discardableResult
|
|
2054
|
-
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
|
|
2055
2146
|
}
|
|
2056
2147
|
final public class StringResponseSerializer : PixelPaySDK.ResponseSerializer {
|
|
2057
|
-
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2148
|
+
final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
|
|
2058
2149
|
final public let encoding: Swift.String.Encoding?
|
|
2059
2150
|
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2060
2151
|
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2061
|
-
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)
|
|
2062
|
-
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
|
|
2063
2154
|
public typealias SerializedObject = Swift.String
|
|
2064
2155
|
@objc deinit
|
|
2065
2156
|
}
|
|
2066
2157
|
extension PixelPaySDK.DataRequest {
|
|
2067
2158
|
@discardableResult
|
|
2068
|
-
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
|
|
2069
2160
|
}
|
|
2070
2161
|
extension PixelPaySDK.DownloadRequest {
|
|
2071
2162
|
@discardableResult
|
|
2072
|
-
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
|
|
2073
2164
|
}
|
|
2074
2165
|
final public class JSONResponseSerializer : PixelPaySDK.ResponseSerializer {
|
|
2075
|
-
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2166
|
+
final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
|
|
2076
2167
|
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2077
2168
|
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2078
2169
|
final public let options: Foundation.JSONSerialization.ReadingOptions
|
|
2079
|
-
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)
|
|
2080
|
-
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
|
|
2081
2172
|
public typealias SerializedObject = Any
|
|
2082
2173
|
@objc deinit
|
|
2083
2174
|
}
|
|
2084
2175
|
extension PixelPaySDK.DataRequest {
|
|
2085
2176
|
@discardableResult
|
|
2086
|
-
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
|
|
2087
2178
|
}
|
|
2088
2179
|
extension PixelPaySDK.DownloadRequest {
|
|
2089
2180
|
@discardableResult
|
|
2090
|
-
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
|
|
2091
2182
|
}
|
|
2092
2183
|
public protocol EmptyResponse {
|
|
2093
2184
|
static func emptyValue() -> Self
|
|
2094
2185
|
}
|
|
2095
2186
|
public struct Empty : Swift.Codable {
|
|
2096
2187
|
public static let value: PixelPaySDK.Empty
|
|
2097
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
2098
|
-
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
|
|
2099
2190
|
}
|
|
2100
2191
|
extension PixelPaySDK.Empty : PixelPaySDK.EmptyResponse {
|
|
2101
2192
|
public static func emptyValue() -> PixelPaySDK.Empty
|
|
@@ -2108,31 +2199,31 @@ extension Foundation.JSONDecoder : PixelPaySDK.DataDecoder {
|
|
|
2108
2199
|
extension Foundation.PropertyListDecoder : PixelPaySDK.DataDecoder {
|
|
2109
2200
|
}
|
|
2110
2201
|
final public class DecodableResponseSerializer<T> : PixelPaySDK.ResponseSerializer where T : Swift.Decodable {
|
|
2111
|
-
final public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2112
|
-
final public let decoder: PixelPaySDK.DataDecoder
|
|
2202
|
+
final public let dataPreprocessor: any PixelPaySDK.DataPreprocessor
|
|
2203
|
+
final public let decoder: any PixelPaySDK.DataDecoder
|
|
2113
2204
|
final public let emptyResponseCodes: Swift.Set<Swift.Int>
|
|
2114
2205
|
final public let emptyRequestMethods: Swift.Set<PixelPaySDK.HTTPMethod>
|
|
2115
|
-
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)
|
|
2116
|
-
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
|
|
2117
2208
|
public typealias SerializedObject = T
|
|
2118
2209
|
@objc deinit
|
|
2119
2210
|
}
|
|
2120
2211
|
extension PixelPaySDK.DataRequest {
|
|
2121
2212
|
@discardableResult
|
|
2122
|
-
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
|
|
2123
2214
|
}
|
|
2124
2215
|
extension PixelPaySDK.DownloadRequest {
|
|
2125
2216
|
@discardableResult
|
|
2126
|
-
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
|
|
2127
2218
|
}
|
|
2128
2219
|
public protocol DataStreamSerializer {
|
|
2129
2220
|
associatedtype SerializedObject
|
|
2130
2221
|
func serialize(_ data: Foundation.Data) throws -> Self.SerializedObject
|
|
2131
2222
|
}
|
|
2132
2223
|
public struct DecodableStreamSerializer<T> : PixelPaySDK.DataStreamSerializer where T : Swift.Decodable {
|
|
2133
|
-
public let decoder: PixelPaySDK.DataDecoder
|
|
2134
|
-
public let dataPreprocessor: PixelPaySDK.DataPreprocessor
|
|
2135
|
-
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())
|
|
2136
2227
|
public func serialize(_ data: Foundation.Data) throws -> T
|
|
2137
2228
|
public typealias SerializedObject = T
|
|
2138
2229
|
}
|
|
@@ -2152,7 +2243,7 @@ extension PixelPaySDK.DataStreamRequest {
|
|
|
2152
2243
|
@discardableResult
|
|
2153
2244
|
final public func responseStreamString(on queue: Dispatch.DispatchQueue = .main, stream: @escaping PixelPaySDK.DataStreamRequest.Handler<Swift.String, Swift.Never>) -> Self
|
|
2154
2245
|
@discardableResult
|
|
2155
|
-
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
|
|
2156
2247
|
}
|
|
2157
2248
|
public protocol RedirectHandler {
|
|
2158
2249
|
func task(_ task: Foundation.URLSessionTask, willBeRedirectedTo request: Foundation.URLRequest, for response: Foundation.HTTPURLResponse, completion: @escaping (Foundation.URLRequest?) -> Swift.Void)
|
|
@@ -2197,7 +2288,7 @@ extension UIKit.UIView {
|
|
|
2197
2288
|
}
|
|
2198
2289
|
public typealias Parameters = [Swift.String : Any]
|
|
2199
2290
|
public protocol ParameterEncoding {
|
|
2200
|
-
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
|
|
2201
2292
|
}
|
|
2202
2293
|
public struct URLEncoding : PixelPaySDK.ParameterEncoding {
|
|
2203
2294
|
public enum Destination {
|
|
@@ -2241,7 +2332,7 @@ public struct URLEncoding : PixelPaySDK.ParameterEncoding {
|
|
|
2241
2332
|
public let arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding
|
|
2242
2333
|
public let boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding
|
|
2243
2334
|
public init(destination: PixelPaySDK.URLEncoding.Destination = .methodDependent, arrayEncoding: PixelPaySDK.URLEncoding.ArrayEncoding = .brackets, boolEncoding: PixelPaySDK.URLEncoding.BoolEncoding = .numeric)
|
|
2244
|
-
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
|
|
2245
2336
|
public func queryComponents(fromKey key: Swift.String, value: Any) -> [(Swift.String, Swift.String)]
|
|
2246
2337
|
public func escape(_ string: Swift.String) -> Swift.String
|
|
2247
2338
|
}
|
|
@@ -2254,8 +2345,8 @@ public struct JSONEncoding : PixelPaySDK.ParameterEncoding {
|
|
|
2254
2345
|
}
|
|
2255
2346
|
public let options: Foundation.JSONSerialization.WritingOptions
|
|
2256
2347
|
public init(options: Foundation.JSONSerialization.WritingOptions = [])
|
|
2257
|
-
public func encode(_ urlRequest: PixelPaySDK.URLRequestConvertible, with parameters: PixelPaySDK.Parameters?) throws -> Foundation.URLRequest
|
|
2258
|
-
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
|
|
2259
2350
|
}
|
|
2260
2351
|
public struct AlamofireExtension<ExtendedType> {
|
|
2261
2352
|
public var type: ExtendedType {
|
|
@@ -2283,7 +2374,7 @@ extension PixelPaySDK.AlamofireExtended {
|
|
|
2283
2374
|
@objc deinit
|
|
2284
2375
|
}
|
|
2285
2376
|
extension PixelPaySDK.SessionDelegate : Foundation.URLSessionDelegate {
|
|
2286
|
-
@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)?)
|
|
2287
2378
|
}
|
|
2288
2379
|
extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
|
|
2289
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)
|
|
@@ -2291,7 +2382,7 @@ extension PixelPaySDK.SessionDelegate : Foundation.URLSessionTaskDelegate {
|
|
|
2291
2382
|
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, needNewBodyStream completionHandler: @escaping (Foundation.InputStream?) -> Swift.Void)
|
|
2292
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)
|
|
2293
2384
|
@objc dynamic open func urlSession(_ session: Foundation.URLSession, task: Foundation.URLSessionTask, didFinishCollecting metrics: Foundation.URLSessionTaskMetrics)
|
|
2294
|
-
@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)?)
|
|
2295
2386
|
@available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
|
|
2296
2387
|
@objc dynamic open func urlSession(_ session: Foundation.URLSession, taskIsWaitingForConnectivity task: Foundation.URLSessionTask)
|
|
2297
2388
|
}
|
|
@@ -2344,8 +2435,8 @@ open class RetryPolicy : PixelPaySDK.RequestInterceptor {
|
|
|
2344
2435
|
final public let retryableHTTPStatusCodes: Swift.Set<Swift.Int>
|
|
2345
2436
|
final public let retryableURLErrorCodes: Swift.Set<Foundation.URLError.Code>
|
|
2346
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)
|
|
2347
|
-
open func retry(_ request: PixelPaySDK.Request, for session: PixelPaySDK.Session, dueTo error: Swift.Error, completion: @escaping (PixelPaySDK.RetryResult) -> Swift.Void)
|
|
2348
|
-
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
|
|
2349
2440
|
@objc deinit
|
|
2350
2441
|
}
|
|
2351
2442
|
open class ConnectionLostRetryPolicy : PixelPaySDK.RetryPolicy {
|
|
@@ -2360,6 +2451,7 @@ extension Swift.Encodable {
|
|
|
2360
2451
|
}
|
|
2361
2452
|
extension Swift.String {
|
|
2362
2453
|
public func toMD5() -> Swift.String
|
|
2454
|
+
public func toSHA512() -> Swift.String
|
|
2363
2455
|
}
|
|
2364
2456
|
public protocol ParameterEncoder {
|
|
2365
2457
|
func encode<Parameters>(_ parameters: Parameters?, into request: Foundation.URLRequest) throws -> Foundation.URLRequest where Parameters : Swift.Encodable
|
|
@@ -2407,12 +2499,12 @@ public class RequestBehaviour : Swift.Codable {
|
|
|
2407
2499
|
public var sdk_version: Swift.String?
|
|
2408
2500
|
public init()
|
|
2409
2501
|
@objc deinit
|
|
2410
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
2411
|
-
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
|
|
2412
2504
|
}
|
|
2413
2505
|
@_inheritsConvenienceInitializers public class FailureResponse : PixelPaySDK.Response {
|
|
2414
2506
|
override public init()
|
|
2415
|
-
required public init(from decoder: Swift.Decoder) throws
|
|
2507
|
+
required public init(from decoder: any Swift.Decoder) throws
|
|
2416
2508
|
@objc deinit
|
|
2417
2509
|
}
|
|
2418
2510
|
extension Foundation.URLRequest {
|
|
@@ -2446,8 +2538,8 @@ extension Foundation.URLRequest {
|
|
|
2446
2538
|
public static func validateResponse(response: PixelPaySDK.Response) -> Swift.Bool
|
|
2447
2539
|
public static func fromResponse(response: PixelPaySDK.Response) -> PixelPaySDK.TransactionResult
|
|
2448
2540
|
@objc deinit
|
|
2449
|
-
public func encode(to encoder: Swift.Encoder) throws
|
|
2450
|
-
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
|
|
2451
2543
|
}
|
|
2452
2544
|
@_hasMissingDesignatedInitializers open class NetworkReachabilityManager {
|
|
2453
2545
|
public enum NetworkReachabilityStatus {
|