@revolut/checkout
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "@revolut/checkout", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "RevolutCheckout.js as npm module", | ||
@@ -5,0 +5,0 @@ "author": "John Grishin <hi@johngrish.in>", |
import { MODE } from './constants'; | ||
export declare type Mode = MODE[keyof MODE]; | ||
export declare type CountryCode = 'BD' | 'BE' | 'BF' | 'BG' | 'BA' | 'BB' | 'WF' | 'BL' | 'BM' | 'BN' | 'BO' | 'BH' | 'BI' | 'BJ' | 'BT' | 'JM' | 'BV' | 'BW' | 'WS' | 'BQ' | 'BR' | 'BS' | 'JE' | 'BY' | 'BZ' | 'RU' | 'RW' | 'RS' | 'TL' | 'RE' | 'TM' | 'TJ' | 'RO' | 'TK' | 'GW' | 'GU' | 'GT' | 'GS' | 'GR' | 'GQ' | 'GP' | 'JP' | 'GY' | 'GG' | 'GF' | 'GE' | 'GD' | 'GB' | 'GA' | 'SV' | 'GN' | 'GM' | 'GL' | 'GI' | 'GH' | 'OM' | 'TN' | 'JO' | 'HR' | 'HT' | 'HU' | 'HK' | 'HN' | 'HM' | 'VE' | 'PR' | 'PS' | 'PW' | 'PT' | 'SJ' | 'PY' | 'IC' | 'IQ' | 'PA' | 'PF' | 'PG' | 'PE' | 'PK' | 'PH' | 'PN' | 'PL' | 'PM' | 'ZM' | 'EH' | 'EE' | 'EG' | 'ZA' | 'EC' | 'IT' | 'VN' | 'SB' | 'ET' | 'SO' | 'ZW' | 'SA' | 'ES' | 'ER' | 'ME' | 'MD' | 'MG' | 'MF' | 'MA' | 'MC' | 'UZ' | 'MM' | 'ML' | 'MO' | 'MN' | 'MH' | 'MK' | 'MU' | 'MT' | 'MW' | 'MV' | 'MQ' | 'MP' | 'MS' | 'MR' | 'IM' | 'UG' | 'TZ' | 'MY' | 'MX' | 'IL' | 'FR' | 'IO' | 'SH' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'NI' | 'NL' | 'NO' | 'NA' | 'VU' | 'NC' | 'NE' | 'NF' | 'NG' | 'NZ' | 'NP' | 'NR' | 'NU' | 'CK' | 'XK' | 'CI' | 'CH' | 'CO' | 'CN' | 'CM' | 'CL' | 'CC' | 'CA' | 'CG' | 'CF' | 'CD' | 'CZ' | 'CY' | 'CX' | 'CR' | 'CW' | 'CV' | 'CU' | 'SZ' | 'SY' | 'SX' | 'KG' | 'KE' | 'SS' | 'SR' | 'KI' | 'KH' | 'KN' | 'KM' | 'ST' | 'SK' | 'KR' | 'SI' | 'KP' | 'KW' | 'SN' | 'SM' | 'SL' | 'SC' | 'KZ' | 'KY' | 'SG' | 'SE' | 'SD' | 'DO' | 'DM' | 'DJ' | 'DK' | 'VG' | 'DE' | 'YE' | 'DZ' | 'US' | 'UY' | 'YT' | 'UM' | 'LB' | 'LC' | 'LA' | 'TV' | 'TW' | 'TT' | 'TR' | 'LK' | 'LI' | 'LV' | 'TO' | 'LT' | 'LU' | 'LR' | 'LS' | 'TH' | 'TF' | 'TG' | 'TD' | 'TC' | 'LY' | 'VA' | 'VC' | 'AE' | 'AD' | 'AG' | 'AF' | 'AI' | 'VI' | 'IS' | 'IR' | 'AM' | 'AL' | 'AO' | 'AS' | 'AR' | 'AU' | 'AT' | 'AW' | 'IN' | 'AX' | 'AZ' | 'IE' | 'ID' | 'UA' | 'QA' | 'MZ'; | ||
export declare type ValidationErrorType = 'validation.card.number.incomplete' | 'validation.card.number.invalid' | 'validation.card.number.required' | 'validation.card.expiry.expired' | 'validation.card.expiry.incomplete' | 'validation.card.expiry.required' | 'validation.card.cvv.invalid' | 'validation.card.cvv.required' | 'validation.postcode.invalid' | 'validation.postcode.required' | 'validation.email.incomplete' | 'validation.email.invalid' | 'validation.email.required' | 'validation.phone.code.required' | 'validation.phone.number.invalid' | 'validation.phone.number.required'; | ||
export declare type ValidationErrorType = 'validation.card.number.incomplete' | 'validation.card.number.invalid' | 'validation.card.number.required' | 'validation.card.expiry.expired' | 'validation.card.expiry.incomplete' | 'validation.card.expiry.required' | 'validation.card.cvv.invalid' | 'validation.card.cvv.required' | 'validation.card.type.invalid' | 'validation.postcode.invalid' | 'validation.postcode.required' | 'validation.email.incomplete' | 'validation.email.invalid' | 'validation.email.required' | 'validation.phone.code.required' | 'validation.phone.number.invalid' | 'validation.phone.number.required'; | ||
export declare type RevolutCheckoutErrorType = 'error.unknown' | 'error.unauthenticated-access' | 'error.order-not-found' | 'error.transaction-invalid-state' | 'error.declined' | 'error.token-not-found' | 'error.email-is-not-specified' | 'error.order-already-completed' | 'error.deactivated-merchant' | 'error.invalid-postcode' | 'error.invalid-email' | 'error.do-not-honour' | 'error.insufficient-funds' | 'error.3ds-failed' | 'error.expired-card' | 'error.incorrect-cvv-code' | 'error.order-is-cancelled' | 'error.trusted-principal-not-specified' | 'error.merchant-not-specified' | 'error.invalid-order-type' | 'error.transaction-step' | 'error.payment-method-already-exists' | 'error.payment-method-not-found' | 'error.order-customer-id-is-not-set' | 'error.payment-method-not-permitted-for-merchant' | 'error.webhook-not-found' | 'error.verification-not-permitted' | 'error.customer-already-exists' | 'error.unknown-authorisation' | 'error.submerchant-not-found' | 'error.submerchant-incorrect-notification' | 'error.3ds-incorrect-notification' | 'error.authentication-challenge-not-found' | 'error.mpi-provider' | 'error.payment-gateway' | 'error.invalid-provider-response' | 'error.unexpected-mpi-provider' | 'error.terminal-not-found' | 'error.submerchant-not-onboarded'; | ||
@@ -6,0 +6,0 @@ export interface ValidationError extends Error { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21340