@primer-io/react-native 2.36.0 → 2.37.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/android/build.gradle +3 -3
- package/android/gradle.properties +4 -4
- package/android/src/main/java/com/primerioreactnative/PrimerRN.kt +2 -2
- package/android/src/main/java/com/primerioreactnative/datamodels/PrimerSettingsRN.kt +0 -1
- package/ios/Sources/DataModels/PrimerSettings+Extensions.swift +0 -2
- package/ios/Sources/version.swift +1 -1
- package/lib/commonjs/index.js +0 -389
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js +11 -58
- package/lib/module/index.js.map +1 -1
- package/package.json +14 -15
- package/primer-io-react-native.podspec +5 -1
- package/src/index.tsx +39 -75
- package/src/models/PrimerSettings.ts +1 -1
- package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts +0 -11
- package/lib/typescript/HeadlessUniversalCheckout/Components/NativeResourceView.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts +0 -6
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerGooglePayButton.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts +0 -2
- package/lib/typescript/HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts +0 -18
- package/lib/typescript/HeadlessUniversalCheckout/Managers/AssetsManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts +0 -53
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts +0 -12
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts +0 -69
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts +0 -63
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts +0 -8
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts +0 -30
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts +0 -3
- package/lib/typescript/HeadlessUniversalCheckout/Managers/PaymentMethodManagers/Utils/EventType.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts +0 -13
- package/lib/typescript/HeadlessUniversalCheckout/Managers/VaultManager.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts +0 -11
- package/lib/typescript/HeadlessUniversalCheckout/PrimerHeadlessUniversalCheckout.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts +0 -20
- package/lib/typescript/HeadlessUniversalCheckout/RNPrimerHeadlessUniversalCheckout.d.ts.map +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/types.d.ts +0 -1
- package/lib/typescript/HeadlessUniversalCheckout/types.d.ts.map +0 -1
- package/lib/typescript/Primer.d.ts +0 -3
- package/lib/typescript/Primer.d.ts.map +0 -1
- package/lib/typescript/RNPrimer.d.ts +0 -34
- package/lib/typescript/RNPrimer.d.ts.map +0 -1
- package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts +0 -2
- package/lib/typescript/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -67
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/models/IssuingBank.d.ts +0 -9
- package/lib/typescript/models/IssuingBank.d.ts.map +0 -1
- package/lib/typescript/models/NamedComponentStep.d.ts +0 -12
- package/lib/typescript/models/NamedComponentStep.d.ts.map +0 -1
- package/lib/typescript/models/NamedComponentValidatableData.d.ts +0 -12
- package/lib/typescript/models/NamedComponentValidatableData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts +0 -39
- package/lib/typescript/models/PrimerCheckoutAdditionalInfo.d.ts.map +0 -1
- package/lib/typescript/models/PrimerCheckoutData.d.ts +0 -18
- package/lib/typescript/models/PrimerCheckoutData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts +0 -7
- package/lib/typescript/models/PrimerCheckoutPaymentMethodData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerClientSession.d.ts +0 -53
- package/lib/typescript/models/PrimerClientSession.d.ts.map +0 -1
- package/lib/typescript/models/PrimerComponentDataValidation.d.ts +0 -54
- package/lib/typescript/models/PrimerComponentDataValidation.d.ts.map +0 -1
- package/lib/typescript/models/PrimerCountryCode.d.ts +0 -4
- package/lib/typescript/models/PrimerCountryCode.d.ts.map +0 -1
- package/lib/typescript/models/PrimerCurrencyCode.d.ts +0 -4
- package/lib/typescript/models/PrimerCurrencyCode.d.ts.map +0 -1
- package/lib/typescript/models/PrimerError.d.ts +0 -9
- package/lib/typescript/models/PrimerError.d.ts.map +0 -1
- package/lib/typescript/models/PrimerHandlers.d.ts +0 -22
- package/lib/typescript/models/PrimerHandlers.d.ts.map +0 -1
- package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts +0 -6
- package/lib/typescript/models/PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts.map +0 -1
- package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts +0 -17
- package/lib/typescript/models/PrimerImplementedRNCallbacks.d.ts.map +0 -1
- package/lib/typescript/models/PrimerInitializationData.d.ts +0 -10
- package/lib/typescript/models/PrimerInitializationData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerInputElementType.d.ts +0 -12
- package/lib/typescript/models/PrimerInputElementType.d.ts.map +0 -1
- package/lib/typescript/models/PrimerInterfaces.d.ts +0 -10
- package/lib/typescript/models/PrimerInterfaces.d.ts.map +0 -1
- package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts +0 -6
- package/lib/typescript/models/PrimerPaymentMethodManagerCategory.d.ts.map +0 -1
- package/lib/typescript/models/PrimerPaymentMethodResource.d.ts +0 -19
- package/lib/typescript/models/PrimerPaymentMethodResource.d.ts.map +0 -1
- package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts +0 -78
- package/lib/typescript/models/PrimerPaymentMethodTokenData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerRawData.d.ts +0 -20
- package/lib/typescript/models/PrimerRawData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerSessionIntent.d.ts +0 -5
- package/lib/typescript/models/PrimerSessionIntent.d.ts.map +0 -1
- package/lib/typescript/models/PrimerSettings.d.ts +0 -173
- package/lib/typescript/models/PrimerSettings.d.ts.map +0 -1
- package/lib/typescript/models/PrimerTheme.d.ts +0 -24
- package/lib/typescript/models/PrimerTheme.d.ts.map +0 -1
- package/lib/typescript/models/PrimerValidationError.d.ts +0 -7
- package/lib/typescript/models/PrimerValidationError.d.ts.map +0 -1
- package/lib/typescript/models/PrimerValidationErrorResult.d.ts +0 -6
- package/lib/typescript/models/PrimerValidationErrorResult.d.ts.map +0 -1
- package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts +0 -11
- package/lib/typescript/models/PrimerVaultedPaymentMethod.d.ts.map +0 -1
- package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts +0 -5
- package/lib/typescript/models/PrimerVaultedPaymentMethodAdditionalData.d.ts.map +0 -1
- package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts +0 -6
- package/lib/typescript/models/PrimerVaultedPaymentMethodResult.d.ts.map +0 -1
- package/lib/typescript/models/RetailOutletsRetail.d.ts +0 -9
- package/lib/typescript/models/RetailOutletsRetail.d.ts.map +0 -1
- package/lib/typescript/models/ach/AchCollectableData.d.ts +0 -25
- package/lib/typescript/models/ach/AchCollectableData.d.ts.map +0 -1
- package/lib/typescript/models/ach/AchSteps.d.ts +0 -28
- package/lib/typescript/models/ach/AchSteps.d.ts.map +0 -1
- package/lib/typescript/models/banks/BanksCollectableData.d.ts +0 -23
- package/lib/typescript/models/banks/BanksCollectableData.d.ts.map +0 -1
- package/lib/typescript/models/banks/BanksSteps.d.ts +0 -20
- package/lib/typescript/models/banks/BanksSteps.d.ts.map +0 -1
- package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts +0 -24
- package/lib/typescript/models/klarna/KlarnaPaymentCategory.d.ts.map +0 -1
- package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts +0 -24
- package/lib/typescript/models/klarna/KlarnaPaymentCollectableData.d.ts.map +0 -1
- package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts +0 -36
- package/lib/typescript/models/klarna/KlarnaPaymentSteps.d.ts.map +0 -1
- package/lib/typescript/utils/index.d.ts +0 -4
- package/lib/typescript/utils/index.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
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,+BA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C,SAAS,EAAE,SAAS;IAI/C,kBAAkB;CAGnB;AAED,eAAe,6CAA6C,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,sBAAsB,GAAG,EAAE,KAAK,GAAG,GAAG,iBAAiB;iCAI1D,mBAAmB,GAAG,IAAI;0CAGjB,SAAS;;sCAYb,MAAM,YAAY,cAAc,GAAG,QAAQ,GAAG,CAAC;uDAU9B,MAAM,KAAG,QAAQ,IAAI,CAAC;qDAaxB,MAAM,KAAG,QAAQ,IAAI,CAAC;8BAW/C,QAAQ,IAAI,CAAC;+CAaM,MAAM,GAAG,IAAI,KAAG,QAAQ,IAAI,CAAC;yCAWrC,QAAQ,IAAI,CAAC;wDAaI,GAAG,KAAG,QAAQ,IAAI,CAAC;mBAW1D,QAAQ,IAAI,CAAC;CAU3B,CAAC;AAEF,eAAe,iCAAiC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/HeadlessUniversalCheckout/types.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RNPrimer.d.ts","sourceRoot":"","sources":["../../src/RNPrimer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,mBAAmB,EAAE,MAAM,cAAc,CAAC;AACtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAKjD,KAAK,SAAS,GACV,oBAAoB,GACpB,6BAA6B,GAC7B,uBAAuB,GACvB,uBAAuB,GACvB,SAAS,GACT,WAAW,GACX,mBAAmB,GACnB,iBAAiB,GACjB,iBAAiB,GACjB,kCAAkC,GAClC,8BAA8B,CAAC;AAEnC,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAgBD,QAAA,MAAM,QAAQ;2BAKW,SAAS,sBAAsB,GAAG,EAAE,KAAK,GAAG,GAAG,iBAAiB;iCAI1D,mBAAmB;0CAIV,SAAS;;0BAWzB,cAAc,GAAG,SAAS,KAAG,QAAQ,IAAI,CAAC;yCAW3B,MAAM,KAAG,QAAQ,IAAI,CAAC;oCAW3B,MAAM,GAAG,SAAS,KAAG,QAAQ,IAAI,CAAC;uCAW/B,MAAM,UAAU,MAAM,eAAe,MAAM,KAAG,QAAQ,IAAI,CAAC;mBAWjF,QAAQ,IAAI,CAAC;mBAWb,QAAQ,IAAI,CAAC;uDAiByB,MAAM,KAAG,QAAQ,IAAI,CAAC;qCAW1C,QAAQ,IAAI,CAAC;8CAWF,MAAM,GAAG,IAAI,KAAG,QAAQ,IAAI,CAAC;qDAatB,MAAM,KAAG,QAAQ,IAAI,CAAC;+BAW9C,QAAQ,IAAI,CAAC;wCAWF,MAAM,GAAG,IAAI,KAAG,QAAQ,IAAI,CAAC;+CAatB,MAAM,GAAG,IAAI,KAAG,QAAQ,IAAI,CAAC;yCAWrC,QAAQ,IAAI,CAAC;qCAaf,MAAM,GAAG,IAAI,KAAG,QAAQ,IAAI,CAAC;yBAW3C,QAAQ,IAAI,CAAC;wDAaoB,GAAG,KAAG,QAAQ,IAAI,CAAC;CAUxE,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.d.ts","sourceRoot":"","sources":["../../src/RNTPrimerHeadlessUniversalCheckoutCardFormUIManager.tsx"],"names":[],"mappings":"AACA,eAAO,MAAQ,gDAAgD,KAAkB,CAAC"}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
export { Primer } from './Primer';
|
|
2
|
-
export { PrimerSettings, PrimerApiVersion } from './models/PrimerSettings';
|
|
3
|
-
export { PrimerInputElementType as InputElementType } from './models/PrimerInputElementType';
|
|
4
|
-
export { PrimerSessionIntent as SessionIntent } from './models/PrimerSessionIntent';
|
|
5
|
-
export { PrimerPaymentCreationHandler as PaymentCreationHandler, PrimerTokenizationHandler as TokenizationHandler, PrimerResumeHandler as ResumeHandler, PrimerErrorHandler as ErrorHandler, } from './models/PrimerHandlers';
|
|
6
|
-
export { PrimerPaymentMethodTokenData } from './models/PrimerPaymentMethodTokenData';
|
|
7
|
-
export { PrimerClientSession as ClientSession, PrimerOrder as Order, PrimerLineItem as LineItem, PrimerCustomer as Customer, PrimerAddress as Address, } from './models/PrimerClientSession';
|
|
8
|
-
export { PrimerRawData as RawData, PrimerCardData as CardData, PrimerBancontactCardData as BancontactCardData, PrimerPhoneNumberData as PhoneNumberData, PrimerRetailerData as RetailerData, } from './models/PrimerRawData';
|
|
9
|
-
export { PrimerCheckoutAdditionalInfo as CheckoutAdditionalInfo, MultibancoCheckoutAdditionalInfo, } from './models/PrimerCheckoutAdditionalInfo';
|
|
10
|
-
export { RetailOutletsRetail } from './models/RetailOutletsRetail';
|
|
11
|
-
export { PrimerCheckoutData as CheckoutData, PrimerCheckoutDataPayment as CheckoutDataPayment, } from './models/PrimerCheckoutData';
|
|
12
|
-
export { 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
|
-
import PrimerHeadlessUniversalCheckoutAssetsManager from './HeadlessUniversalCheckout/Managers/AssetsManager';
|
|
19
|
-
export { PrimerHeadlessUniversalCheckoutAssetsManager as AssetsManager };
|
|
20
|
-
import PrimerHeadlessUniversalCheckoutPaymentMethodNativeUIManager from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/NativeUIManager';
|
|
21
|
-
export { PrimerHeadlessUniversalCheckoutPaymentMethodNativeUIManager as NativeUIManager };
|
|
22
|
-
import PrimerHeadlessUniversalCheckoutRawDataManager from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/RawDataManager';
|
|
23
|
-
export { PrimerHeadlessUniversalCheckoutRawDataManager as RawDataManager };
|
|
24
|
-
export { IPrimerVaultedPaymentMethod as VaultedPaymentMethod } from './models/PrimerVaultedPaymentMethod';
|
|
25
|
-
export { IPrimerVaultedPaymentMethodAdditonalData as VaultedPaymentMethodAdditionalData } from './models/PrimerVaultedPaymentMethodAdditionalData';
|
|
26
|
-
export { IPrimerValidationError as ValidationError } from './models/PrimerValidationError';
|
|
27
|
-
import PrimerHeadlessUniversalCheckoutVaultManager from './HeadlessUniversalCheckout/Managers/VaultManager';
|
|
28
|
-
export { PrimerHeadlessUniversalCheckoutVaultManager as VaultManager };
|
|
29
|
-
import { PrimerHeadlessUniversalCheckoutKlarnaManager, KlarnaComponent, KlarnaManagerProps } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/KlarnaManager';
|
|
30
|
-
export { PrimerHeadlessUniversalCheckoutKlarnaManager as KlarnaManager, KlarnaComponent, KlarnaManagerProps };
|
|
31
|
-
import { NamedComponentStep } from './models/NamedComponentStep';
|
|
32
|
-
export { NamedComponentStep };
|
|
33
|
-
import { KlarnaPaymentCategory } from './models/klarna/KlarnaPaymentCategory';
|
|
34
|
-
export { KlarnaPaymentCategory };
|
|
35
|
-
import { PrimerValidComponentData, PrimerValidatingComponentData, PrimerInvalidComponentData, PrimerComponentDataValidationError } from './models/PrimerComponentDataValidation';
|
|
36
|
-
export { PrimerValidComponentData, PrimerValidatingComponentData, PrimerInvalidComponentData, PrimerComponentDataValidationError, };
|
|
37
|
-
import { KlarnaPaymentOptions, KlarnaPaymentFinalization, KlarnaPaymentValidatableData } from './models/klarna/KlarnaPaymentCollectableData';
|
|
38
|
-
export { KlarnaPaymentOptions, KlarnaPaymentFinalization, KlarnaPaymentValidatableData };
|
|
39
|
-
import { PaymentSessionCreated, PaymentSessionAuthorized, PaymentSessionFinalized, PaymentViewLoaded, KlarnaPaymentStep } from './models/klarna/KlarnaPaymentSteps';
|
|
40
|
-
export { PaymentSessionCreated, PaymentSessionAuthorized, PaymentSessionFinalized, PaymentViewLoaded, KlarnaPaymentStep, };
|
|
41
|
-
import { PrimerKlarnaPaymentView } from './HeadlessUniversalCheckout/Components/PrimerKlarnaPaymentView';
|
|
42
|
-
export { PrimerKlarnaPaymentView };
|
|
43
|
-
import { NativeResourceView } from './HeadlessUniversalCheckout/Components/NativeResourceView';
|
|
44
|
-
export { NativeResourceView };
|
|
45
|
-
import { PrimerGooglePayButtonConstants } from './HeadlessUniversalCheckout/Components/NativeResourceView';
|
|
46
|
-
export { PrimerGooglePayButtonConstants };
|
|
47
|
-
import { PrimerGooglePayButton } from './HeadlessUniversalCheckout/Components/PrimerGooglePayButton';
|
|
48
|
-
export { PrimerGooglePayButton };
|
|
49
|
-
import { UserDetailsRetrieved, UserDetailsCollected, AchStep } from './models/ach/AchSteps';
|
|
50
|
-
export { UserDetailsRetrieved as CollectUserDetails, UserDetailsCollected, AchStep };
|
|
51
|
-
import { AchFirstName, AchLastName, AchEmailAddress, AchValidatableData } from './models/ach/AchCollectableData';
|
|
52
|
-
export { AchFirstName, AchLastName, AchEmailAddress, AchValidatableData };
|
|
53
|
-
import { PrimerHeadlessUniversalCheckoutAchManager, StripeAchUserDetailsComponent, AchManagerProps } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchManager';
|
|
54
|
-
export { PrimerHeadlessUniversalCheckoutAchManager as AchManager, StripeAchUserDetailsComponent, AchManagerProps };
|
|
55
|
-
import { PrimerHeadlessUniversalCheckoutAchMandateManager } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/AchMandateManager';
|
|
56
|
-
export { PrimerHeadlessUniversalCheckoutAchMandateManager as AchMandateManager };
|
|
57
|
-
import { PrimerHeadlessUniversalCheckoutComponentWithRedirectManager, BanksComponent, ComponentWithRedirectManagerProps } from './HeadlessUniversalCheckout/Managers/PaymentMethodManagers/ComponentWithRedirectManager';
|
|
58
|
-
export { PrimerHeadlessUniversalCheckoutComponentWithRedirectManager as ComponentWithRedirectManager, BanksComponent, ComponentWithRedirectManagerProps, };
|
|
59
|
-
import { IssuingBank } from './models/IssuingBank';
|
|
60
|
-
export { IssuingBank };
|
|
61
|
-
import { BankId, BankListFilter, BanksValidatableData } from './models/banks/BanksCollectableData';
|
|
62
|
-
export { BankId, BankListFilter, BanksValidatableData };
|
|
63
|
-
import { BanksLoading, BanksRetrieved, BanksStep } from './models/banks/BanksSteps';
|
|
64
|
-
export { BanksLoading, BanksRetrieved, BanksStep };
|
|
65
|
-
import { NamedComponentValidatableData } from './models/NamedComponentValidatableData';
|
|
66
|
-
export { NamedComponentValidatableData };
|
|
67
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,EAAE,sBAAsB,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC7F,OAAO,EAAE,mBAAmB,IAAI,aAAa,EAAE,MAAM,8BAA8B,CAAC;AACpF,OAAO,EACL,4BAA4B,IAAI,sBAAsB,EACtD,yBAAyB,IAAI,mBAAmB,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3F,cAAc,EACd,iCAAiC,GAClC,CAAC;AACF,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AACnG,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,oBAAoB,EAAE,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,CAAC;AACnD,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,6BAA6B,EAAE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export type PrimerCheckoutAdditionalInfo = IPrimerCheckoutAdditionalInfo;
|
|
2
|
-
interface IPrimerCheckoutAdditionalInfo {
|
|
3
|
-
/**
|
|
4
|
-
* The name of this additional info.
|
|
5
|
-
*/
|
|
6
|
-
additionalInfoName: string;
|
|
7
|
-
}
|
|
8
|
-
export type MultibancoCheckoutAdditionalInfo = IMultibancoCheckoutAdditionalInfo;
|
|
9
|
-
interface IMultibancoCheckoutAdditionalInfo extends IPrimerCheckoutAdditionalInfo {
|
|
10
|
-
expiresAt?: string;
|
|
11
|
-
entity?: string;
|
|
12
|
-
reference?: string;
|
|
13
|
-
additionalInfoName: 'MultibancoCheckoutAdditionalInfo';
|
|
14
|
-
}
|
|
15
|
-
export type PrimerCheckoutQRCodeInfo = IPrimerCheckoutQRCodeInfo;
|
|
16
|
-
interface IPrimerCheckoutQRCodeInfo extends IPrimerCheckoutAdditionalInfo {
|
|
17
|
-
}
|
|
18
|
-
export type PromptPayCheckoutAdditionalInfo = IPromptPayCheckoutAdditionalInfo;
|
|
19
|
-
interface IPromptPayCheckoutAdditionalInfo extends IPrimerCheckoutQRCodeInfo {
|
|
20
|
-
expiresAt: string;
|
|
21
|
-
qrCodeUrl?: string;
|
|
22
|
-
qrCodeBase64?: string;
|
|
23
|
-
additionalInfoName: 'PromptPayCheckoutAdditionalInfo';
|
|
24
|
-
}
|
|
25
|
-
export type PrimerCheckoutVoucherAdditionalInfo = IPrimerCheckoutVoucherAdditionalInfo;
|
|
26
|
-
interface IPrimerCheckoutVoucherAdditionalInfo extends IPrimerCheckoutAdditionalInfo {
|
|
27
|
-
}
|
|
28
|
-
export type XenditCheckoutVoucherAdditionalInfo = IXenditCheckoutVoucherAdditionalInfo;
|
|
29
|
-
interface IXenditCheckoutVoucherAdditionalInfo extends IPrimerCheckoutVoucherAdditionalInfo {
|
|
30
|
-
expiresAt: string;
|
|
31
|
-
couponCode: string;
|
|
32
|
-
retailerName: string;
|
|
33
|
-
additionalInfoName: 'XenditCheckoutVoucherAdditionalInfo';
|
|
34
|
-
}
|
|
35
|
-
export type DisplayStripeAchMandateAdditionalInfo = {
|
|
36
|
-
additionalInfoName: 'DisplayStripeAchMandateAdditionalInfo';
|
|
37
|
-
} & IPrimerCheckoutAdditionalInfo;
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=PrimerCheckoutAdditionalInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerCheckoutAdditionalInfo.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerCheckoutAdditionalInfo.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,4BAA4B,GAAG,6BAA6B,CAAC;AAEzE,UAAU,6BAA6B;IACrC;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,MAAM,gCAAgC,GAAG,iCAAiC,CAAC;AACjF,UAAU,iCAAkC,SAAQ,6BAA6B;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,EAAE,kCAAkC,CAAC;CACxD;AAED,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,CAAC;AAEjE,UAAU,yBAA0B,SAAQ,6BAA6B;CAAG;AAE5E,MAAM,MAAM,+BAA+B,GAAG,gCAAgC,CAAC;AAC/E,UAAU,gCAAiC,SAAQ,yBAAyB;IAC1E,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,EAAE,iCAAiC,CAAC;CACvD;AAED,MAAM,MAAM,mCAAmC,GAAG,oCAAoC,CAAC;AAEvF,UAAU,oCAAqC,SAAQ,6BAA6B;CAAG;AAEvF,MAAM,MAAM,mCAAmC,GAAG,oCAAoC,CAAC;AACvF,UAAU,oCAAqC,SAAQ,oCAAoC;IACzF,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,kBAAkB,EAAE,qCAAqC,CAAC;CAC3D;AAED,MAAM,MAAM,qCAAqC,GAAG;IAClD,kBAAkB,EAAE,uCAAuC,CAAC;CAC7D,GAAG,6BAA6B,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { PrimerCheckoutAdditionalInfo } from './PrimerCheckoutAdditionalInfo';
|
|
2
|
-
export type PrimerCheckoutData = IPrimerCheckoutData;
|
|
3
|
-
interface IPrimerCheckoutData {
|
|
4
|
-
payment?: IPrimerCheckoutDataPayment;
|
|
5
|
-
additionalInfo?: PrimerCheckoutAdditionalInfo;
|
|
6
|
-
}
|
|
7
|
-
export type PrimerCheckoutDataPayment = IPrimerCheckoutDataPayment;
|
|
8
|
-
interface IPrimerCheckoutDataPayment {
|
|
9
|
-
id?: string;
|
|
10
|
-
orderId?: string;
|
|
11
|
-
paymentFailureReason?: PrimerPaymentErrorCode;
|
|
12
|
-
}
|
|
13
|
-
declare enum PrimerPaymentErrorCode {
|
|
14
|
-
FAILED = "payment-failed",
|
|
15
|
-
CANCELLED_BY_CUSTOMER = "cancelled-by-customer"
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=PrimerCheckoutData.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerCheckoutData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerCheckoutData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAEnF,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,CAAC;AAErD,UAAU,mBAAmB;IAC3B,OAAO,CAAC,EAAE,0BAA0B,CAAC;IACrC,cAAc,CAAC,EAAE,4BAA4B,CAAC;CAC/C;AAED,MAAM,MAAM,yBAAyB,GAAG,0BAA0B,CAAC;AAEnE,UAAU,0BAA0B;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,oBAAoB,CAAC,EAAE,sBAAsB,CAAC;CAC/C;AAED,aAAK,sBAAsB;IACzB,MAAM,mBAAmB;IACzB,qBAAqB,0BAA0B;CAChD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerCheckoutPaymentMethodData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerCheckoutPaymentMethodData.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,+BAA+B,GAAG,gCAAgC,CAAC;AAE/E,UAAU,gCAAgC;IAIxC,iBAAiB,EAAE,MAAM,CAAC;IAE1B,aAAa,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
export type PrimerClientSession = IPrimerClientSession;
|
|
2
|
-
interface IPrimerClientSession {
|
|
3
|
-
customerId?: string;
|
|
4
|
-
orderId?: string;
|
|
5
|
-
currencyCode?: string;
|
|
6
|
-
totalAmount?: number;
|
|
7
|
-
lineItems?: IPrimerLineItem[];
|
|
8
|
-
orderDetails?: IPrimerOrder;
|
|
9
|
-
customer?: IPrimerCustomer;
|
|
10
|
-
}
|
|
11
|
-
export type PrimerLineItem = IPrimerLineItem;
|
|
12
|
-
interface IPrimerLineItem {
|
|
13
|
-
itemId?: string;
|
|
14
|
-
itemDescription?: string;
|
|
15
|
-
amount?: number;
|
|
16
|
-
discountAmount?: number;
|
|
17
|
-
quantity?: number;
|
|
18
|
-
taxCode?: string;
|
|
19
|
-
taxAmount?: number;
|
|
20
|
-
}
|
|
21
|
-
export type PrimerOrder = IPrimerOrder;
|
|
22
|
-
interface IPrimerOrder {
|
|
23
|
-
countryCode?: string;
|
|
24
|
-
shipping?: IPrimerShipping;
|
|
25
|
-
}
|
|
26
|
-
interface IPrimerShipping {
|
|
27
|
-
amount?: number;
|
|
28
|
-
methodId?: string;
|
|
29
|
-
methodName?: string;
|
|
30
|
-
methodDescription?: string;
|
|
31
|
-
}
|
|
32
|
-
export type PrimerCustomer = IPrimerCustomer;
|
|
33
|
-
interface IPrimerCustomer {
|
|
34
|
-
emailAddress?: string;
|
|
35
|
-
mobileNumber?: string;
|
|
36
|
-
firstName?: string;
|
|
37
|
-
lastName?: string;
|
|
38
|
-
billingAddress?: IPrimerAddress;
|
|
39
|
-
shippingAddress?: IPrimerAddress;
|
|
40
|
-
}
|
|
41
|
-
export type PrimerAddress = IPrimerAddress;
|
|
42
|
-
interface IPrimerAddress {
|
|
43
|
-
firstName?: string;
|
|
44
|
-
lastName?: string;
|
|
45
|
-
addressLine1?: string;
|
|
46
|
-
addressLine2?: string;
|
|
47
|
-
postalCode?: string;
|
|
48
|
-
city?: string;
|
|
49
|
-
state?: string;
|
|
50
|
-
countryCode?: string;
|
|
51
|
-
}
|
|
52
|
-
export {};
|
|
53
|
-
//# sourceMappingURL=PrimerClientSession.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerClientSession.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerClientSession.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,mBAAmB,GAAG,oBAAoB,CAAC;AAEvD,UAAU,oBAAoB;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,eAAe,EAAE,CAAC;IAC9B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;AAE7C,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC;AAEvC,UAAU,YAAY;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,UAAU,eAAe;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC;AAE7C,UAAU,eAAe;IACvB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,eAAe,CAAC,EAAE,cAAc,CAAC;CAClC;AAED,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAE3C,UAAU,cAAc;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { NamedComponentValidatableData } from './NamedComponentValidatableData';
|
|
2
|
-
import { PrimerError } from './PrimerError';
|
|
3
|
-
import { PrimerValidationError } from './PrimerValidationError';
|
|
4
|
-
export type PrimerValidatingComponentData<T extends NamedComponentValidatableData> = IPrimerValidatingComponentData<T>;
|
|
5
|
-
export type PrimerValidComponentData<T extends NamedComponentValidatableData> = IPrimerValidComponentData<T>;
|
|
6
|
-
export type PrimerInvalidComponentData<T extends NamedComponentValidatableData> = IPrimerInvalidComponentData<T>;
|
|
7
|
-
export type PrimerComponentDataValidationError<T extends NamedComponentValidatableData> = IPrimerComponentDataValidationError<T>;
|
|
8
|
-
/**
|
|
9
|
-
* Interface that indicates that data is currently in the process of being validated.
|
|
10
|
-
*/
|
|
11
|
-
interface IPrimerValidatingComponentData<T extends NamedComponentValidatableData> {
|
|
12
|
-
/**
|
|
13
|
-
* The data being validated.
|
|
14
|
-
*/
|
|
15
|
-
data: T;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Interface that indicates that the data has been successfully validated.
|
|
19
|
-
*/
|
|
20
|
-
interface IPrimerValidComponentData<T extends NamedComponentValidatableData> {
|
|
21
|
-
/**
|
|
22
|
-
* The successfully validated data.
|
|
23
|
-
*/
|
|
24
|
-
data: T;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Interface that indicates that the data has been considered invalid after validation.
|
|
28
|
-
*/
|
|
29
|
-
interface IPrimerInvalidComponentData<T extends NamedComponentValidatableData> {
|
|
30
|
-
/**
|
|
31
|
-
* The data that failed validation.
|
|
32
|
-
*/
|
|
33
|
-
data: T;
|
|
34
|
-
/**
|
|
35
|
-
* A list of PrimerValidationError explaining why the data is
|
|
36
|
-
* considered invalid.
|
|
37
|
-
*/
|
|
38
|
-
errors: PrimerValidationError[];
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Interface that represents an error that occurred during the validation process.
|
|
42
|
-
*/
|
|
43
|
-
interface IPrimerComponentDataValidationError<T extends NamedComponentValidatableData> {
|
|
44
|
-
/**
|
|
45
|
-
* The data for which an error ocurred during validation.
|
|
46
|
-
*/
|
|
47
|
-
data: T;
|
|
48
|
-
/**
|
|
49
|
-
* The PrimerError that ocurred during the validation attempt.
|
|
50
|
-
*/
|
|
51
|
-
error: PrimerError;
|
|
52
|
-
}
|
|
53
|
-
export {};
|
|
54
|
-
//# sourceMappingURL=PrimerComponentDataValidation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerComponentDataValidation.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerComponentDataValidation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC;AAChF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,MAAM,MAAM,6BAA6B,CAAC,CAAC,SAAS,6BAA6B,IAAI,8BAA8B,CAAC,CAAC,CAAC,CAAC;AACvH,MAAM,MAAM,wBAAwB,CAAC,CAAC,SAAS,6BAA6B,IAAI,yBAAyB,CAAC,CAAC,CAAC,CAAC;AAC7G,MAAM,MAAM,0BAA0B,CAAC,CAAC,SAAS,6BAA6B,IAAI,2BAA2B,CAAC,CAAC,CAAC,CAAC;AACjH,MAAM,MAAM,kCAAkC,CAAC,CAAC,SAAS,6BAA6B,IACpF,mCAAmC,CAAC,CAAC,CAAC,CAAC;AAEzC;;GAEG;AACH,UAAU,8BAA8B,CAAC,CAAC,SAAS,6BAA6B;IAC9E;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC;CACT;AAED;;GAEG;AACH,UAAU,yBAAyB,CAAC,CAAC,SAAS,6BAA6B;IACzE;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC;CACT;AAED;;GAEG;AACH,UAAU,2BAA2B,CAAC,CAAC,SAAS,6BAA6B;IAC3E;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC;IAER;;;OAGG;IACH,MAAM,EAAE,qBAAqB,EAAE,CAAC;CACjC;AAED;;GAEG;AACH,UAAU,mCAAmC,CAAC,CAAC,SAAS,6BAA6B;IACnF;;OAEG;IACH,IAAI,EAAE,CAAC,CAAC;IAER;;OAEG;IACH,KAAK,EAAE,WAAW,CAAC;CACpB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare var countries: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "KH", "CM", "CA", "CV", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MK", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "AN", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MP", "NO", "OM", "PK", "PW", "PS", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SK", "SI", "SB", "SO", "ZA", "GS", "ES", "LK", "SD", "SR", "SJ", "SZ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
2
|
-
export type PrimerCountryCode = (typeof countries)[number];
|
|
3
|
-
export {};
|
|
4
|
-
//# sourceMappingURL=PrimerCountryCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerCountryCode.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerCountryCode.ts"],"names":[],"mappings":"AAAA,QAAA,IAAI,SAAS,y8CAsPH,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
declare const currencies: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BOV", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLF", "CLP", "CNY", "COP", "COU", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MXV", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "USN", "USS", "UYI", "UYU", "UZS", "VEF", "VND", "VUV", "WST", "XAF", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XFU", "XOF", "XPD", "XPF", "XPT", "XTS", "XXX", "YER", "ZAR", "ZMW"];
|
|
2
|
-
export type PrimerCurrencyCode = (typeof currencies)[number];
|
|
3
|
-
export {};
|
|
4
|
-
//# sourceMappingURL=PrimerCurrencyCode.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerCurrencyCode.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerCurrencyCode.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,UAAU,yuCAmLN,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,CAAC,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class PrimerError extends Error {
|
|
2
|
-
errorId: string;
|
|
3
|
-
errorCode?: string;
|
|
4
|
-
description: string;
|
|
5
|
-
recoverySuggestion?: string;
|
|
6
|
-
diagnosticsId?: string;
|
|
7
|
-
constructor(errorId: string, errorCode: string | undefined, description: string, recoverySuggestion: string | undefined, diagnosticsId: string | undefined);
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=PrimerError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerError.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerError.ts"],"names":[],"mappings":"AAAA,qBAAa,WAAY,SAAQ,KAAK;IACpC,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAC;gBAGrB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,MAAM,GAAG,SAAS,EAC7B,WAAW,EAAE,MAAM,EACnB,kBAAkB,EAAE,MAAM,GAAG,SAAS,EACtC,aAAa,EAAE,MAAM,GAAG,SAAS;CASpC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface PrimerPaymentCreationHandler {
|
|
2
|
-
abortPaymentCreation(errorMessage: string | null): void;
|
|
3
|
-
continuePaymentCreation(): void;
|
|
4
|
-
}
|
|
5
|
-
export interface PrimerTokenizationHandler {
|
|
6
|
-
handleSuccess(): void;
|
|
7
|
-
handleFailure(errorMessage: string | null): void;
|
|
8
|
-
continueWithNewClientToken(newClientToken: string): void;
|
|
9
|
-
}
|
|
10
|
-
export interface PrimerResumeHandler {
|
|
11
|
-
handleSuccess(): void;
|
|
12
|
-
handleFailure(errorMessage: string | null): void;
|
|
13
|
-
continueWithNewClientToken(newClientToken: string): void;
|
|
14
|
-
}
|
|
15
|
-
export interface PrimerHeadlessUniversalCheckoutResumeHandler {
|
|
16
|
-
continueWithNewClientToken(newClientToken: string): void;
|
|
17
|
-
complete(): void;
|
|
18
|
-
}
|
|
19
|
-
export interface PrimerErrorHandler {
|
|
20
|
-
showErrorMessage(errorMessage: string | null): void;
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=PrimerHandlers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerHandlers.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerHandlers.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IACxD,uBAAuB,IAAI,IAAI,CAAC;CACjC;AAED,MAAM,WAAW,yBAAyB;IACxC,aAAa,IAAI,IAAI,CAAC;IACtB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IACjD,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1D;AAED,MAAM,WAAW,mBAAmB;IAClC,aAAa,IAAI,IAAI,CAAC;IACtB,aAAa,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IACjD,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1D;AAED,MAAM,WAAW,4CAA4C;IAC3D,0BAA0B,CAAC,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IACzD,QAAQ,IAAI,IAAI,CAAC;CAClB;AAED,MAAM,WAAW,kBAAkB;IACjC,gBAAgB,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;CACrD"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export interface IPrimerHeadlessUniversalCheckoutPaymentMethod {
|
|
2
|
-
paymentMethodType: string;
|
|
3
|
-
paymentMethodManagerCategories: ('NATIVE_UI' | 'RAW_DATA' | 'CARD_COMPONENTS')[];
|
|
4
|
-
supportedPrimerSessionIntents: ('CHECKOUT' | 'VAULT')[];
|
|
5
|
-
}
|
|
6
|
-
//# sourceMappingURL=PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerHeadlessUniversalCheckoutPaymentMethod.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerHeadlessUniversalCheckoutPaymentMethod.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,6CAA6C;IAC5D,iBAAiB,EAAE,MAAM,CAAC;IAC1B,8BAA8B,EAAE,CAAC,WAAW,GAAG,UAAU,GAAG,iBAAiB,CAAC,EAAE,CAAC;IACjF,6BAA6B,EAAE,CAAC,UAAU,GAAG,OAAO,CAAC,EAAE,CAAC;CACzD"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface PrimerImplementedRNCallbacks {
|
|
2
|
-
onAvailablePaymentMethodsLoad: boolean;
|
|
3
|
-
onTokenizationStart: boolean;
|
|
4
|
-
onTokenizationSuccess: boolean;
|
|
5
|
-
onCheckoutResume: boolean;
|
|
6
|
-
onCheckoutPending: boolean;
|
|
7
|
-
onCheckoutAdditionalInfo: boolean;
|
|
8
|
-
onError: boolean;
|
|
9
|
-
onCheckoutComplete: boolean;
|
|
10
|
-
onBeforeClientSessionUpdate: boolean;
|
|
11
|
-
onClientSessionUpdate: boolean;
|
|
12
|
-
onBeforePaymentCreate: boolean;
|
|
13
|
-
onPreparationStart: boolean;
|
|
14
|
-
onPaymentMethodShow: boolean;
|
|
15
|
-
onDismiss: boolean;
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=PrimerImplementedRNCallbacks.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerImplementedRNCallbacks.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerImplementedRNCallbacks.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,6BAA6B,EAAE,OAAO,CAAC;IACvC,mBAAmB,EAAE,OAAO,CAAC;IAC7B,qBAAqB,EAAE,OAAO,CAAC;IAE/B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,wBAAwB,EAAE,OAAO,CAAC;IAElC,OAAO,EAAE,OAAO,CAAC;IACjB,kBAAkB,EAAE,OAAO,CAAC;IAC5B,2BAA2B,EAAE,OAAO,CAAC;IAErC,qBAAqB,EAAE,OAAO,CAAC;IAC/B,qBAAqB,EAAE,OAAO,CAAC;IAC/B,kBAAkB,EAAE,OAAO,CAAC;IAE5B,mBAAmB,EAAE,OAAO,CAAC;IAC7B,SAAS,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { RetailOutletsRetail } from './RetailOutletsRetail';
|
|
2
|
-
export type PrimerInitializationData = IPrimerInitializationData;
|
|
3
|
-
interface IPrimerInitializationData {
|
|
4
|
-
}
|
|
5
|
-
export type RetailOutletsList = IRetailOutletsList;
|
|
6
|
-
interface IRetailOutletsList extends IPrimerInitializationData {
|
|
7
|
-
result: [RetailOutletsRetail];
|
|
8
|
-
}
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=PrimerInitializationData.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PrimerInitializationData.d.ts","sourceRoot":"","sources":["../../../src/models/PrimerInitializationData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,MAAM,MAAM,wBAAwB,GAAG,yBAAyB,CAAC;AAEjE,UAAU,yBAAyB;CAAG;AAEtC,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC;AAEnD,UAAU,kBAAmB,SAAQ,yBAAyB;IAC5D,MAAM,EAAE,CAAC,mBAAmB,CAAC,CAAC;CAC/B"}
|