@primer-io/react-native 2.37.0 → 2.37.1
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/ios/Sources/version.swift +1 -1
- package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts +11 -0
- package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts +6 -0
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts +2 -0
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts +18 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts +53 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts +12 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts +69 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts +63 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts +8 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts +30 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts +3 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts +13 -0
- package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts +11 -0
- package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts +20 -0
- package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts.map +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/types.d.ts +1 -0
- package/lib/typescript/HeadlessUniversalCheckout/types.d.ts.map +1 -0
- package/lib/typescript/Primer.d.ts +3 -0
- package/lib/typescript/Primer.d.ts.map +1 -0
- package/lib/typescript/RNPrimer.d.ts +34 -0
- package/lib/typescript/RNPrimer.d.ts.map +1 -0
- package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts +2 -0
- package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +46 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/models/IssuingBank.d.ts +9 -0
- package/lib/typescript/models/IssuingBank.d.ts.map +1 -0
- package/lib/typescript/models/NamedComponentStep.d.ts +12 -0
- package/lib/typescript/models/NamedComponentStep.d.ts.map +1 -0
- package/lib/typescript/models/NamedComponentValidatableData.d.ts +12 -0
- package/lib/typescript/models/NamedComponentValidatableData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts +39 -0
- package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts.map +1 -0
- package/lib/typescript/models/PrimerCheckoutData.d.ts +18 -0
- package/lib/typescript/models/PrimerCheckoutData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts +7 -0
- package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerClientSession.d.ts +53 -0
- package/lib/typescript/models/PrimerClientSession.d.ts.map +1 -0
- package/lib/typescript/models/PrimerComponentDataValidation.d.ts +54 -0
- package/lib/typescript/models/PrimerComponentDataValidation.d.ts.map +1 -0
- package/lib/typescript/models/PrimerCountryCode.d.ts +4 -0
- package/lib/typescript/models/PrimerCountryCode.d.ts.map +1 -0
- package/lib/typescript/models/PrimerCurrencyCode.d.ts +4 -0
- package/lib/typescript/models/PrimerCurrencyCode.d.ts.map +1 -0
- package/lib/typescript/models/PrimerError.d.ts +9 -0
- package/lib/typescript/models/PrimerError.d.ts.map +1 -0
- package/lib/typescript/models/PrimerHandlers.d.ts +22 -0
- package/lib/typescript/models/PrimerHandlers.d.ts.map +1 -0
- package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts +6 -0
- package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts.map +1 -0
- package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts +17 -0
- package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts.map +1 -0
- package/lib/typescript/models/PrimerInitializationData.d.ts +10 -0
- package/lib/typescript/models/PrimerInitializationData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerInputElementType.d.ts +12 -0
- package/lib/typescript/models/PrimerInputElementType.d.ts.map +1 -0
- package/lib/typescript/models/PrimerInterfaces.d.ts +10 -0
- package/lib/typescript/models/PrimerInterfaces.d.ts.map +1 -0
- package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts +6 -0
- package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts.map +1 -0
- package/lib/typescript/models/PrimerPaymentMethodResource.d.ts +19 -0
- package/lib/typescript/models/PrimerPaymentMethodResource.d.ts.map +1 -0
- package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts +78 -0
- package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerRawData.d.ts +20 -0
- package/lib/typescript/models/PrimerRawData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerSessionIntent.d.ts +5 -0
- package/lib/typescript/models/PrimerSessionIntent.d.ts.map +1 -0
- package/lib/typescript/models/PrimerSettings.d.ts +173 -0
- package/lib/typescript/models/PrimerSettings.d.ts.map +1 -0
- package/lib/typescript/models/PrimerTheme.d.ts +24 -0
- package/lib/typescript/models/PrimerTheme.d.ts.map +1 -0
- package/lib/typescript/models/PrimerValidationError.d.ts +7 -0
- package/lib/typescript/models/PrimerValidationError.d.ts.map +1 -0
- package/lib/typescript/models/PrimerValidationErrorResult.d.ts +6 -0
- package/lib/typescript/models/PrimerValidationErrorResult.d.ts.map +1 -0
- package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts +11 -0
- package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts.map +1 -0
- package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts +5 -0
- package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts.map +1 -0
- package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts +6 -0
- package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts.map +1 -0
- package/lib/typescript/models/RetailOutletsRetail.d.ts +9 -0
- package/lib/typescript/models/RetailOutletsRetail.d.ts.map +1 -0
- package/lib/typescript/models/ach/AchCollectableData.d.ts +25 -0
- package/lib/typescript/models/ach/AchCollectableData.d.ts.map +1 -0
- package/lib/typescript/models/ach/AchSteps.d.ts +28 -0
- package/lib/typescript/models/ach/AchSteps.d.ts.map +1 -0
- package/lib/typescript/models/banks/BanksCollectableData.d.ts +23 -0
- package/lib/typescript/models/banks/BanksCollectableData.d.ts.map +1 -0
- package/lib/typescript/models/banks/BanksSteps.d.ts +20 -0
- package/lib/typescript/models/banks/BanksSteps.d.ts.map +1 -0
- package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts +24 -0
- package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts.map +1 -0
- package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts +24 -0
- package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts.map +1 -0
- package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts +36 -0
- package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts.map +1 -0
- package/lib/typescript/utils/index.d.ts +4 -0
- package/lib/typescript/utils/index.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// swiftlint:disable:next identifier_name
|
|
2
|
-
public let PrimerReactNativeSDKVersion = "2.37.
|
|
2
|
+
public let PrimerReactNativeSDKVersion = "2.37.1"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GestureResponderEvent, ViewStyle } from 'react-native';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface NativeResourceViewProps {
|
|
4
|
+
nativeViewName: string;
|
|
5
|
+
style?: ViewStyle;
|
|
6
|
+
onPress?: (event: GestureResponderEvent) => void;
|
|
7
|
+
}
|
|
8
|
+
export declare const NativeResourceView: React.FC<NativeResourceViewProps>;
|
|
9
|
+
export declare const PrimerGooglePayButtonConstants: any;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=NativeResourceView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeResourceView.d.ts","sourceRoot":"","sources":["../../../../src/HeadlessUniversalCheckout/Components/NativeResourceView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAgC,SAAS,EAAiB,MAAM,cAAc,CAAC;AAE7G,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,uBAAuB;IAC/B,cAAc,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAQhE,CAAC;AAEF,eAAO,MAAM,8BAA8B,KAA+D,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ViewProps } from 'react-native';
|
|
2
|
+
interface PrimerGooglePayButtonProps extends ViewProps {
|
|
3
|
+
}
|
|
4
|
+
export declare const PrimerGooglePayButton: import("react-native").HostComponent<PrimerGooglePayButtonProps>;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=PrimerGooglePayButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimerGooglePayButton.d.ts","sourceRoot":"","sources":["../../../../src/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0B,SAAS,EAAE,MAAM,cAAc,CAAC;AAEjE,UAAU,0BAA2B,SAAQ,SAAS;CAAG;AAEzD,eAAO,MAAM,qBAAqB,kEAA8E,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimerKlarnaPaymentView.d.ts","sourceRoot":"","sources":["../../../../src/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,0CAAwD,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Resource } from 'src';
|
|
2
|
+
import { IPrimerAsset as Asset } from '../../models/PrimerPaymentMethodResource';
|
|
3
|
+
declare class PrimerHeadlessUniversalCheckoutAssetsManager {
|
|
4
|
+
constructor();
|
|
5
|
+
getCardNetworkImageURL(cardNetwork: string): Promise<string>;
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use getPaymentMethodResource instead
|
|
8
|
+
*/
|
|
9
|
+
getPaymentMethodAsset(paymentMethodType: string): Promise<Asset>;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated Use getPaymentMethodResources instead
|
|
12
|
+
*/
|
|
13
|
+
getPaymentMethodAssets(): Promise<Asset[]>;
|
|
14
|
+
getPaymentMethodResources(): Promise<Resource[]>;
|
|
15
|
+
getPaymentMethodResource(paymentMethodType: string): Promise<Resource>;
|
|
16
|
+
}
|
|
17
|
+
export default PrimerHeadlessUniversalCheckoutAssetsManager;
|
|
18
|
+
//# sourceMappingURL=AssetsManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AssetsManager.d.ts","sourceRoot":"","sources":["../../../../src/HeadlessUniversalCheckout/Managers/AssetsManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,EAAE,YAAY,IAAI,KAAK,EAAE,MAAM,0CAA0C,CAAC;AAKjF,cAAM,4CAA4C;;IAU1C,sBAAsB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAYlE;;OAEG;IACG,qBAAqB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC;IAatE;;OAEG;IACG,sBAAsB,IAAI,OAAO,CAAC,KAAK,EAAE,CAAC;IAa1C,yBAAyB,IAAI,OAAO,CAAC,QAAQ,EAAE,CAAC;IAahD,wBAAwB,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC;CAY7E;AAED,eAAe,4CAA4C,CAAC"}
|
package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { EmitterSubscription } from 'react-native';
|
|
2
|
+
import { PrimerComponentDataValidationError, PrimerInvalidComponentData, PrimerValidComponentData, PrimerValidatingComponentData } from 'src/models/PrimerComponentDataValidation';
|
|
3
|
+
import { PrimerError } from 'src/models/PrimerError';
|
|
4
|
+
import { EventType } from './Utils/EventType';
|
|
5
|
+
import { AchStep } from 'src/models/ach/AchSteps';
|
|
6
|
+
import { AchValidatableData } from 'src/models/ach/AchCollectableData';
|
|
7
|
+
export interface AchManagerProps {
|
|
8
|
+
paymentMethodType: string;
|
|
9
|
+
onStep?: (data: AchStep) => void;
|
|
10
|
+
onError?: (error: PrimerError) => void;
|
|
11
|
+
onInvalid?: (data: PrimerInvalidComponentData<AchValidatableData>) => void;
|
|
12
|
+
onValid?: (data: PrimerValidComponentData<AchValidatableData>) => void;
|
|
13
|
+
onValidating?: (data: PrimerValidatingComponentData<AchValidatableData>) => void;
|
|
14
|
+
onValidationError?: (data: PrimerComponentDataValidationError<AchValidatableData>) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface StripeAchUserDetailsComponent {
|
|
17
|
+
/**
|
|
18
|
+
* Starts the component, causing the {@link UserDetailsRetrieved} step
|
|
19
|
+
* to be emitted.
|
|
20
|
+
*/
|
|
21
|
+
start(): Promise<void>;
|
|
22
|
+
/**
|
|
23
|
+
* Sets the customer's first name.
|
|
24
|
+
* @param value The customer's first name.
|
|
25
|
+
*/
|
|
26
|
+
handleFirstNameChange(value: String): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Sets the customer's last name.
|
|
29
|
+
* @param value The customer's last name.
|
|
30
|
+
*/
|
|
31
|
+
handleLastNameChange(value: String): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* Sets the customer's email address.
|
|
34
|
+
* @param value The customer's email address.
|
|
35
|
+
*/
|
|
36
|
+
handleEmailAddressChange(value: String): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Submits the component, initiating the payment authorization process.
|
|
39
|
+
* This function should only be called after setting the customer first name,
|
|
40
|
+
* last name and email address.
|
|
41
|
+
*/
|
|
42
|
+
submit(): Promise<void>;
|
|
43
|
+
}
|
|
44
|
+
export declare class PrimerHeadlessUniversalCheckoutAchManager {
|
|
45
|
+
constructor();
|
|
46
|
+
provide(props: AchManagerProps): Promise<StripeAchUserDetailsComponent | any>;
|
|
47
|
+
private configureListeners;
|
|
48
|
+
addListener(eventType: EventType, listener: (...args: any[]) => any): Promise<EmitterSubscription>;
|
|
49
|
+
removeListener(subscription: EmitterSubscription): void;
|
|
50
|
+
removeAllListenersForEvent(eventType: EventType): void;
|
|
51
|
+
removeAllListeners(): void;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=AchManager.d.ts.map
|
package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AchManager.d.ts","sourceRoot":"","sources":["../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAKvE,MAAM,WAAW,eAAe;IAC9B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,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EAAE,SAAS;IAI/C,kBAAkB;CAGnB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class PrimerHeadlessUniversalCheckoutAchMandateManager {
|
|
2
|
+
constructor();
|
|
3
|
+
/**
|
|
4
|
+
* Accepts the ACH mandate, completing the payment.
|
|
5
|
+
*/
|
|
6
|
+
acceptMandate(): Promise<void>;
|
|
7
|
+
/**
|
|
8
|
+
* Declines the ACH mandate, cancelling the payment.
|
|
9
|
+
*/
|
|
10
|
+
declineMandate(): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=AchMandateManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AchMandateManager.d.ts","sourceRoot":"","sources":["../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.ts"],"names":[],"mappings":"AAIA,qBAAa,gDAAgD;;IAU3D;;OAEG;IACG,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC;IAKpC;;OAEG;IACG,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC;CAItC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { EmitterSubscription } from 'react-native';
|
|
2
|
+
import { BanksValidatableData } from 'src/models/banks/BanksCollectableData';
|
|
3
|
+
import { PrimerComponentDataValidationError, PrimerInvalidComponentData, PrimerValidComponentData, PrimerValidatingComponentData } from 'src/models/PrimerComponentDataValidation';
|
|
4
|
+
import { PrimerError } from 'src/models/PrimerError';
|
|
5
|
+
import { BanksStep } from 'src/models/banks/BanksSteps';
|
|
6
|
+
import { EventType } from './Utils/EventType';
|
|
7
|
+
export interface ComponentWithRedirectManagerProps {
|
|
8
|
+
paymentMethodType: string;
|
|
9
|
+
onStep?: (data: BanksStep) => void;
|
|
10
|
+
onError?: (error: PrimerError) => void;
|
|
11
|
+
onInvalid?: (data: PrimerInvalidComponentData<BanksValidatableData>) => void;
|
|
12
|
+
onValid?: (data: PrimerValidComponentData<BanksValidatableData>) => void;
|
|
13
|
+
onValidating?: (data: PrimerValidatingComponentData<BanksValidatableData>) => void;
|
|
14
|
+
onValidationError?: (data: PrimerComponentDataValidationError<BanksValidatableData>) => void;
|
|
15
|
+
}
|
|
16
|
+
export interface BanksComponent {
|
|
17
|
+
/**
|
|
18
|
+
* Starts the component, causing step emissions.
|
|
19
|
+
* First, with a {@link NamedComponentStep} instance where
|
|
20
|
+
* {@link NamedComponentStep.name} has a value of 'loading', followed
|
|
21
|
+
* by another emission that contains the list of banks in the form of an
|
|
22
|
+
* {@link IssuingBank} array.
|
|
23
|
+
*/
|
|
24
|
+
start(): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Selects the bank with the given {@link bankId}, triggering the
|
|
27
|
+
* validation flow.
|
|
28
|
+
* @param bankId The id of the selected bank.
|
|
29
|
+
* @deprecated use handleBankChange function instead.
|
|
30
|
+
*/
|
|
31
|
+
onBankSelected(bankId: string): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* Selects the bank with the given {@link bankId}, triggering the
|
|
34
|
+
* validation flow.
|
|
35
|
+
* @param bankId The id of the selected bank.
|
|
36
|
+
*/
|
|
37
|
+
handleBankChange(bankId: string): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Filters down the bank list with the given {@link filter}, triggering
|
|
40
|
+
* the validation flow and a new step emission that contains the filtered
|
|
41
|
+
* list of banks in the form of an {@link IssuingBank} array.
|
|
42
|
+
* @param filter The text to filter the bank list by.
|
|
43
|
+
* @deprecated use handleBankFilterChange function instead.
|
|
44
|
+
*/
|
|
45
|
+
onBankFilterChange(filter: string): Promise<void>;
|
|
46
|
+
/**
|
|
47
|
+
* Filters down the bank list with the given {@link filter}, triggering
|
|
48
|
+
* the validation flow and a new step emission that contains the filtered
|
|
49
|
+
* list of banks in the form of an {@link IssuingBank} array.
|
|
50
|
+
* @param filter The text to filter the bank list by.
|
|
51
|
+
*/
|
|
52
|
+
handleBankFilterChange(filter: string): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* Submits the component, triggering tokenization and a redirect to the
|
|
55
|
+
* bank's page for finalizing the payment. This function should only be
|
|
56
|
+
* called after selecting a bank via {@link handleBankChange}.
|
|
57
|
+
*/
|
|
58
|
+
submit(): Promise<void>;
|
|
59
|
+
}
|
|
60
|
+
export declare class PrimerHeadlessUniversalCheckoutComponentWithRedirectManager {
|
|
61
|
+
constructor();
|
|
62
|
+
provide(props: ComponentWithRedirectManagerProps): Promise<BanksComponent | any>;
|
|
63
|
+
private configureListeners;
|
|
64
|
+
addListener(eventType: EventType, listener: (...args: any[]) => any): Promise<EmitterSubscription>;
|
|
65
|
+
removeListener(subscription: EmitterSubscription): void;
|
|
66
|
+
removeAllListenersForEvent(eventType: EventType): void;
|
|
67
|
+
removeAllListeners(): void;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=ComponentWithRedirectManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ComponentWithRedirectManager.d.ts","sourceRoot":"","sources":["../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC7E,OAAO,EACL,kCAAkC,EAClC,0BAA0B,EAC1B,wBAAwB,EACxB,6BAA6B,EAC9B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AAM1D,MAAM,WAAW,iCAAiC;IAChD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,OAAO,CAAC,EAAE,CAAC,KAAK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IvD,0BAA0B,CAAC,SAAS,EAAE,SAAS;IAI/C,kBAAkB;CAGnB"}
|
package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { EmitterSubscription } from 'react-native';
|
|
2
|
+
import { PrimerComponentDataValidationError, PrimerInvalidComponentData, PrimerValidComponentData, PrimerValidatingComponentData } from 'src/models/PrimerComponentDataValidation';
|
|
3
|
+
import { PrimerError } from 'src/models/PrimerError';
|
|
4
|
+
import { KlarnaPaymentOptions, KlarnaPaymentValidatableData } from 'src/models/klarna/KlarnaPaymentCollectableData';
|
|
5
|
+
import { KlarnaPaymentStep } from 'src/models/klarna/KlarnaPaymentSteps';
|
|
6
|
+
import { EventType } from './Utils/EventType';
|
|
7
|
+
import { PrimerSessionIntent } from 'src/models/PrimerSessionIntent';
|
|
8
|
+
export interface KlarnaManagerProps {
|
|
9
|
+
primerSessionIntent: PrimerSessionIntent;
|
|
10
|
+
onStep?: (data: KlarnaPaymentStep) => void;
|
|
11
|
+
onError?: (error: PrimerError) => void;
|
|
12
|
+
onInvalid?: (data: PrimerInvalidComponentData<KlarnaPaymentValidatableData>) => void;
|
|
13
|
+
onValid?: (data: PrimerValidComponentData<KlarnaPaymentValidatableData>) => void;
|
|
14
|
+
onValidating?: (data: PrimerValidatingComponentData<KlarnaPaymentValidatableData>) => void;
|
|
15
|
+
onValidationError?: (data: PrimerComponentDataValidationError<KlarnaPaymentValidatableData>) => void;
|
|
16
|
+
}
|
|
17
|
+
export interface KlarnaComponent {
|
|
18
|
+
/**
|
|
19
|
+
* Starts the component, causing the {@link PaymentSessionCreated} step
|
|
20
|
+
* to be emitted.
|
|
21
|
+
*/
|
|
22
|
+
start(): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Sets the options to use when initializing the Klarna payment view,
|
|
25
|
+
* triggering the validation flow.
|
|
26
|
+
* @param paymentOptions The options to use when initializing the Klarna
|
|
27
|
+
* payment view.
|
|
28
|
+
* @deprecated use handlePaymentOptionsChange function instead.
|
|
29
|
+
*/
|
|
30
|
+
onSetPaymentOptions(paymentOptions: KlarnaPaymentOptions): Promise<void>;
|
|
31
|
+
/**
|
|
32
|
+
* Sets the options to use when initializing the Klarna payment view,
|
|
33
|
+
* triggering the validation flow.
|
|
34
|
+
* @param paymentOptions The options to use when initializing the Klarna
|
|
35
|
+
* payment view.
|
|
36
|
+
*/
|
|
37
|
+
handlePaymentOptionsChange(paymentOptions: KlarnaPaymentOptions): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Finalizes the payment.
|
|
40
|
+
* @deprecated use finalizePayment function instead.
|
|
41
|
+
*/
|
|
42
|
+
onFinalizePayment(): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Finalizes the payment.
|
|
45
|
+
*/
|
|
46
|
+
finalizePayment(): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Submits the component, initiating the payment authorization process.
|
|
49
|
+
* This function should only be called after setting the payment options
|
|
50
|
+
* {@link handlePaymentOptionsChange}.
|
|
51
|
+
*/
|
|
52
|
+
submit(): Promise<void>;
|
|
53
|
+
}
|
|
54
|
+
export declare class PrimerHeadlessUniversalCheckoutKlarnaManager {
|
|
55
|
+
constructor();
|
|
56
|
+
provide(props: KlarnaManagerProps): Promise<KlarnaComponent>;
|
|
57
|
+
private configureListeners;
|
|
58
|
+
addListener(eventType: EventType, listener: (...args: any[]) => any): Promise<EmitterSubscription>;
|
|
59
|
+
removeListener(subscription: EmitterSubscription): void;
|
|
60
|
+
removeAllListenersForEvent(eventType: EventType): void;
|
|
61
|
+
removeAllListeners(): void;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=KlarnaManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KlarnaManager.d.ts","sourceRoot":"","sources":["../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.ts"],"names":[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oB,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhF;;;OAGG;IACH,iBAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEnC;;OAEG;IACH,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjC;;;;OAIG;IACH,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CACzB;AAED,qBAAa,4CAA4C;;IAUjD,OAAO,CAAC,KAAK,EAAE,kBAAkB,GAAG,OAAO,CAAC,eAAe,CAAC;YA2BpD,kBAAkB;IA0C1B,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIxG,cAAc,CAAC,YAAY,EAAE,mBAAmB,GAAG,IAAI;IAIvD,0BAA0B,CAAC,SAAS,EAAE,SAAS;IAI/C,kBAAkB;CAGnB"}
|
package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PrimerSessionIntent } from 'src/models/PrimerSessionIntent';
|
|
2
|
+
declare class PrimerHeadlessUniversalCheckoutPaymentMethodNativeUIManager {
|
|
3
|
+
constructor();
|
|
4
|
+
configure(paymentMethodType: string): Promise<void>;
|
|
5
|
+
showPaymentMethod(intent: PrimerSessionIntent): Promise<void>;
|
|
6
|
+
}
|
|
7
|
+
export default PrimerHeadlessUniversalCheckoutPaymentMethodNativeUIManager;
|
|
8
|
+
//# sourceMappingURL=NativeUIManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NativeUIManager.d.ts","sourceRoot":"","sources":["../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAI1E,cAAM,2DAA2D;;IAUzD,SAAS,CAAC,iBAAiB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IASnD,iBAAiB,CAAC,MAAM,EAAE,mBAAmB,GAAG,OAAO,CAAC,IAAI,CAAC;CAGpE;AAED,eAAe,2DAA2D,CAAC"}
|
package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { type PrimerRawData as RawData } from '../../../models/PrimerRawData';
|
|
2
|
+
import { EmitterSubscription, EventSubscription } from 'react-native';
|
|
3
|
+
import type { PrimerInitializationData } from 'src/models/PrimerInitializationData';
|
|
4
|
+
import { PrimerError } from '../../../models/PrimerError';
|
|
5
|
+
import type { PrimerInputElementType } from '../../../models/PrimerInputElementType';
|
|
6
|
+
type EventType = 'onMetadataChange' | 'onValidation';
|
|
7
|
+
export interface RawDataManagerProps {
|
|
8
|
+
paymentMethodType: string;
|
|
9
|
+
onMetadataChange?: (metadata: any) => void;
|
|
10
|
+
onValidation?: (isValid: boolean, errors: PrimerError[] | undefined) => void;
|
|
11
|
+
}
|
|
12
|
+
declare class PrimerHeadlessUniversalCheckoutRawDataManager {
|
|
13
|
+
options?: RawDataManagerProps;
|
|
14
|
+
subscriptions: EventSubscription[];
|
|
15
|
+
constructor();
|
|
16
|
+
configure(options: RawDataManagerProps): Promise<{
|
|
17
|
+
initializationData: PrimerInitializationData;
|
|
18
|
+
} | void>;
|
|
19
|
+
configureListeners(): Promise<void>;
|
|
20
|
+
getRequiredInputElementTypes(): Promise<PrimerInputElementType[]>;
|
|
21
|
+
setRawData(rawData: RawData): Promise<void>;
|
|
22
|
+
submit(): Promise<void>;
|
|
23
|
+
cleanUp(): Promise<void>;
|
|
24
|
+
addListener(eventType: EventType, listener: (...args: any[]) => any): Promise<EmitterSubscription>;
|
|
25
|
+
removeListener(subscription: EmitterSubscription): void;
|
|
26
|
+
removeAllListenersForEvent(eventType: EventType): void;
|
|
27
|
+
removeAllListeners(): void;
|
|
28
|
+
}
|
|
29
|
+
export default PrimerHeadlessUniversalCheckoutRawDataManager;
|
|
30
|
+
//# sourceMappingURL=RawDataManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RawDataManager.d.ts","sourceRoot":"","sources":["../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,IAAI,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAqC,mBAAmB,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AACzG,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAKrF,KAAK,SAAS,GAAG,kBAAkB,GAAG,cAAc,CAAC;AAIrD,MAAM,WAAW,mBAAmB;IAClC,iBAAiB,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,KAAK,IAAI,CAAC;IAC3C,YAAY,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;CAC9E;AAED,cAAM,6CAA6C;IACjD,OAAO,CAAC,EAAE,mBAAmB,CAAC;IAE9B,aAAa,EAAE,iBAAiB,EAAE,CAAM;;IAWlC,SAAS,CAAC,OAAO,EAAE,mBAAmB,GAAG,OAAO,CAAC;QAAE,kBAAkB,EAAE,wBAAwB,CAAA;KAAE,GAAG,IAAI,CAAC;IAiBzG,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC;IAqBnC,4BAA4B,IAAI,OAAO,CAAC,sBAAsB,EAAE,CAAC;IAuBvE,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAsB3C,MAAM,IAAI,OAAO,CAAC,IAAI,CAAC;IAsBvB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;IA0BlB,WAAW,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAIxG,cAAc,CAAC,YAAY,EAAE,mBAAmB,GAAG,IAAI;IAIvD,0BAA0B,CAAC,SAAS,EAAE,SAAS;IAI/C,kBAAkB;CAGnB;AAED,eAAe,6CAA6C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventType.d.ts","sourceRoot":"","sources":["../../../../../../src/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,cAAc,GAAG,mBAAmB,CAAC;AAE9G,eAAO,MAAM,UAAU,EAAE,SAAS,EAOjC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PrimerValidationError as ValidationError } from 'src/models/PrimerValidationError';
|
|
2
|
+
import { PrimerVaultedPaymentMethod as VaultedPaymentMethod } from 'src/models/PrimerVaultedPaymentMethod';
|
|
3
|
+
import { PrimerVaultedPaymentMethodAdditionalData as VaultedPaymentMethodAdditionalData } from 'src/models/PrimerVaultedPaymentMethodAdditionalData';
|
|
4
|
+
declare class PrimerHeadlessUniversalCheckoutVaultManager {
|
|
5
|
+
constructor();
|
|
6
|
+
configure(): Promise<void>;
|
|
7
|
+
fetchVaultedPaymentMethods(): Promise<VaultedPaymentMethod[]>;
|
|
8
|
+
deleteVaultedPaymentMethod(vaultedPaymentMethodId: string): Promise<void>;
|
|
9
|
+
validate(vaultedPaymentMethodId: string, additionalData: VaultedPaymentMethodAdditionalData): Promise<ValidationError[]>;
|
|
10
|
+
startPaymentFlow(vaultedPaymentMethodId: string, additionalData?: VaultedPaymentMethodAdditionalData): Promise<void>;
|
|
11
|
+
}
|
|
12
|
+
export default PrimerHeadlessUniversalCheckoutVaultManager;
|
|
13
|
+
//# sourceMappingURL=VaultManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VaultManager.d.ts","sourceRoot":"","sources":["../../../../src/HeadlessUniversalCheckout/Managers/VaultManager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,qBAAqB,IAAI,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,IAAI,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAC3G,OAAO,EAAE,wCAAwC,IAAI,kCAAkC,EAAE,MAAM,qDAAqD,CAAC;AAMrJ,cAAM,2CAA2C;;IAUzC,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC;IAY1B,0BAA0B,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;IAe7D,0BAA0B,CAAC,sBAAsB,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAYzE,QAAQ,CACZ,sBAAsB,EAAE,MAAM,EAC9B,cAAc,EAAE,kCAAkC,GACjD,OAAO,CAAC,eAAe,EAAE,CAAC;IAgBvB,gBAAgB,CACpB,sBAAsB,EAAE,MAAM,EAC9B,cAAc,CAAC,EAAE,kCAAkC,GAClD,OAAO,CAAC,IAAI,CAAC;CAkBjB;AAqBD,eAAe,2CAA2C,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { PrimerSettings } from '../models/PrimerSettings';
|
|
2
|
+
import type { IPrimerHeadlessUniversalCheckoutPaymentMethod } from '../models/PrimerHeadlessUniversalCheckoutPaymentMethod';
|
|
3
|
+
export declare let primerSettings: PrimerSettings | undefined;
|
|
4
|
+
declare class PrimerHeadlessUniversalCheckoutClass {
|
|
5
|
+
constructor();
|
|
6
|
+
startWithClientToken(clientToken: string, settings: PrimerSettings): Promise<IPrimerHeadlessUniversalCheckoutPaymentMethod[]>;
|
|
7
|
+
cleanUp(): Promise<void>;
|
|
8
|
+
}
|
|
9
|
+
export declare const PrimerHeadlessUniversalCheckout: PrimerHeadlessUniversalCheckoutClass;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=PrimerHeadlessUniversalCheckout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrimerHeadlessUniversalCheckout.d.ts","sourceRoot":"","sources":["../../../src/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,OAAO,KAAK,EAAE,6CAA6C,EAAE,MAAM,wDAAwD,CAAC;AA8D5H,eAAO,IAAI,cAAc,EAAE,cAAc,GAAG,SAAS,CAAC;AA+MtD,cAAM,oCAAoC;;IASxC,oBAAoB,CAClB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,cAAc,GACvB,OAAO,CAAC,6CAA6C,EAAE,CAAC;IA2B3D,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC;CAGzB;AAED,eAAO,MAAM,+BAA+B,sCAA6C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EmitterSubscription } from 'react-native';
|
|
2
|
+
import type { PrimerSettings } from '../models/PrimerSettings';
|
|
3
|
+
import { EventSubscription } from 'react-native';
|
|
4
|
+
type EventType = 'onAvailablePaymentMethodsLoad' | 'onTokenizationStart' | 'onTokenizationSuccess' | 'onCheckoutResume' | 'onCheckoutPending' | 'onCheckoutAdditionalInfo' | 'onError' | 'onCheckoutComplete' | 'onBeforeClientSessionUpdate' | 'onClientSessionUpdate' | 'onBeforePaymentCreate' | 'onPreparationStart' | 'onPaymentMethodShow';
|
|
5
|
+
declare const RNPrimerHeadlessUniversalCheckout: {
|
|
6
|
+
addListener(eventType: EventType, listener: (...args: any[]) => any): EventSubscription;
|
|
7
|
+
removeListener(subscription: EmitterSubscription): void;
|
|
8
|
+
removeAllListenersForEvent(eventType: EventType): void;
|
|
9
|
+
removeAllListeners(): void;
|
|
10
|
+
startWithClientToken(clientToken: string, settings: PrimerSettings): Promise<any>;
|
|
11
|
+
handleTokenizationNewClientToken: (newClientToken: string) => Promise<void>;
|
|
12
|
+
handleResumeWithNewClientToken: (newClientToken: string) => Promise<void>;
|
|
13
|
+
handleCompleteFlow: () => Promise<void>;
|
|
14
|
+
handlePaymentCreationAbort: (errorMessage: string | null) => Promise<void>;
|
|
15
|
+
handlePaymentCreationContinue: () => Promise<void>;
|
|
16
|
+
setImplementedRNCallbacks: (implementedRNCallbacks: any) => Promise<void>;
|
|
17
|
+
cleanUp: () => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export default RNPrimerHeadlessUniversalCheckout;
|
|
20
|
+
//# sourceMappingURL=RNPrimerHeadlessUniversalCheckout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RNPrimerHeadlessUniversalCheckout.d.ts","sourceRoot":"","sources":["../../../src/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAMjD,KAAK,SAAS,GACV,+BAA+B,GAC/B,qBAAqB,GACrB,uBAAuB,GACvB,kBAAkB,GAClB,mBAAmB,GACnB,0BAA0B,GAC1B,SAAS,GACT,oBAAoB,GACpB,6BAA6B,GAC7B,uBAAuB,GACvB,uBAAuB,GACvB,oBAAoB,GACpB,qBAAqB,CAAC;AAsB1B,QAAA,MAAM,iCAAiC;2BAId,SAAS,YAAY,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,GAAG,iBAAiB;iCAI1D,mBAAmB,GAAG,IAAI;0CAGjB,SAAS;;sCAYb,MAAM,YAAY,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC;uDAU9B,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;qDAaxB,MAAM,KAAG,OAAO,CAAC,IAAI,CAAC;8BAW/C,OAAO,CAAC,IAAI,CAAC;+CAaM,MAAM,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;yCAWrC,OAAO,CAAC,IAAI,CAAC;wDAaI,GAAG,KAAG,OAAO,CAAC,IAAI,CAAC;mBAW1D,OAAO,CAAC,IAAI,CAAC;CAU3B,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/HeadlessUniversalCheckout/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Primer.d.ts","sourceRoot":"","sources":["../../src/Primer.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AA0OzD,eAAO,MAAM,MAAM,EAAE,OA8DpB,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { EmitterSubscription } from 'react-native';
|
|
2
|
+
import type { PrimerSettings } from './models/PrimerSettings';
|
|
3
|
+
import { EventSubscription } from 'react-native';
|
|
4
|
+
type EventType = 'onCheckoutComplete' | 'onBeforeClientSessionUpdate' | 'onClientSessionUpdate' | 'onBeforePaymentCreate' | 'onError' | 'onDismiss' | 'onTokenizeSuccess' | 'onResumeSuccess' | 'onResumePending' | 'onCheckoutReceivedAdditionalInfo' | 'detectImplementedRNCallbacks';
|
|
5
|
+
export interface IPrimerError {
|
|
6
|
+
errorId: string;
|
|
7
|
+
errorDescription?: string;
|
|
8
|
+
recoverySuggestion?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const RNPrimer: {
|
|
11
|
+
addListener(eventType: EventType, listener: (...args: any[]) => any): EventSubscription;
|
|
12
|
+
removeListener(subscription: EmitterSubscription): void;
|
|
13
|
+
removeAllListenersForEvent(eventType: EventType): void;
|
|
14
|
+
removeAllListeners(): void;
|
|
15
|
+
configure: (settings: PrimerSettings | undefined) => Promise<void>;
|
|
16
|
+
showUniversalCheckout: (clientToken: string) => Promise<void>;
|
|
17
|
+
showVaultManager: (clientToken: string | undefined) => Promise<void>;
|
|
18
|
+
showPaymentMethod: (paymentMethod: string, intent: string, clientToken: string) => Promise<void>;
|
|
19
|
+
dismiss: () => Promise<void>;
|
|
20
|
+
cleanUp: () => Promise<void>;
|
|
21
|
+
handleTokenizationNewClientToken: (newClientToken: string) => Promise<void>;
|
|
22
|
+
handleTokenizationSuccess: () => Promise<void>;
|
|
23
|
+
handleTokenizationFailure: (errorMessage: string | null) => Promise<void>;
|
|
24
|
+
handleResumeWithNewClientToken: (newClientToken: string) => Promise<void>;
|
|
25
|
+
handleResumeSuccess: () => Promise<void>;
|
|
26
|
+
handleResumeFailure: (errorMessage: string | null) => Promise<void>;
|
|
27
|
+
handlePaymentCreationAbort: (errorMessage: string | null) => Promise<void>;
|
|
28
|
+
handlePaymentCreationContinue: () => Promise<void>;
|
|
29
|
+
showErrorMessage: (errorMessage: string | null) => Promise<void>;
|
|
30
|
+
handleSuccess: () => Promise<void>;
|
|
31
|
+
setImplementedRNCallbacks: (implementedRNCallbacks: any) => Promise<void>;
|
|
32
|
+
};
|
|
33
|
+
export default RNPrimer;
|
|
34
|
+
//# sourceMappingURL=RNPrimer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RNPrimer.d.ts","sourceRoot":"","sources":["../../src/RNPrimer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,mBAAmB,EAAE,MAAM,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,GAAG,IAAI,KAAG,OAAO,CAAC,IAAI,CAAC;yBAW3C,OAAO,CAAC,IAAI,CAAC;wDAaoB,GAAG,KAAG,OAAO,CAAC,IAAI,CAAC;CAUxE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts","sourceRoot":"","sources":["../../src/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.tsx"],"names":[],"mappings":"AACA,eAAO,MAAQ,gDAAgD,KAAkB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export { Primer } from './Primer';
|
|
2
|
+
export type { PrimerSettings, PrimerApiVersion } from './models/PrimerSettings';
|
|
3
|
+
export { PrimerInputElementType as InputElementType } from './models/PrimerInputElementType';
|
|
4
|
+
export { PrimerSessionIntent as SessionIntent } from './models/PrimerSessionIntent';
|
|
5
|
+
export type { PrimerPaymentCreationHandler as PaymentCreationHandler, PrimerTokenizationHandler as TokenizationHandler, PrimerResumeHandler as ResumeHandler, PrimerErrorHandler as ErrorHandler, } from './models/PrimerHandlers';
|
|
6
|
+
export type { PrimerPaymentMethodTokenData } from './models/PrimerPaymentMethodTokenData';
|
|
7
|
+
export type { PrimerClientSession as ClientSession, PrimerOrder as Order, PrimerLineItem as LineItem, PrimerCustomer as Customer, PrimerAddress as Address, } from './models/PrimerClientSession';
|
|
8
|
+
export type { PrimerRawData as RawData, PrimerCardData as CardData, PrimerBancontactCardData as BancontactCardData, PrimerPhoneNumberData as PhoneNumberData, PrimerRetailerData as RetailerData, } from './models/PrimerRawData';
|
|
9
|
+
export type { PrimerCheckoutAdditionalInfo as CheckoutAdditionalInfo, MultibancoCheckoutAdditionalInfo, } from './models/PrimerCheckoutAdditionalInfo';
|
|
10
|
+
export type { RetailOutletsRetail } from './models/RetailOutletsRetail';
|
|
11
|
+
export type { PrimerCheckoutData as CheckoutData, PrimerCheckoutDataPayment as CheckoutDataPayment, } from './models/PrimerCheckoutData';
|
|
12
|
+
export type { PrimerCheckoutPaymentMethodData as CheckoutPaymentMethodData } from './models/PrimerCheckoutPaymentMethodData';
|
|
13
|
+
export { PrimerError } from './models/PrimerError';
|
|
14
|
+
export type { PrimerPaymentMethodAsset as Asset } from './models/PrimerPaymentMethodResource';
|
|
15
|
+
export type { IPrimerPaymentMethodResource as Resource, PrimerPaymentMethodAsset as AssetResource, PrimerPaymentMethodNativeView as NativeViewResource, IPrimerAsset as AssetResourceColors, } from './models/PrimerPaymentMethodResource';
|
|
16
|
+
export { PrimerHeadlessUniversalCheckout as HeadlessUniversalCheckout } from './HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout';
|
|
17
|
+
export type { IPrimerHeadlessUniversalCheckoutPaymentMethod as PaymentMethod } from './models/PrimerHeadlessUniversalCheckoutPaymentMethod';
|
|
18
|
+
export { default as AssetsManager } from './HeadlessUniversalCheckout/Managers/AssetsManager';
|
|
19
|
+
export { default as NativeUIManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager';
|
|
20
|
+
export { default as RawDataManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager';
|
|
21
|
+
export type { IPrimerVaultedPaymentMethod as VaultedPaymentMethod } from './models/PrimerVaultedPaymentMethod';
|
|
22
|
+
export type { IPrimerVaultedPaymentMethodAdditonalData as VaultedPaymentMethodAdditionalData } from './models/PrimerVaultedPaymentMethodAdditionalData';
|
|
23
|
+
export type { IPrimerValidationError as ValidationError } from './models/PrimerValidationError';
|
|
24
|
+
export { default as VaultManager } from './HeadlessUniversalCheckout/Managers/VaultManager';
|
|
25
|
+
export { PrimerHeadlessUniversalCheckoutKlarnaManager as KlarnaManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager';
|
|
26
|
+
export type { KlarnaComponent, KlarnaManagerProps, } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager';
|
|
27
|
+
export type { NamedComponentStep } from './models/NamedComponentStep';
|
|
28
|
+
export type { KlarnaPaymentCategory } from './models/klarna/KlarnaPaymentCategory';
|
|
29
|
+
export type { PrimerValidComponentData, PrimerValidatingComponentData, PrimerInvalidComponentData, PrimerComponentDataValidationError, } from './models/PrimerComponentDataValidation';
|
|
30
|
+
export type { KlarnaPaymentOptions, KlarnaPaymentFinalization, KlarnaPaymentValidatableData, } from './models/klarna/KlarnaPaymentCollectableData';
|
|
31
|
+
export type { PaymentSessionCreated, PaymentSessionAuthorized, PaymentSessionFinalized, PaymentViewLoaded, KlarnaPaymentStep, } from './models/klarna/KlarnaPaymentSteps';
|
|
32
|
+
export { PrimerKlarnaPaymentView } from './HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView';
|
|
33
|
+
export { NativeResourceView, PrimerGooglePayButtonConstants, } from './HeadlessUniversalCheckout/Components/NativeResourceView';
|
|
34
|
+
export { PrimerGooglePayButton } from './HeadlessUniversalCheckout/Components/PrimerGooglePayButton';
|
|
35
|
+
export type { UserDetailsRetrieved as CollectUserDetails, UserDetailsCollected, AchStep } from './models/ach/AchSteps';
|
|
36
|
+
export type { AchFirstName, AchLastName, AchEmailAddress, AchValidatableData } from './models/ach/AchCollectableData';
|
|
37
|
+
export { PrimerHeadlessUniversalCheckoutAchManager as AchManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager';
|
|
38
|
+
export type { StripeAchUserDetailsComponent, AchManagerProps, } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager';
|
|
39
|
+
export { PrimerHeadlessUniversalCheckoutAchMandateManager as AchMandateManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager';
|
|
40
|
+
export { PrimerHeadlessUniversalCheckoutComponentWithRedirectManager as ComponentWithRedirectManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager';
|
|
41
|
+
export type { BanksComponent, ComponentWithRedirectManagerProps, } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager';
|
|
42
|
+
export type { IssuingBank } from './models/IssuingBank';
|
|
43
|
+
export type { BankId, BankListFilter, BanksValidatableData } from './models/banks/BanksCollectableData';
|
|
44
|
+
export type { BanksLoading, BanksRetrieved, BanksStep } from './models/banks/BanksSteps';
|
|
45
|
+
export type { NamedComponentValidatableData } from './models/NamedComponentValidatableData';
|
|
46
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAAE,sBAAsB,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACpF,YAAY,EACV,4BAA4B,IAAI,sBAAsB,EACtD,yBAAyB,IAAI,mBAAmB,EAChD,mBAAmB,IAAI,aAAa,EACpC,kBAAkB,IAAI,YAAY,GACnC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAC1F,YAAY,EACV,mBAAmB,IAAI,aAAa,EACpC,WAAW,IAAI,KAAK,EACpB,cAAc,IAAI,QAAQ,EAC1B,cAAc,IAAI,QAAQ,EAC1B,aAAa,IAAI,OAAO,GACzB,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,aAAa,IAAI,OAAO,EACxB,cAAc,IAAI,QAAQ,EAC1B,wBAAwB,IAAI,kBAAkB,EAC9C,qBAAqB,IAAI,eAAe,EACxC,kBAAkB,IAAI,YAAY,GACnC,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,4BAA4B,IAAI,sBAAsB,EACtD,gCAAgC,GACjC,MAAM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E,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACzF,YAAY,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IssuingBank.d.ts","sourceRoot":"","sources":["../../../src/models/IssuingBank.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC;AAEvC,UAAU,YAAY;IACpB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type NamedComponentStep = INamedComponentStep;
|
|
2
|
+
/**
|
|
3
|
+
* A component step that can be identified via its name.
|
|
4
|
+
*/
|
|
5
|
+
interface INamedComponentStep {
|
|
6
|
+
/**
|
|
7
|
+
* The name of this component step.
|
|
8
|
+
*/
|
|
9
|
+
stepName: string;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=NamedComponentStep.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamedComponentStep.d.ts","sourceRoot":"","sources":["../../../src/models/NamedComponentStep.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAErD;;GAEG;AACH,UAAU,mBAAmB;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type NamedComponentValidatableData = INamedComponentValidatableData;
|
|
2
|
+
/**
|
|
3
|
+
* A component-validatable data that can be identified via its name.
|
|
4
|
+
*/
|
|
5
|
+
interface INamedComponentValidatableData {
|
|
6
|
+
/**
|
|
7
|
+
* The name of this component-validatable data.
|
|
8
|
+
*/
|
|
9
|
+
validatableDataName: string;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=NamedComponentValidatableData.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamedComponentValidatableData.d.ts","sourceRoot":"","sources":["../../../src/models/NamedComponentValidatableData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,8BAA8B,CAAC;AAE3E;;GAEG;AACH,UAAU,8BAA8B;IACtC;;OAEG;IACH,mBAAmB,EAAE,MAAM,CAAC;CAC7B"}
|