@stripe/stripe-react-native 0.44.0 → 0.45.0
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/.clang-format +90 -0
- package/.editorconfig +3 -0
- package/CHANGELOG.md +7 -1
- package/android/build.gradle +89 -18
- package/android/gradle.properties +1 -1
- package/android/src/main/java/com/reactnativestripesdk/AuBECSDebitFormViewManager.kt +15 -6
- package/android/src/main/java/com/reactnativestripesdk/CardChangeEvent.kt +56 -0
- package/android/src/main/java/com/reactnativestripesdk/CardFieldView.kt +4 -4
- package/android/src/main/java/com/reactnativestripesdk/CardFieldViewManager.kt +55 -45
- package/android/src/main/java/com/reactnativestripesdk/{CardFocusEvent.kt → CardFocusChangeEvent.kt} +2 -2
- package/android/src/main/java/com/reactnativestripesdk/CardFormCompleteEvent.kt +17 -16
- package/android/src/main/java/com/reactnativestripesdk/CardFormView.kt +5 -5
- package/android/src/main/java/com/reactnativestripesdk/CardFormViewManager.kt +39 -33
- package/android/src/main/java/com/reactnativestripesdk/CollectBankAccountLauncherFragment.kt +4 -2
- package/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementView.kt +182 -0
- package/android/src/main/java/com/reactnativestripesdk/EmbeddedPaymentElementViewManager.kt +231 -0
- package/android/src/main/java/com/reactnativestripesdk/FinancialConnectionsSheetFragment.kt +8 -5
- package/android/src/main/java/com/reactnativestripesdk/GooglePayButtonManager.kt +14 -6
- package/android/src/main/java/com/reactnativestripesdk/PaymentMethodCreateParamsFactory.kt +3 -1
- package/android/src/main/java/com/reactnativestripesdk/PaymentOptionDisplayDataMapper.kt +17 -0
- package/android/src/main/java/com/reactnativestripesdk/PaymentSheetAppearance.kt +266 -0
- package/android/src/main/java/com/reactnativestripesdk/PaymentSheetFragment.kt +8 -13
- package/android/src/main/java/com/reactnativestripesdk/StripeContainerManager.kt +11 -3
- package/android/src/main/java/com/reactnativestripesdk/StripeSdkModule.kt +106 -59
- package/android/src/main/java/com/reactnativestripesdk/StripeSdkPackage.kt +34 -4
- package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetView.kt +33 -27
- package/android/src/main/java/com/reactnativestripesdk/addresssheet/AddressSheetViewManager.kt +49 -24
- package/android/src/main/java/com/reactnativestripesdk/customersheet/CustomerSheetFragment.kt +16 -3
- package/android/src/main/java/com/reactnativestripesdk/customersheet/ReactNativeCustomerAdapter.kt +11 -29
- package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonManager.kt +36 -12
- package/android/src/main/java/com/reactnativestripesdk/pushprovisioning/AddToWalletButtonView.kt +5 -3
- package/android/src/main/java/com/reactnativestripesdk/utils/Extensions.kt +4 -0
- package/android/src/main/java/com/reactnativestripesdk/utils/Mappers.kt +21 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/AddToWalletButtonManagerDelegate.java +49 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/AddToWalletButtonManagerInterface.java +25 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/AddressSheetViewManagerDelegate.java +64 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/AddressSheetViewManagerInterface.java +30 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/ApplePayButtonManagerDelegate.java +41 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/ApplePayButtonManagerInterface.java +20 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/AuBECSDebitFormManagerDelegate.java +36 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/AuBECSDebitFormManagerInterface.java +20 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/CardFieldManagerDelegate.java +73 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/CardFieldManagerInterface.java +31 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/CardFormManagerDelegate.java +67 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/CardFormManagerInterface.java +29 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/EmbeddedPaymentElementViewManagerDelegate.java +49 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/EmbeddedPaymentElementViewManagerInterface.java +21 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/GooglePayButtonManagerDelegate.java +38 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/GooglePayButtonManagerInterface.java +19 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/StripeContainerManagerDelegate.java +32 -0
- package/android/src/oldarch/java/com/facebook/react/viewmanagers/StripeContainerManagerInterface.java +17 -0
- package/android/src/oldarch/java/com/reactnativestripesdk/NativeStripeSdkModuleSpec.java +311 -0
- package/ios/AddressSheet/AddressSheetUtils.swift +21 -19
- package/ios/AddressSheet/AddressSheetView.swift +23 -17
- package/ios/ApplePayButtonManager.m +0 -1
- package/ios/ApplePayButtonManager.swift +1 -3
- package/ios/ApplePayButtonView.swift +25 -20
- package/ios/ApplePayViewController.swift +22 -22
- package/ios/AuBECSDebitFormView.swift +14 -8
- package/ios/CardFieldManager.swift +1 -4
- package/ios/CardFieldView.swift +28 -25
- package/ios/CardFormManager.swift +1 -4
- package/ios/CardFormView.swift +25 -16
- package/ios/CustomerSheet/CustomerSheetUtils.swift +12 -16
- package/ios/CustomerSheet/ReactNativeCustomerAdapter.swift +8 -8
- package/ios/EmbeddedPaymentElementManager.m +6 -0
- package/ios/EmbeddedPaymentElementView.swift +48 -0
- package/ios/NewArch/AddToWalletButtonComponentView.h +10 -0
- package/ios/NewArch/AddToWalletButtonComponentView.mm +93 -0
- package/ios/NewArch/AddressSheetViewComponentView.h +10 -0
- package/ios/NewArch/AddressSheetViewComponentView.mm +109 -0
- package/ios/NewArch/ApplePayButtonComponentView.h +10 -0
- package/ios/NewArch/ApplePayButtonComponentView.mm +124 -0
- package/ios/NewArch/AuBECSDebitFormComponentView.h +10 -0
- package/ios/NewArch/AuBECSDebitFormComponentView.mm +95 -0
- package/ios/NewArch/CardFieldComponentView.h +10 -0
- package/ios/NewArch/CardFieldComponentView.mm +125 -0
- package/ios/NewArch/CardFormComponentView.h +10 -0
- package/ios/NewArch/CardFormComponentView.mm +108 -0
- package/ios/NewArch/StripeContainerComponentView.h +10 -0
- package/ios/NewArch/StripeContainerComponentView.mm +74 -0
- package/ios/NewArch/StripeNewArchConversions.h +20 -0
- package/ios/NewArch/StripeNewArchConversions.mm +47 -0
- package/ios/OldArch/StripeSdkEventEmitterCompat.h +27 -0
- package/ios/OldArch/StripeSdkEventEmitterCompat.m +105 -0
- package/ios/PaymentOptionDisplayData+ReactNative.swift +55 -0
- package/ios/PaymentSheetAppearance.swift +194 -1
- package/ios/PushProvisioning/AddToWalletButtonView.swift +19 -13
- package/ios/StripeContainerView.swift +5 -3
- package/ios/StripeSdk.h +21 -0
- package/ios/StripeSdk.mm +415 -0
- package/ios/StripeSdkEmitter.swift +19 -0
- package/ios/{StripeSdk+CustomerSheet.swift → StripeSdkImpl+CustomerSheet.swift} +24 -25
- package/ios/StripeSdkImpl+Embedded.swift +327 -0
- package/ios/{StripeSdk+PaymentSheet.swift → StripeSdkImpl+PaymentSheet.swift} +18 -29
- package/ios/{StripeSdk.swift → StripeSdkImpl.swift} +50 -72
- package/ios/StripeSwiftInterop.h +25 -0
- package/ios/stripe_react_native.h +2 -0
- package/lib/commonjs/components/AddToWalletButton.js +1 -1
- package/lib/commonjs/components/AddToWalletButton.js.map +1 -1
- package/lib/commonjs/components/AddressSheet.js +1 -1
- package/lib/commonjs/components/AddressSheet.js.map +1 -1
- package/lib/commonjs/components/AuBECSDebitForm.js +1 -1
- package/lib/commonjs/components/AuBECSDebitForm.js.map +1 -1
- package/lib/commonjs/components/CardField.js +1 -1
- package/lib/commonjs/components/CardField.js.map +1 -1
- package/lib/commonjs/components/CardForm.js +1 -1
- package/lib/commonjs/components/CardForm.js.map +1 -1
- package/lib/commonjs/components/CustomerSheet.js +1 -1
- package/lib/commonjs/components/CustomerSheet.js.map +1 -1
- package/lib/commonjs/components/PlatformPayButton.js +1 -1
- package/lib/commonjs/components/PlatformPayButton.js.map +1 -1
- package/lib/commonjs/components/StripeContainer.js +1 -1
- package/lib/commonjs/components/StripeContainer.js.map +1 -1
- package/lib/commonjs/components/StripeProvider.js +1 -1
- package/lib/commonjs/components/StripeProvider.js.map +1 -1
- package/lib/commonjs/events.js +2 -0
- package/lib/commonjs/events.js.map +1 -0
- package/lib/commonjs/functions.js +1 -1
- package/lib/commonjs/functions.js.map +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/specs/NativeAddToWalletButton.js +2 -0
- package/lib/commonjs/specs/NativeAddToWalletButton.js.map +1 -0
- package/lib/commonjs/specs/NativeAddressSheet.js +2 -0
- package/lib/commonjs/specs/NativeAddressSheet.js.map +1 -0
- package/lib/commonjs/specs/NativeApplePayButton.js +2 -0
- package/lib/commonjs/specs/NativeApplePayButton.js.map +1 -0
- package/lib/commonjs/specs/NativeAuBECSDebitForm.js +2 -0
- package/lib/commonjs/specs/NativeAuBECSDebitForm.js.map +1 -0
- package/lib/commonjs/specs/NativeCardField.js +2 -0
- package/lib/commonjs/specs/NativeCardField.js.map +1 -0
- package/lib/commonjs/specs/NativeCardForm.js +2 -0
- package/lib/commonjs/specs/NativeCardForm.js.map +1 -0
- package/lib/commonjs/specs/NativeEmbeddedPaymentElement.js +2 -0
- package/lib/commonjs/specs/NativeEmbeddedPaymentElement.js.map +1 -0
- package/lib/commonjs/specs/NativeGooglePayButton.js +2 -0
- package/lib/commonjs/specs/NativeGooglePayButton.js.map +1 -0
- package/lib/commonjs/specs/NativeStripeContainer.js +2 -0
- package/lib/commonjs/specs/NativeStripeContainer.js.map +1 -0
- package/lib/commonjs/specs/NativeStripeSdkModule.js +2 -0
- package/lib/commonjs/specs/NativeStripeSdkModule.js.map +1 -0
- package/lib/commonjs/specs/utils.js +2 -0
- package/lib/commonjs/specs/utils.js.map +1 -0
- package/lib/commonjs/types/EmbeddedPaymentElement.js +2 -0
- package/lib/commonjs/types/EmbeddedPaymentElement.js.map +1 -0
- package/lib/commonjs/types/PaymentSheet.js +1 -1
- package/lib/commonjs/types/PaymentSheet.js.map +1 -1
- package/lib/module/components/AddToWalletButton.js +1 -1
- package/lib/module/components/AddToWalletButton.js.map +1 -1
- package/lib/module/components/AddressSheet.js +1 -1
- package/lib/module/components/AddressSheet.js.map +1 -1
- package/lib/module/components/AuBECSDebitForm.js +1 -1
- package/lib/module/components/AuBECSDebitForm.js.map +1 -1
- package/lib/module/components/CardField.js +1 -1
- package/lib/module/components/CardField.js.map +1 -1
- package/lib/module/components/CardForm.js +1 -1
- package/lib/module/components/CardForm.js.map +1 -1
- package/lib/module/components/CustomerSheet.js +1 -1
- package/lib/module/components/CustomerSheet.js.map +1 -1
- package/lib/module/components/PlatformPayButton.js +1 -1
- package/lib/module/components/PlatformPayButton.js.map +1 -1
- package/lib/module/components/StripeContainer.js +1 -1
- package/lib/module/components/StripeContainer.js.map +1 -1
- package/lib/module/components/StripeProvider.js +1 -1
- package/lib/module/components/StripeProvider.js.map +1 -1
- package/lib/module/events.js +2 -0
- package/lib/module/events.js.map +1 -0
- package/lib/module/functions.js +1 -1
- package/lib/module/functions.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/specs/NativeAddToWalletButton.js +2 -0
- package/lib/module/specs/NativeAddToWalletButton.js.map +1 -0
- package/lib/module/specs/NativeAddressSheet.js +2 -0
- package/lib/module/specs/NativeAddressSheet.js.map +1 -0
- package/lib/module/specs/NativeApplePayButton.js +2 -0
- package/lib/module/specs/NativeApplePayButton.js.map +1 -0
- package/lib/module/specs/NativeAuBECSDebitForm.js +2 -0
- package/lib/module/specs/NativeAuBECSDebitForm.js.map +1 -0
- package/lib/module/specs/NativeCardField.js +2 -0
- package/lib/module/specs/NativeCardField.js.map +1 -0
- package/lib/module/specs/NativeCardForm.js +2 -0
- package/lib/module/specs/NativeCardForm.js.map +1 -0
- package/lib/module/specs/NativeEmbeddedPaymentElement.js +2 -0
- package/lib/module/specs/NativeEmbeddedPaymentElement.js.map +1 -0
- package/lib/module/specs/NativeGooglePayButton.js +2 -0
- package/lib/module/specs/NativeGooglePayButton.js.map +1 -0
- package/lib/module/specs/NativeStripeContainer.js +2 -0
- package/lib/module/specs/NativeStripeContainer.js.map +1 -0
- package/lib/module/specs/NativeStripeSdkModule.js +2 -0
- package/lib/module/specs/NativeStripeSdkModule.js.map +1 -0
- package/lib/module/specs/utils.js +2 -0
- package/lib/module/specs/utils.js.map +1 -0
- package/lib/module/types/EmbeddedPaymentElement.js +2 -0
- package/lib/module/types/EmbeddedPaymentElement.js.map +1 -0
- package/lib/module/types/PaymentSheet.js +1 -1
- package/lib/module/types/PaymentSheet.js.map +1 -1
- package/lib/typescript/src/components/AddToWalletButton.d.ts.map +1 -1
- package/lib/typescript/src/components/AddressSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/AuBECSDebitForm.d.ts.map +1 -1
- package/lib/typescript/src/components/CardField.d.ts +1 -1
- package/lib/typescript/src/components/CardField.d.ts.map +1 -1
- package/lib/typescript/src/components/CardForm.d.ts +1 -1
- package/lib/typescript/src/components/CardForm.d.ts.map +1 -1
- package/lib/typescript/src/components/CustomerSheet.d.ts +1 -1
- package/lib/typescript/src/components/CustomerSheet.d.ts.map +1 -1
- package/lib/typescript/src/components/StripeContainer.d.ts.map +1 -1
- package/lib/typescript/src/events.d.ts +13 -0
- package/lib/typescript/src/events.d.ts.map +1 -0
- package/lib/typescript/src/functions.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useFinancialConnectionsSheet.d.ts +4 -4
- package/lib/typescript/src/hooks/useFinancialConnectionsSheet.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useStripe.d.ts +2 -2
- package/lib/typescript/src/hooks/useStripe.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/specs/NativeAddToWalletButton.d.ts +27 -0
- package/lib/typescript/src/specs/NativeAddToWalletButton.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeAddressSheet.d.ts +34 -0
- package/lib/typescript/src/specs/NativeAddressSheet.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeApplePayButton.d.ts +28 -0
- package/lib/typescript/src/specs/NativeApplePayButton.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeAuBECSDebitForm.d.ts +19 -0
- package/lib/typescript/src/specs/NativeAuBECSDebitForm.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeCardField.d.ts +33 -0
- package/lib/typescript/src/specs/NativeCardField.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeCardForm.d.ts +31 -0
- package/lib/typescript/src/specs/NativeCardForm.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeEmbeddedPaymentElement.d.ts +22 -0
- package/lib/typescript/src/specs/NativeEmbeddedPaymentElement.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeGooglePayButton.d.ts +11 -0
- package/lib/typescript/src/specs/NativeGooglePayButton.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeStripeContainer.d.ts +8 -0
- package/lib/typescript/src/specs/NativeStripeContainer.d.ts.map +1 -0
- package/lib/typescript/src/specs/NativeStripeSdkModule.d.ts +93 -0
- package/lib/typescript/src/specs/NativeStripeSdkModule.d.ts.map +1 -0
- package/lib/typescript/src/specs/utils.d.ts +20 -0
- package/lib/typescript/src/specs/utils.d.ts.map +1 -0
- package/lib/typescript/src/types/CustomerSheet.d.ts +1 -5
- package/lib/typescript/src/types/CustomerSheet.d.ts.map +1 -1
- package/lib/typescript/src/types/EmbeddedPaymentElement.d.ts +161 -0
- package/lib/typescript/src/types/EmbeddedPaymentElement.d.ts.map +1 -0
- package/lib/typescript/src/types/PaymentSheet.d.ts +97 -4
- package/lib/typescript/src/types/PaymentSheet.d.ts.map +1 -1
- package/lib/typescript/src/types/components/CardFieldInput.d.ts +3 -2
- package/lib/typescript/src/types/components/CardFieldInput.d.ts.map +1 -1
- package/lib/typescript/src/types/components/CardFormView.d.ts +3 -1
- package/lib/typescript/src/types/components/CardFormView.d.ts.map +1 -1
- package/package.json +20 -1
- package/src/components/AddToWalletButton.tsx +2 -5
- package/src/components/AddressSheet.tsx +5 -16
- package/src/components/AuBECSDebitForm.tsx +3 -12
- package/src/components/CardField.tsx +20 -30
- package/src/components/CardForm.tsx +14 -29
- package/src/components/CustomerSheet.tsx +23 -25
- package/src/components/PlatformPayButton.tsx +6 -6
- package/src/components/StripeContainer.tsx +5 -12
- package/src/components/StripeProvider.tsx +1 -1
- package/src/events.ts +49 -0
- package/src/functions.ts +13 -24
- package/src/hooks/useFinancialConnectionsSheet.tsx +2 -2
- package/src/hooks/useStripe.tsx +2 -2
- package/src/index.tsx +3 -0
- package/src/specs/NativeAddToWalletButton.ts +40 -0
- package/src/specs/NativeAddressSheet.ts +50 -0
- package/src/specs/NativeApplePayButton.ts +40 -0
- package/src/specs/NativeAuBECSDebitForm.ts +24 -0
- package/src/specs/NativeCardField.ts +51 -0
- package/src/specs/NativeCardForm.ts +43 -0
- package/src/specs/NativeEmbeddedPaymentElement.ts +37 -0
- package/src/specs/NativeGooglePayButton.ts +20 -0
- package/src/specs/NativeStripeContainer.ts +12 -0
- package/src/specs/NativeStripeSdkModule.ts +219 -0
- package/src/specs/utils.ts +22 -0
- package/src/types/CustomerSheet.ts +1 -5
- package/src/types/EmbeddedPaymentElement.tsx +467 -0
- package/src/types/PaymentSheet.ts +114 -4
- package/src/types/components/CardFieldInput.ts +1 -2
- package/src/types/components/CardFormView.ts +1 -1
- package/stripe-react-native.podspec +27 -2
- package/android/.gradle/8.11.1/checksums/checksums.lock +0 -0
- package/android/.gradle/8.11.1/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/8.11.1/checksums/sha1-checksums.bin +0 -0
- package/android/.gradle/8.11.1/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/8.11.1/fileChanges/last-build.bin +0 -0
- package/android/.gradle/8.11.1/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/8.11.1/gc.properties +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/android/.gradle/vcs-1/gc.properties +0 -0
- package/android/src/main/java/com/reactnativestripesdk/CardChangedEvent.kt +0 -54
- package/ios/StripeSdk.m +0 -244
- package/lib/commonjs/NativeStripeSdk.js +0 -2
- package/lib/commonjs/NativeStripeSdk.js.map +0 -1
- package/lib/commonjs/components/ApplePayButtonNative.js +0 -2
- package/lib/commonjs/components/ApplePayButtonNative.js.map +0 -1
- package/lib/commonjs/components/GooglePayButtonNative.js +0 -2
- package/lib/commonjs/components/GooglePayButtonNative.js.map +0 -1
- package/lib/module/NativeStripeSdk.js +0 -2
- package/lib/module/NativeStripeSdk.js.map +0 -1
- package/lib/module/components/ApplePayButtonNative.js +0 -2
- package/lib/module/components/ApplePayButtonNative.js.map +0 -1
- package/lib/module/components/GooglePayButtonNative.js +0 -2
- package/lib/module/components/GooglePayButtonNative.js.map +0 -1
- package/lib/typescript/src/NativeStripeSdk.d.ts +0 -58
- package/lib/typescript/src/NativeStripeSdk.d.ts.map +0 -1
- package/lib/typescript/src/components/ApplePayButtonNative.d.ts +0 -4
- package/lib/typescript/src/components/ApplePayButtonNative.d.ts.map +0 -1
- package/lib/typescript/src/components/GooglePayButtonNative.d.ts +0 -4
- package/lib/typescript/src/components/GooglePayButtonNative.d.ts.map +0 -1
- package/src/NativeStripeSdk.tsx +0 -159
- package/src/components/ApplePayButtonNative.tsx +0 -5
- package/src/components/GooglePayButtonNative.tsx +0 -7
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Compatibility helper to use new arch events if available and fallback
|
|
3
|
+
* to NativeEventEmitter or DeviceEventEmitter.
|
|
4
|
+
*
|
|
5
|
+
* Can be removed once we no longer need to support the old arch and use
|
|
6
|
+
* the methods on NativeStripeSdkModule directly.
|
|
7
|
+
*/
|
|
8
|
+
import { EventSubscription } from 'react-native';
|
|
9
|
+
import NativeStripeSdkModule from './specs/NativeStripeSdkModule';
|
|
10
|
+
type Events = 'onConfirmHandlerCallback' | 'onFinancialConnectionsEvent' | 'onOrderTrackingCallback' | 'onCustomerAdapterFetchPaymentMethodsCallback' | 'onCustomerAdapterAttachPaymentMethodCallback' | 'onCustomerAdapterDetachPaymentMethodCallback' | 'onCustomerAdapterSetSelectedPaymentOptionCallback' | 'onCustomerAdapterFetchSelectedPaymentOptionCallback' | 'onCustomerAdapterSetupIntentClientSecretForCustomerAttachCallback' | 'embeddedPaymentElementFormSheetConfirmComplete' | 'embeddedPaymentElementDidUpdatePaymentOption' | 'embeddedPaymentElementDidUpdateHeight' | 'embeddedPaymentElementLoadingFailed';
|
|
11
|
+
export declare function addListener<EventT extends Events>(event: EventT, handler: Parameters<(typeof NativeStripeSdkModule)[EventT]>[0]): EventSubscription;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/events.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAEL,iBAAiB,EAGlB,MAAM,cAAc,CAAC;AACtB,OAAO,qBAAqB,MAAM,+BAA+B,CAAC;AAWlE,KAAK,MAAM,GACP,0BAA0B,GAC1B,6BAA6B,GAC7B,yBAAyB,GACzB,8CAA8C,GAC9C,8CAA8C,GAC9C,8CAA8C,GAC9C,mDAAmD,GACnD,qDAAqD,GACrD,mEAAmE,GACnE,gDAAgD,GAChD,8CAA8C,GAC9C,uCAAuC,GACvC,qCAAqC,CAAC;AAE1C,wBAAgB,WAAW,CAAC,MAAM,SAAS,MAAM,EAC/C,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,UAAU,CAAC,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,GAC7D,iBAAiB,CAKnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../src/functions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,WAAW,EACX,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,WAAW,EACX,KAAK,EACL,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,kCAAkC,EAClC,gCAAgC,EAChC,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACZ,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../../src/functions.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gBAAgB,EAChB,oBAAoB,EACpB,gCAAgC,EAChC,WAAW,EACX,aAAa,EACb,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,iBAAiB,EACjB,sBAAsB,EACtB,8BAA8B,EAC9B,sBAAsB,EACtB,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,WAAW,EACX,KAAK,EACL,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,kCAAkC,EAClC,gCAAgC,EAChC,oBAAoB,EACpB,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACZ,MAAM,SAAS,CAAC;AAEjB,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,uBAAuB,CAAC;AAG3E,eAAO,MAAM,mBAAmB,W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a,KAChC,OAAO,CAAC,WAAW,CAAC,wBAAwB,CAoB9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,iBACtB,MAAM,UACZ,WAAW,CAAC,aAAa,KAChC,OAAO,CAAC,WAAW,CAAC,oBAAoB,CAoB1C,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,QAAa,OAAO,CAAC,OAAO,CAU1D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,WACjC,WAAW,CAAC,mBAAmB,KACtC,OAAO,CAAC,WAAW,CAAC,mBAAmB,CAqBzC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,WACzB,WAAW,CAAC,mBAAmB,KACtC,OAAO,CAAC,WAAW,CAAC,WAAW,CAqBjC,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,sBAAsB,WAAkB;IACnD,QAAQ,EAAE;QACR,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;QAC9C,eAAe,EAAE,KAAK,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;QACnD,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;KAC/C,CAAC;CACH,KAAG,OAAO,CAAC;IACV,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;CACvC,CAkBA,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,QAAa,OAAO,CAAC,IAAI,CAIzD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CollectFinancialConnectionsAccountsParams } from '
|
|
2
|
-
import type { CollectBankAccountTokenParams } from '
|
|
1
|
+
import type { CollectFinancialConnectionsAccountsParams } from '../types/FinancialConnections';
|
|
2
|
+
import type { CollectBankAccountTokenParams } from '../types/PaymentMethod';
|
|
3
3
|
/**
|
|
4
4
|
* React hook for accessing functions on the Financial Connections sheet.
|
|
5
5
|
*
|
|
@@ -7,8 +7,8 @@ import type { CollectBankAccountTokenParams } from 'src/types/PaymentMethod';
|
|
|
7
7
|
* to display loading state (like showing a spinner).
|
|
8
8
|
*/
|
|
9
9
|
export declare function useFinancialConnectionsSheet(): {
|
|
10
|
-
collectBankAccountToken: (clientSecret: string, params?: CollectBankAccountTokenParams) => Promise<import("
|
|
11
|
-
collectFinancialConnectionsAccounts: (clientSecret: string, params?: CollectFinancialConnectionsAccountsParams) => Promise<import("
|
|
10
|
+
collectBankAccountToken: (clientSecret: string, params?: CollectBankAccountTokenParams) => Promise<import("../types/FinancialConnections").TokenResult>;
|
|
11
|
+
collectFinancialConnectionsAccounts: (clientSecret: string, params?: CollectFinancialConnectionsAccountsParams) => Promise<import("../types/FinancialConnections").SessionResult>;
|
|
12
12
|
loading: boolean;
|
|
13
13
|
};
|
|
14
14
|
//# sourceMappingURL=useFinancialConnectionsSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useFinancialConnectionsSheet.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFinancialConnectionsSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useFinancialConnectionsSheet.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useFinancialConnectionsSheet.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,+BAA+B,CAAC;AAC/F,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,wBAAwB,CAAC;AAE5E;;;;;GAKG;AACH,wBAAgB,4BAA4B;4CAMnB,MAAM,WAAW,6BAA6B;wDAWnD,MAAM,WACX,yCAAyC;;EAkBvD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PaymentMethod, PaymentIntent, PaymentSheet, CreatePaymentMethodResult, RetrievePaymentIntentResult, RetrieveSetupIntentResult, ConfirmPaymentResult, HandleNextActionResult, HandleNextActionForSetupResult, ConfirmSetupIntentResult, CreateTokenForCVCUpdateResult, StripeError, InitPaymentSheetResult, PresentPaymentSheetResult, ConfirmPaymentSheetPaymentResult, SetupIntent, CreateTokenResult, Token, VerifyMicrodepositsParams, VerifyMicrodepositsForPaymentResult, VerifyMicrodepositsForSetupResult, CollectBankAccountForSetupResult, CollectBankAccountForPaymentResult, CanAddCardToWalletParams, CanAddCardToWalletResult, FinancialConnections, PlatformPay, PlatformPayError } from '../types';
|
|
2
|
-
import type { CollectBankAccountTokenParams } from '
|
|
3
|
-
import type { CollectFinancialConnectionsAccountsParams } from '
|
|
2
|
+
import type { CollectBankAccountTokenParams } from '../types/PaymentMethod';
|
|
3
|
+
import type { CollectFinancialConnectionsAccountsParams } from '../types/FinancialConnections';
|
|
4
4
|
/**
|
|
5
5
|
* useStripe hook
|
|
6
6
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useStripe.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useStripe.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,aAAa,EACb,YAAY,EACZ,yBAAyB,EACzB,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,sBAAsB,EACtB,8BAA8B,EAC9B,wBAAwB,EACxB,6BAA6B,EAC7B,WAAW,EACX,sBAAsB,EACtB,yBAAyB,EACzB,gCAAgC,EAChC,WAAW,EACX,iBAAiB,EACjB,KAAK,EACL,yBAAyB,EACzB,mCAAmC,EACnC,iCAAiC,EACjC,gCAAgC,EAChC,kCAAkC,EAClC,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,WAAW,EACX,gBAAgB,EACjB,MAAM,UAAU,CAAC;AAiClB,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"useStripe.d.ts","sourceRoot":"","sources":["../../../../src/hooks/useStripe.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,E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AAK,CAAC,WAAW,CAAC,kBAAkB,CAAC,CAAC;SAC/C,CAAC;KACH,KAAG,OAAO,CAAC;QACV,KAAK,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,CAAC;KACvC,CAAC;gCAMgD,OAAO,CAAC,IAAI,CAAC;EAwClE"}
|
|
@@ -24,4 +24,6 @@ export * from './functions';
|
|
|
24
24
|
export * from './types/index';
|
|
25
25
|
export * from './components/CustomerSheet';
|
|
26
26
|
export type { Props as CustomerSheetProps } from './components/CustomerSheet';
|
|
27
|
+
export * from './types/EmbeddedPaymentElement';
|
|
28
|
+
export * from './types/PaymentSheet';
|
|
27
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AACtE,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAC1D,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGpF,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AACzE,YAAY,EAAE,KAAK,IAAI,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAChF,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,YAAY,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8B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AS,EAAE,MAAM,wBAAwB,CAAC;AACnD,YAAY,EAAE,KAAK,IAAI,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,YAAY,EAAE,KAAK,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,YAAY,EAAE,KAAK,IAAI,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,YAAY,EAAE,KAAK,IAAI,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,KAAK,IAAI,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,KAAK,IAAI,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAC;AACnE,YAAY,EAAE,KAAK,IAAI,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAEtF,cAAc,aAAa,CAAC;AAE5B,cAAc,eAAe,CAAC;AAE9B,cAAc,4BAA4B,CAAC;AAC3C,YAAY,EAAE,KAAK,IAAI,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAE9E,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import type { CardActionError, GooglePayCardToken, StripeError } from '../types';
|
|
4
|
+
import type { UnsafeMixed, ImageSource } from './utils';
|
|
5
|
+
type AddToWalletButtonCompleteEvent = Readonly<{
|
|
6
|
+
error: UnsafeMixed<StripeError<CardActionError>> | null;
|
|
7
|
+
}>;
|
|
8
|
+
type CardDetails = Readonly<{
|
|
9
|
+
primaryAccountIdentifier: string | null;
|
|
10
|
+
name: string;
|
|
11
|
+
description: string;
|
|
12
|
+
lastFour?: string;
|
|
13
|
+
brand?: string;
|
|
14
|
+
}>;
|
|
15
|
+
export interface NativeProps extends ViewProps {
|
|
16
|
+
iOSButtonStyle?: WithDefault<string, 'onDarkBackground'>;
|
|
17
|
+
androidAssetSource: ImageSource;
|
|
18
|
+
testEnv?: boolean;
|
|
19
|
+
cardDetails: UnsafeMixed<CardDetails>;
|
|
20
|
+
token?: UnsafeMixed<GooglePayCardToken> | null;
|
|
21
|
+
ephemeralKey: UnsafeMixed<object>;
|
|
22
|
+
onCompleteAction?: DirectEventHandler<AddToWalletButtonCompleteEvent>;
|
|
23
|
+
}
|
|
24
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
25
|
+
declare const _default: ComponentType;
|
|
26
|
+
export default _default;
|
|
27
|
+
//# sourceMappingURL=NativeAddToWalletButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeAddToWalletButton.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeAddToWalletButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,eAAe,EACf,kBAAkB,EAClB,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAExD,KAAK,8BAA8B,GAAG,QAAQ,CAAC;IAC7C,KAAK,EAAE,WAAW,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,GAAG,IAAI,CAAC;CACzD,CAAC,CAAC;AAEH,KAAK,WAAW,GAAG,QAAQ,CAAC;IAC1B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,cAAc,CAAC,EAAE,WAAW,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IACzD,kBAAkB,EAAE,WAAW,CAAC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;IACtC,KAAK,CAAC,EAAE,WAAW,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC/C,YAAY,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAClC,gBAAgB,CAAC,EAAE,kBAAkB,CAAC,8BAA8B,CAAC,CAAC;CACvE;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;wBAI3C,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import type { AddressDetails, AddressSheetError, PaymentSheet, StripeError } from '../types';
|
|
4
|
+
import type { UnsafeMixed } from './utils';
|
|
5
|
+
type CollectAddressResult = Required<AddressDetails>;
|
|
6
|
+
type AddressSheetErrorEvent = Readonly<{
|
|
7
|
+
error: UnsafeMixed<StripeError<AddressSheetError>>;
|
|
8
|
+
}>;
|
|
9
|
+
type AdditionalFields = Readonly<{
|
|
10
|
+
phoneNumber?: string;
|
|
11
|
+
checkboxLabel?: string;
|
|
12
|
+
}>;
|
|
13
|
+
type OnSubmitActionEvent = Readonly<{
|
|
14
|
+
result: UnsafeMixed<CollectAddressResult>;
|
|
15
|
+
}>;
|
|
16
|
+
export interface NativeProps extends ViewProps {
|
|
17
|
+
visible: boolean;
|
|
18
|
+
presentationStyle?: WithDefault<string, 'popover'>;
|
|
19
|
+
animationStyle?: WithDefault<string, 'slide'>;
|
|
20
|
+
appearance?: UnsafeMixed<PaymentSheet.AppearanceParams>;
|
|
21
|
+
defaultValues?: UnsafeMixed<AddressDetails>;
|
|
22
|
+
additionalFields?: UnsafeMixed<AdditionalFields>;
|
|
23
|
+
allowedCountries?: Array<string>;
|
|
24
|
+
autocompleteCountries?: Array<string>;
|
|
25
|
+
primaryButtonTitle?: string;
|
|
26
|
+
sheetTitle?: string;
|
|
27
|
+
googlePlacesApiKey?: string;
|
|
28
|
+
onSubmitAction: DirectEventHandler<OnSubmitActionEvent>;
|
|
29
|
+
onErrorAction: DirectEventHandler<AddressSheetErrorEvent>;
|
|
30
|
+
}
|
|
31
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
32
|
+
declare const _default: ComponentType;
|
|
33
|
+
export default _default;
|
|
34
|
+
//# sourceMappingURL=NativeAddressSheet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeAddressSheet.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeAddressSheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,kBAAkB,EAClB,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAEnD,OAAO,KAAK,EACV,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACZ,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,KAAK,oBAAoB,GAAG,QAAQ,CAAC,cAAc,CAAC,CAAC;AAErD,KAAK,sBAAsB,GAAG,QAAQ,CAAC;IACrC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32, WithDefault } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import { ShippingContact, ShippingMethod } from '../types/PlatformPay';
|
|
4
|
+
import { UnsafeMixed } from './utils';
|
|
5
|
+
type OnShippingMethodSelectedActionEvent = {
|
|
6
|
+
shippingMethod: UnsafeMixed<ShippingMethod>;
|
|
7
|
+
};
|
|
8
|
+
type OnShippingContactSelectedActionEvent = {
|
|
9
|
+
shippingContact: UnsafeMixed<ShippingContact>;
|
|
10
|
+
};
|
|
11
|
+
type OnCouponCodeEnteredActionEvent = {
|
|
12
|
+
couponCode: string;
|
|
13
|
+
};
|
|
14
|
+
type OnOrderTrackingActionEvent = {};
|
|
15
|
+
export interface NativeProps extends ViewProps {
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
type: Int32;
|
|
18
|
+
buttonStyle: Int32;
|
|
19
|
+
borderRadius?: WithDefault<Int32, 4>;
|
|
20
|
+
onShippingMethodSelectedAction?: DirectEventHandler<OnShippingMethodSelectedActionEvent>;
|
|
21
|
+
onShippingContactSelectedAction?: DirectEventHandler<OnShippingContactSelectedActionEvent>;
|
|
22
|
+
onCouponCodeEnteredAction?: DirectEventHandler<OnCouponCodeEnteredActionEvent>;
|
|
23
|
+
onOrderTrackingAction?: DirectEventHandler<OnOrderTrackingActionEvent>;
|
|
24
|
+
}
|
|
25
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
26
|
+
declare const _default: ComponentType;
|
|
27
|
+
export default _default;
|
|
28
|
+
//# sourceMappingURL=NativeApplePayButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeApplePayButton.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeApplePayButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,kBAAkB,EAClB,KAAK,EACL,WAAW,EACZ,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACvE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,KAAK,mCAAmC,GAAG;IACzC,cAAc,EAAE,WAAW,CAAC,cAAc,CAAC,CAAC;CAC7C,CAAC;AAEF,KAAK,oCAAoC,GAAG;IAC1C,eAAe,EAAE,WAAW,CAAC,eAAe,CAAC,CAAC;CAC/C,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,0BAA0B,GAAG,EAAE,CAAC;AAErC,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,KAAK,CAAC;IACZ,WAAW,EAAE,KAAK,CAAC;IACnB,YAAY,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IACrC,8BAA8B,CAAC,EAAE,kBAAkB,CAAC,mCAAmC,CAAC,CAAC;IACzF,+BAA+B,CAAC,EAAE,kBAAkB,CAAC,oCAAoC,CAAC,CAAC;IAC3F,yBAAyB,CAAC,EAAE,kBAAkB,CAAC,8BAA8B,CAAC,CAAC;IAC/E,qBAAqB,CAAC,EAAE,kBAAkB,CAAC,0BAA0B,CAAC,CAAC;CACxE;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;wBAI3C,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import type { AuBECSDebitFormComponent } from '../types';
|
|
4
|
+
import type { UnsafeMixed } from './utils';
|
|
5
|
+
type FormDetailsEvent = Readonly<{
|
|
6
|
+
accountNumber: string;
|
|
7
|
+
bsbNumber: string;
|
|
8
|
+
email: string;
|
|
9
|
+
name: string;
|
|
10
|
+
}>;
|
|
11
|
+
export interface NativeProps extends ViewProps {
|
|
12
|
+
companyName: string;
|
|
13
|
+
onCompleteAction: DirectEventHandler<FormDetailsEvent>;
|
|
14
|
+
formStyle?: UnsafeMixed<AuBECSDebitFormComponent.Styles>;
|
|
15
|
+
}
|
|
16
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
17
|
+
declare const _default: ComponentType;
|
|
18
|
+
export default _default;
|
|
19
|
+
//# sourceMappingURL=NativeAuBECSDebitForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeAuBECSDebitForm.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeAuBECSDebitForm.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAEpF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,KAAK,gBAAgB,GAAG,QAAQ,CAAC;IAC/B,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC,CAAC;AAEH,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,gBAAgB,EAAE,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACvD,SAAS,CAAC,EAAE,WAAW,CAAC,wBAAwB,CAAC,MAAM,CAAC,CAAC;CAC1D;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;wBAI3C,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import type { Details, Placeholders, Styles } from '../types/components/CardFieldInput';
|
|
4
|
+
import type { UnsafeMixed } from './utils';
|
|
5
|
+
type CardChangeEvent = Readonly<{
|
|
6
|
+
card: UnsafeMixed<Details>;
|
|
7
|
+
}>;
|
|
8
|
+
export type FocusChangeEvent = Readonly<{
|
|
9
|
+
focusedField: string;
|
|
10
|
+
}>;
|
|
11
|
+
export interface NativeProps extends ViewProps {
|
|
12
|
+
autofocus: boolean;
|
|
13
|
+
cardStyle: UnsafeMixed<Styles>;
|
|
14
|
+
countryCode?: string;
|
|
15
|
+
dangerouslyGetFullCardDetails: boolean;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
onBehalfOf?: string;
|
|
18
|
+
onCardChange?: DirectEventHandler<CardChangeEvent>;
|
|
19
|
+
onFocusChange?: DirectEventHandler<FocusChangeEvent>;
|
|
20
|
+
placeholders: UnsafeMixed<Placeholders>;
|
|
21
|
+
postalCodeEnabled: boolean;
|
|
22
|
+
preferredNetworks?: ReadonlyArray<Int32>;
|
|
23
|
+
}
|
|
24
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
25
|
+
interface NativeCommands {
|
|
26
|
+
blur: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
27
|
+
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
28
|
+
clear: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
29
|
+
}
|
|
30
|
+
export declare const Commands: NativeCommands;
|
|
31
|
+
declare const _default: ComponentType;
|
|
32
|
+
export default _default;
|
|
33
|
+
//# sourceMappingURL=NativeCardField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeCardField.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeCardField.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAA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C,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;wBAIE,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import type { CardFormView } from '../types';
|
|
4
|
+
import type { UnsafeMixed } from './utils';
|
|
5
|
+
interface FormCompleteEvent {
|
|
6
|
+
card: UnsafeMixed<CardFormView.Details>;
|
|
7
|
+
}
|
|
8
|
+
export interface FocusChangeEvent {
|
|
9
|
+
focusedField: 'CardNumber' | 'Cvc' | 'ExpiryDate' | 'PostalCode' | null;
|
|
10
|
+
}
|
|
11
|
+
export interface NativeProps extends ViewProps {
|
|
12
|
+
autofocus: boolean;
|
|
13
|
+
cardStyle: UnsafeMixed<CardFormView.Styles>;
|
|
14
|
+
dangerouslyGetFullCardDetails: boolean;
|
|
15
|
+
defaultValues: UnsafeMixed<CardFormView.DefaultValues>;
|
|
16
|
+
disabled: boolean;
|
|
17
|
+
onFocusChange?: DirectEventHandler<FocusChangeEvent>;
|
|
18
|
+
onFormComplete?: DirectEventHandler<FormCompleteEvent>;
|
|
19
|
+
placeholders: UnsafeMixed<CardFormView.Placeholders>;
|
|
20
|
+
postalCodeEnabled: boolean;
|
|
21
|
+
preferredNetworks?: Int32[];
|
|
22
|
+
}
|
|
23
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
24
|
+
interface NativeCommands {
|
|
25
|
+
blur: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
26
|
+
focus: (viewRef: React.ElementRef<ComponentType>) => void;
|
|
27
|
+
}
|
|
28
|
+
export declare const Commands: NativeCommands;
|
|
29
|
+
declare const _default: ComponentType;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# sourceMappingURL=NativeCardForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{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O,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,IAAI,CAAC;CAC3D;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;wBAE+D,aAAa;AAA/E,wBAAgF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { DirectEventHandler, Double } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import { EmbeddedPaymentElementConfiguration } from '../types/EmbeddedPaymentElement';
|
|
4
|
+
import { IntentConfiguration } from '../types/PaymentSheet';
|
|
5
|
+
import type { UnsafeMixed } from './utils';
|
|
6
|
+
type OnEmbeddedPaymentElementDidUpdateHeightEvent = Readonly<{
|
|
7
|
+
height: Double;
|
|
8
|
+
}>;
|
|
9
|
+
export interface NativeProps extends ViewProps {
|
|
10
|
+
configuration: UnsafeMixed<EmbeddedPaymentElementConfiguration>;
|
|
11
|
+
intentConfiguration: UnsafeMixed<IntentConfiguration>;
|
|
12
|
+
onEmbeddedPaymentElementDidUpdateHeight?: DirectEventHandler<OnEmbeddedPaymentElementDidUpdateHeightEvent>;
|
|
13
|
+
}
|
|
14
|
+
export interface NativeCommands {
|
|
15
|
+
confirm: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
16
|
+
clearPaymentOption: (viewRef: React.ElementRef<HostComponent<NativeProps>>) => void;
|
|
17
|
+
}
|
|
18
|
+
export declare const Commands: NativeCommands;
|
|
19
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
20
|
+
declare const _default: ComponentType;
|
|
21
|
+
export default _default;
|
|
22
|
+
//# sourceMappingURL=NativeEmbeddedPaymentElement.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeEmbeddedPaymentElement.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeEmbeddedPaymentElement.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,kBAAkB,EAClB,MAAM,EACP,MAAM,2CAA2C,CAAC;AAEnD,OAAO,EAAE,mCAAmC,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAG3C,KAAK,4CAA4C,GAAG,QAAQ,CAAC;IAC3D,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC,CAAC;AAEH,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,aAAa,EAAE,WAAW,CAAC,mCAAmC,CAAC,CAAC;IAChE,mBAAmB,EAAE,WAAW,CAAC,mBAAmB,CAAC,CAAC;IACtD,uCAAuC,CAAC,EAAE,kBAAkB,CAAC,4CAA4C,CAAC,CAAC;CAC5G;AAED,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,CAAC,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,KAAK,IAAI,CAAC;IACzE,kBAAkB,EAAE,CAClB,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC,KAClD,IAAI,CAAC;CACX;AAED,eAAO,MAAM,QAAQ,EAAE,cAErB,CAAC;AAEH,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;wBAI3C,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
import type { WithDefault, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
export interface NativeProps extends ViewProps {
|
|
4
|
+
type?: WithDefault<Int32, -1>;
|
|
5
|
+
appearance: Int32;
|
|
6
|
+
borderRadius?: Int32;
|
|
7
|
+
}
|
|
8
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
9
|
+
declare const _default: ComponentType;
|
|
10
|
+
export default _default;
|
|
11
|
+
//# sourceMappingURL=NativeGooglePayButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeGooglePayButton.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeGooglePayButton.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,KAAK,EACV,WAAW,EACX,KAAK,EACN,MAAM,2CAA2C,CAAC;AAGnD,MAAM,WAAW,WAAY,SAAQ,SAAS;IAG5C,IAAI,CAAC,EAAE,WAAW,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC;IAC9B,UAAU,EAAE,KAAK,CAAC;IAClB,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;wBAI3C,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { HostComponent, ViewProps } from 'react-native';
|
|
2
|
+
export interface NativeProps extends ViewProps {
|
|
3
|
+
keyboardShouldPersistTaps: boolean;
|
|
4
|
+
}
|
|
5
|
+
type ComponentType = HostComponent<NativeProps>;
|
|
6
|
+
declare const _default: ComponentType;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=NativeStripeContainer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeStripeContainer.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeStripeContainer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAG7D,MAAM,WAAW,WAAY,SAAQ,SAAS;IAC5C,yBAAyB,EAAE,OAAO,CAAC;CACpC;AAED,KAAK,aAAa,GAAG,aAAa,CAAC,WAAW,CAAC,CAAC;wBAI3C,aAAa;AAFlB,wBAEmB"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import type { TurboModule } from 'react-native/Libraries/TurboModule/RCTExport';
|
|
2
|
+
import type { EventEmitter, Int32 } from 'react-native/Libraries/Types/CodegenTypes';
|
|
3
|
+
import type { CanAddCardToWalletParams, CanAddCardToWalletResult, ConfirmPaymentResult, ConfirmPaymentSheetPaymentResult, ConfirmSetupIntentResult, CreatePaymentMethodResult, CreateTokenForCVCUpdateResult, CreateTokenResult, CustomerAdapter, CustomerSheetError, CustomerSheetInitParams, CustomerSheetPresentParams, CustomerSheetResult, FinancialConnections, HandleNextActionForSetupResult, HandleNextActionResult, InitialiseParams, InitPaymentSheetResult, IsCardInWalletResult, OpenApplePaySetupResult, PaymentIntent, PaymentMethod, PaymentSheet, PlatformPay, PresentPaymentSheetResult, RetrievePaymentIntentResult, RetrieveSetupIntentResult, SetupIntent, StripeError, Token, VerifyMicrodepositsParams } from '../types';
|
|
4
|
+
import type { EmbeddedPaymentElementConfiguration, EmbeddedPaymentElementResult } from '../types/EmbeddedPaymentElement';
|
|
5
|
+
import type { FinancialConnectionsEvent } from '../types/FinancialConnections';
|
|
6
|
+
import type { IntentConfiguration } from '../types/PaymentSheet';
|
|
7
|
+
import type { UnsafeObject } from './utils';
|
|
8
|
+
type CustomerSheetInitResult = UnsafeObject<{
|
|
9
|
+
error?: StripeError<CustomerSheetError>;
|
|
10
|
+
}>;
|
|
11
|
+
export interface Spec extends TurboModule {
|
|
12
|
+
initialise(params: UnsafeObject<InitialiseParams>): Promise<void>;
|
|
13
|
+
createPaymentMethod(params: UnsafeObject<PaymentMethod.CreateParams>, options: UnsafeObject<PaymentMethod.CreateOptions>): Promise<CreatePaymentMethodResult>;
|
|
14
|
+
handleNextAction(paymentIntentClientSecret: string, returnURL?: string | null): Promise<HandleNextActionResult>;
|
|
15
|
+
handleNextActionForSetup(setupIntentClientSecret: string, returnURL?: string | null): Promise<HandleNextActionForSetupResult>;
|
|
16
|
+
confirmPayment(paymentIntentClientSecret: string, params?: UnsafeObject<PaymentIntent.ConfirmParams>, options?: UnsafeObject<PaymentIntent.ConfirmOptions>): Promise<ConfirmPaymentResult>;
|
|
17
|
+
confirmSetupIntent(paymentIntentClientSecret: string, params: UnsafeObject<SetupIntent.ConfirmParams>, options: UnsafeObject<SetupIntent.ConfirmOptions>): Promise<ConfirmSetupIntentResult>;
|
|
18
|
+
retrievePaymentIntent(clientSecret: string): Promise<RetrievePaymentIntentResult>;
|
|
19
|
+
retrieveSetupIntent(clientSecret: string): Promise<RetrieveSetupIntentResult>;
|
|
20
|
+
initPaymentSheet(params: UnsafeObject<PaymentSheet.SetupParams>): Promise<InitPaymentSheetResult>;
|
|
21
|
+
intentCreationCallback(result: UnsafeObject<PaymentSheet.IntentCreationCallbackParams>): Promise<void>;
|
|
22
|
+
presentPaymentSheet(options: UnsafeObject<PaymentSheet.PresentOptions>): Promise<PresentPaymentSheetResult>;
|
|
23
|
+
confirmPaymentSheetPayment(): Promise<ConfirmPaymentSheetPaymentResult>;
|
|
24
|
+
createTokenForCVCUpdate(cvc: string): Promise<CreateTokenForCVCUpdateResult>;
|
|
25
|
+
handleURLCallback(url: string): Promise<boolean>;
|
|
26
|
+
createToken(params: UnsafeObject<Token.CreateParams>): Promise<CreateTokenResult>;
|
|
27
|
+
openApplePaySetup(): Promise<OpenApplePaySetupResult>;
|
|
28
|
+
verifyMicrodeposits(isPaymentIntent: boolean, clientSecret: string, params: UnsafeObject<VerifyMicrodepositsParams>): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
|
|
29
|
+
collectBankAccount(isPaymentIntent: boolean, clientSecret: string, params: UnsafeObject<Omit<PaymentMethod.CollectBankAccountParams, 'onEvent'>>): Promise<ConfirmSetupIntentResult | ConfirmPaymentResult>;
|
|
30
|
+
getConstants(): {
|
|
31
|
+
API_VERSIONS: {
|
|
32
|
+
CORE: string;
|
|
33
|
+
ISSUING: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
canAddCardToWallet(params: UnsafeObject<CanAddCardToWalletParams>): Promise<CanAddCardToWalletResult>;
|
|
37
|
+
isCardInWallet(params: UnsafeObject<{
|
|
38
|
+
cardLastFour: string;
|
|
39
|
+
}>): Promise<IsCardInWalletResult>;
|
|
40
|
+
collectBankAccountToken(clientSecret: string, params: UnsafeObject<PaymentMethod.CollectBankAccountTokenParams>): Promise<FinancialConnections.TokenResult>;
|
|
41
|
+
collectFinancialConnectionsAccounts(clientSecret: string, params: UnsafeObject<FinancialConnections.CollectFinancialConnectionsAccountsParams>): Promise<FinancialConnections.SessionResult>;
|
|
42
|
+
resetPaymentSheetCustomer(): Promise<null>;
|
|
43
|
+
isPlatformPaySupported(params: UnsafeObject<{
|
|
44
|
+
googlePay?: PlatformPay.IsGooglePaySupportedParams;
|
|
45
|
+
}>): Promise<boolean>;
|
|
46
|
+
createPlatformPayPaymentMethod(params: UnsafeObject<PlatformPay.PaymentMethodParams>, usesDeprecatedTokenFlow: boolean): Promise<PlatformPay.PaymentMethodResult | PlatformPay.TokenResult>;
|
|
47
|
+
dismissPlatformPay(): Promise<boolean>;
|
|
48
|
+
updatePlatformPaySheet(summaryItems: ReadonlyArray<UnsafeObject<PlatformPay.CartSummaryItem>>, shippingMethods: ReadonlyArray<UnsafeObject<PlatformPay.ShippingMethod>>, errors: ReadonlyArray<PlatformPay.ApplePaySheetError>): Promise<void>;
|
|
49
|
+
confirmPlatformPay(clientSecret: string, params: UnsafeObject<PlatformPay.ConfirmParams>, isPaymentIntent: boolean): Promise<PlatformPay.ConfirmPaymentResult | PlatformPay.ConfirmSetupIntentResult>;
|
|
50
|
+
configureOrderTracking(orderTypeIdentifier: string, orderIdentifier: string, webServiceUrl: string, authenticationToken: string): Promise<void>;
|
|
51
|
+
initCustomerSheet(params: UnsafeObject<CustomerSheetInitParams>, customerAdapterOverrides: UnsafeObject<{
|
|
52
|
+
[Property in keyof CustomerAdapter]: boolean;
|
|
53
|
+
}>): Promise<CustomerSheetInitResult>;
|
|
54
|
+
presentCustomerSheet(params: UnsafeObject<CustomerSheetPresentParams>): Promise<CustomerSheetResult>;
|
|
55
|
+
retrieveCustomerSheetPaymentOptionSelection(): Promise<CustomerSheetResult>;
|
|
56
|
+
customerAdapterFetchPaymentMethodsCallback(paymentMethods: ReadonlyArray<Object>): Promise<void>;
|
|
57
|
+
customerAdapterAttachPaymentMethodCallback(paymentMethod: Object): Promise<void>;
|
|
58
|
+
customerAdapterDetachPaymentMethodCallback(paymentMethod: Object): Promise<void>;
|
|
59
|
+
customerAdapterSetSelectedPaymentOptionCallback(): Promise<void>;
|
|
60
|
+
customerAdapterFetchSelectedPaymentOptionCallback(paymentOption: string | null): Promise<void>;
|
|
61
|
+
customerAdapterSetupIntentClientSecretForCustomerAttachCallback(clientSecret: string): Promise<void>;
|
|
62
|
+
createEmbeddedPaymentElement(intentConfig: UnsafeObject<IntentConfiguration>, configuration: UnsafeObject<EmbeddedPaymentElementConfiguration>): Promise<void>;
|
|
63
|
+
confirmEmbeddedPaymentElement(viewTag: Int32): Promise<EmbeddedPaymentElementResult>;
|
|
64
|
+
updateEmbeddedPaymentElement(intentConfig: UnsafeObject<IntentConfiguration>): Promise<void>;
|
|
65
|
+
clearEmbeddedPaymentOption(viewTag: Int32): Promise<void>;
|
|
66
|
+
onConfirmHandlerCallback: EventEmitter<{
|
|
67
|
+
paymentMethod: UnsafeObject<PaymentMethod.Result>;
|
|
68
|
+
shouldSavePaymentMethod: boolean;
|
|
69
|
+
}>;
|
|
70
|
+
onFinancialConnectionsEvent: EventEmitter<UnsafeObject<FinancialConnectionsEvent>>;
|
|
71
|
+
onOrderTrackingCallback: EventEmitter<void>;
|
|
72
|
+
onCustomerAdapterFetchPaymentMethodsCallback: EventEmitter<void>;
|
|
73
|
+
onCustomerAdapterAttachPaymentMethodCallback: EventEmitter<{
|
|
74
|
+
paymentMethodId: string;
|
|
75
|
+
}>;
|
|
76
|
+
onCustomerAdapterDetachPaymentMethodCallback: EventEmitter<{
|
|
77
|
+
paymentMethodId: string;
|
|
78
|
+
}>;
|
|
79
|
+
onCustomerAdapterSetSelectedPaymentOptionCallback: EventEmitter<{
|
|
80
|
+
paymentOption: string;
|
|
81
|
+
}>;
|
|
82
|
+
onCustomerAdapterFetchSelectedPaymentOptionCallback: EventEmitter<void>;
|
|
83
|
+
onCustomerAdapterSetupIntentClientSecretForCustomerAttachCallback: EventEmitter<void>;
|
|
84
|
+
embeddedPaymentElementDidUpdateHeight: EventEmitter<UnsafeObject<any>>;
|
|
85
|
+
embeddedPaymentElementWillPresent: EventEmitter<void>;
|
|
86
|
+
embeddedPaymentElementDidUpdatePaymentOption: EventEmitter<UnsafeObject<any>>;
|
|
87
|
+
embeddedPaymentElementFormSheetConfirmComplete: EventEmitter<UnsafeObject<any>>;
|
|
88
|
+
embeddedPaymentElementRowSelectionImmediateAction: EventEmitter<void>;
|
|
89
|
+
embeddedPaymentElementLoadingFailed: EventEmitter<UnsafeObject<any>>;
|
|
90
|
+
}
|
|
91
|
+
declare const _default: Spec;
|
|
92
|
+
export default _default;
|
|
93
|
+
//# sourceMappingURL=NativeStripeSdkModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeStripeSdkModule.d.ts","sourceRoot":"","sources":["../../../../src/specs/NativeStripeSdkModule.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,KAAK,EACV,YAAY,EACZ,KAAK,EACN,MAAM,2CAA2C,CAAC;AACnD,OAAO,KAAK,EACV,wBAAwB,EACxB,wBAAwB,EACxB,oBAAoB,EACpB,gCAAgC,EAChC,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,uBAAuB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,oBAAoB,EACpB,8BAA8B,EAC9B,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,oBAAo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C,CAAC;IACtF,qCAAqC,EAAE,YAAY,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IACvE,iCAAiC,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;IACtD,4CAA4C,EAAE,YAAY,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9E,8CAA8C,EAAE,YAAY,CAC1D,YAAY,CAAC,GAAG,CAAC,CAClB,CAAC;IACF,iDAAiD,EAAE,YAAY,CAAC,IAAI,CAAC,CAAC;IACtE,mCAAmC,EAAE,YAAY,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC;CACtE;;AAED,wBAAmE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ImageSourcePropType } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* Allows using types that codegen doesn't support, which will be generated
|
|
4
|
+
* as mixed, but keeping the TS type for type-checking.
|
|
5
|
+
*
|
|
6
|
+
* Note that for some reason this only works for native components, not for turbo modules.
|
|
7
|
+
*/
|
|
8
|
+
export type UnsafeMixed<T> = T;
|
|
9
|
+
/**
|
|
10
|
+
* Allows using types that codegen doesn't support, which will be generated
|
|
11
|
+
* as object, but keeping the TS type for type-checking.
|
|
12
|
+
*
|
|
13
|
+
* Note that for some reason this only works for turbo modules, not for native components.
|
|
14
|
+
*/
|
|
15
|
+
export type UnsafeObject<T> = T;
|
|
16
|
+
/**
|
|
17
|
+
* Codegen checks for a type named image source, but rn typescript exports it as ImageSourcePropType.
|
|
18
|
+
*/
|
|
19
|
+
export type ImageSource = ImageSourcePropType;
|
|
20
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/specs/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD;;;;;GAKG;AACH,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI,CAAC,CAAC;AAE/B;;;;;GAKG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC"}
|
|
@@ -39,10 +39,6 @@ export type CustomerSheetInitParams = {
|
|
|
39
39
|
* If false, the customer can't delete if they only have one saved payment method remaining.
|
|
40
40
|
*/
|
|
41
41
|
allowsRemovalOfLastSavedPaymentMethod?: boolean;
|
|
42
|
-
/** (Private Preview) This parameter is expected to be removed once we GA this feature
|
|
43
|
-
* When using customerSessions, allow users to update their saved cards
|
|
44
|
-
*/
|
|
45
|
-
updatePaymentMethodEnabled?: boolean;
|
|
46
42
|
/**
|
|
47
43
|
* By default, CustomerSheet will accept all supported cards by Stripe.
|
|
48
44
|
* You can specify card brands CustomerSheet should block or allow payment for by providing an array of those card brands.
|
|
@@ -108,7 +104,7 @@ export interface CustomerAdapter {
|
|
|
108
104
|
/** Creates a SetupIntent configured to attach a new payment method to a customer,
|
|
109
105
|
* then returns the client secret for the created SetupIntent.
|
|
110
106
|
*/
|
|
111
|
-
setupIntentClientSecretForCustomerAttach?(): Promise<
|
|
107
|
+
setupIntentClientSecretForCustomerAttach?(): Promise<string>;
|
|
112
108
|
}
|
|
113
109
|
export type CustomerPaymentOption = 'apple_pay' | 'google_pay' | 'link' | string;
|
|
114
110
|
//# sourceMappingURL=CustomerSheet.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomerSheet.d.ts","sourceRoot":"","sources":["../../../../src/types/CustomerSheet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,cAAc,EACd,aAAa,EACb,SAAS,EACV,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,uBAAuB,GAAG;IACpC,uFAAuF;IACvF,KAAK,CAAC,EAAE,aAAa,GAAG,YAAY,GAAG,WAAW,CAAC;IACnD,qDAAq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