react-native-unit-components
Version:
Unit React Native components
60 lines (56 loc) • 2.12 kB
text/typescript
export enum UNVPErrorType {
EmptyAppId = 'EmptyAppId',
DeviceAuthenticationFailed = 'DeviceAuthenticationFailed',
DeviceRootDetection = 'DeviceRootDetection',
HookDetection = 'HookDetection',
PlayIntegrityCheckFailed = 'PlayIntegrityCheckFailed',
EmptyEncryptedPayload = 'EmptyEncryptedPayload',
NoWallets = 'NoWallets',
InvalidCardId = 'InvalidCardId',
InvalidCardLast4Digits = 'InvalidCardLast4Digits',
ProvisioningNotAllowed = 'ProvisioningNotAllowed',
CancelledByUser = 'CancelledByUser',
AppleWalletProvisioningError = 'AppleWalletProvisioningError',
UnableToCreateApplePaymentPassView = 'UnableToCreateApplePaymentPassView',
ValidAppleCertificatesNotFound = 'ValidAppleCertificatesNotFound',
GoogleWalletCreationFailed = 'GoogleWalletCreationFailed',
UnknownErrorOccurred = 'UnknownErrorOccurred',
WalletProvisioningInconclusive = 'WalletProvisioningInconclusive',
WalletProvisioningError = 'WalletProvisioningError',
VerificationNotAllowed = 'VerificationNotAllowed',
PaymentMethodRemoved = 'PaymentMethodRemoved',
SdkInternalError = 'SdkInternalError',
NetworkFailure = 'NetworkFailure',
SessionExpired = 'SessionExpired',
InvalidInfo = 'InvalidInfo',
PayloadDecryptionFailed = 'PayloadDecryptionFailed',
ApiError = 'ApiError',
InvalidNonce = 'InvalidNonce',
SDKLockout = 'SDKLockout',
NoBrowserFound = 'NoBrowserFound',
TLCMFeatureNotSupported = 'TLCMFeatureNotSupported',
TLCMUnsupportedWallet = 'TLCMUnsupportedWallet',
TLCMDetailsNotFoundInPaySdk = 'TLCMDetailsNotFoundInPaySdk',
TLCMTokenStatusExists = 'TLCMTokenStatusExists',
TLCMInvalidOperationInput = 'TLCMInvalidOperationInput',
TLCMInvalidRequest = 'TLCMInvalidRequest',
TLCMUpdateStatusNotAllowed = 'TLCMUpdateStatusNotAllowed',
TLCMTokenNotFound = 'TLCMTokenNotFound',
}
export interface UNVPError {
code: string;
description: string;
type: UNVPErrorType;
correlationId: string;
}
export type UNNativePromiseReject = {
code: string;
message: string;
}
export interface UNMobileWalletPayload {
data: {
attributes: {
payload: string;
};
};
}