@adyen/adyen-web 5.41.0 → 5.42.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.
Files changed (78) hide show
  1. package/dist/adyen.css +2 -2
  2. package/dist/adyen.css.map +1 -1
  3. package/dist/adyen.js +1 -1
  4. package/dist/adyen.js.map +1 -1
  5. package/dist/cjs/adyen.css +2 -2
  6. package/dist/cjs/adyen.css.map +1 -1
  7. package/dist/cjs/index.js +1 -1
  8. package/dist/es/adyen.css +2 -2
  9. package/dist/es/adyen.css.map +1 -1
  10. package/dist/es/index.js +1 -1
  11. package/dist/es.modern/adyen.css +2 -2
  12. package/dist/es.modern/adyen.css.map +1 -1
  13. package/dist/es.modern/index.js +1 -1
  14. package/dist/types/components/Ach/components/AchInput/types.d.ts +2 -0
  15. package/dist/types/components/AmazonPay/types.d.ts +1 -1
  16. package/dist/types/components/ApplePay/types.d.ts +1 -1
  17. package/dist/types/components/Card/components/CardInput/utils.d.ts +0 -1
  18. package/dist/types/components/Card/{ClickToPayWrapper.d.ts → components/ClickToPayWrapper.d.ts} +1 -1
  19. package/dist/types/components/Card/types.d.ts +1 -28
  20. package/dist/types/components/GooglePay/GooglePay.d.ts +1 -0
  21. package/dist/types/components/GooglePay/defaultProps.d.ts +1 -0
  22. package/dist/types/components/GooglePay/types.d.ts +7 -0
  23. package/dist/types/components/PayPal/types.d.ts +3 -2
  24. package/dist/types/components/SecuredFields/SecuredFieldsInput/SecuredFieldsInput.d.ts +2 -0
  25. package/dist/types/components/internal/ClickToPay/components/CtPLogin/validate.d.ts +2 -0
  26. package/dist/types/components/{Card/components/ClickToPay/components/CtPLogin → internal/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput}/validate.d.ts +1 -1
  27. package/dist/types/components/{Card/components → internal}/ClickToPay/context/ClickToPayContext.d.ts +4 -4
  28. package/dist/types/components/{Card/components → internal}/ClickToPay/context/ClickToPayProvider.d.ts +4 -4
  29. package/dist/types/components/{Card/components → internal}/ClickToPay/models/ShopperCard.d.ts +1 -1
  30. package/dist/types/components/{Card/components → internal}/ClickToPay/services/create-clicktopay-service.d.ts +2 -1
  31. package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/AbstractSrcInitiator.d.ts +1 -1
  32. package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/SrciError.d.ts +1 -1
  33. package/dist/types/components/{Card/components → internal}/ClickToPay/services/types.d.ts +1 -1
  34. package/dist/types/components/internal/ClickToPay/types.d.ts +28 -0
  35. package/dist/types/types/index.d.ts +3 -3
  36. package/dist/types/utils/arrayUtils.d.ts +1 -0
  37. package/dist/types/utils/hookUtils.d.ts +1 -0
  38. package/dist/types/utils/regex.d.ts +5 -1
  39. package/package.json +1 -1
  40. package/dist/types/components/Card/components/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/validate.d.ts +0 -2
  41. package/dist/types/components/Card/components/ClickToPay/components/CtPSection/CtPSectionTitle.d.ts +0 -0
  42. /package/dist/types/components/Card/{ClickToPayHolder.d.ts → components/ClickToPayHolder.d.ts} +0 -0
  43. /package/dist/types/components/{Card/components → internal}/ClickToPay/ClickToPayComponent.d.ts +0 -0
  44. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPBrand/CtPBrand.d.ts +0 -0
  45. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPBrand/index.d.ts +0 -0
  46. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPCards/CtPCards.d.ts +0 -0
  47. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPCards/CtPCardsList/CtPCardsList.d.ts +0 -0
  48. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPCards/CtPCardsList/index.d.ts +0 -0
  49. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPCards/CtPSingleCard/CtPSingleCard.d.ts +0 -0
  50. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPCards/CtPSingleCard/index.d.ts +0 -0
  51. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPCards/index.d.ts +0 -0
  52. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPInfo/CtPInfo.d.ts +0 -0
  53. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPInfo/CtPInfoModal/CtPInfoModal.d.ts +0 -0
  54. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPInfo/CtPInfoModal/index.d.ts +0 -0
  55. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPInfo/index.d.ts +0 -0
  56. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPLoader/CtPLoader.d.ts +0 -0
  57. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPLoader/index.d.ts +0 -0
  58. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPLogin/CtPLogin.d.ts +0 -0
  59. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPLogin/CtPLoginInput.d.ts +0 -0
  60. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPLogin/index.d.ts +0 -0
  61. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPOneTimePassword/CtPOneTimePassword.d.ts +0 -0
  62. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPOneTimePasswordInput.d.ts +0 -0
  63. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/CtPResendOtpLink.d.ts +0 -0
  64. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPOneTimePassword/CtPOneTimePasswordInput/index.d.ts +0 -0
  65. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPOneTimePassword/index.d.ts +0 -0
  66. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPSection/CtPLogoutLink.d.ts +0 -0
  67. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPSection/CtPSection.d.ts +0 -0
  68. /package/dist/types/components/{Card/components → internal}/ClickToPay/components/CtPSection/index.d.ts +0 -0
  69. /package/dist/types/components/{Card/components → internal}/ClickToPay/context/useClickToPayContext.d.ts +0 -0
  70. /package/dist/types/components/{Card/components → internal}/ClickToPay/index.d.ts +0 -0
  71. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/ClickToPayService.d.ts +0 -0
  72. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/MastercardSdk.d.ts +0 -0
  73. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/SrcSdkLoader.d.ts +0 -0
  74. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/VisaSdk.d.ts +0 -0
  75. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/config.d.ts +0 -0
  76. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/types.d.ts +0 -0
  77. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/sdks/utils.d.ts +0 -0
  78. /package/dist/types/components/{Card/components → internal}/ClickToPay/services/utils.d.ts +0 -0
@@ -1,6 +1,7 @@
1
1
  import Language from '../../../../language/Language';
2
2
  import { StylesObject } from '../../../internal/SecuredFields/lib/types';
3
3
  import UIElement from '../../../UIElement';
4
+ import { Resources } from '../../../../core/Context/Resources';
4
5
  export interface ACHInputStateValid {
5
6
  holderName?: boolean;
6
7
  billingAddress?: boolean;
@@ -48,6 +49,7 @@ export interface ACHInputProps {
48
49
  payButton?: (obj: any) => {};
49
50
  placeholders?: Placeholders;
50
51
  ref?: any;
52
+ resources: Resources;
51
53
  showPayButton?: boolean;
52
54
  showWarnings?: boolean;
53
55
  styles?: StylesObject;
@@ -15,7 +15,7 @@ type ChargePermissionType = 'OneTime' | 'Recurring';
15
15
  type FrequencyUnit = 'Year' | 'Month' | 'Week' | 'Day' | 'Variable';
16
16
  export type Currency = 'EUR' | 'GBP' | 'USD';
17
17
  export type Region = 'EU' | 'UK' | 'US';
18
- export type SupportedLocale = typeof SUPPORTED_LOCALES_EU[number] | typeof SUPPORTED_LOCALES_US[number];
18
+ export type SupportedLocale = (typeof SUPPORTED_LOCALES_EU)[number] | (typeof SUPPORTED_LOCALES_US)[number];
19
19
  export interface RecurringMetadata {
20
20
  frequency: {
21
21
  unit: string;
@@ -23,7 +23,7 @@ export interface ApplePayElementProps extends UIElementProps {
23
23
  * Part of the 'ApplePayLineItem' object, which sets the label of the payment request
24
24
  * @see {@link https://developer.apple.com/documentation/apple_pay_on_the_web/applepaylineitem ApplePayLineItem docs}
25
25
  */
26
- totalPriceLabel: string;
26
+ totalPriceLabel?: string;
27
27
  /**
28
28
  * @default 'final'
29
29
  */
@@ -39,4 +39,3 @@ export declare const extractPropsForCardFields: (props: CardInputProps) => {
39
39
  export declare const extractPropsForSFP: (props: CardInputProps) => SFPProps;
40
40
  export declare const handlePartialAddressMode: (addressMode: AddressModeOptions) => AddressSpecifications | null;
41
41
  export declare function lookupBlurBasedErrors(errorCode: any): boolean;
42
- export declare function usePrevious<T>(value: T): T;
@@ -1,4 +1,4 @@
1
- import { ClickToPayProviderProps } from './components/ClickToPay/context/ClickToPayProvider';
1
+ import { ClickToPayProviderProps } from '../../internal/ClickToPay/context/ClickToPayProvider';
2
2
  import { h } from 'preact';
3
3
  declare const ClickToPayWrapper: ({ amount, configuration, clickToPayService, setClickToPayRef, onSetStatus, onSubmit, onError, ...props }: ClickToPayProviderProps) => h.JSX.Element;
4
4
  export default ClickToPayWrapper;
@@ -2,6 +2,7 @@ import { UIElementProps } from '../types';
2
2
  import { AddressData, BrowserInfo } from '../../types';
3
3
  import { CbObjOnBinValue, CbObjOnBrand, CbObjOnConfigSuccess, CbObjOnError, CbObjOnFieldValid, CbObjOnFocus, CbObjOnLoad, CbObjOnBinLookup } from '../internal/SecuredFields/lib/types';
4
4
  import { CVCPolicyType, DatePolicyType } from '../internal/SecuredFields/lib/types';
5
+ import { ClickToPayConfiguration } from '../internal/ClickToPay/types';
5
6
  export interface CardElementProps extends UIElementProps {
6
7
  /**
7
8
  * Only set for a stored card,
@@ -84,34 +85,6 @@ export interface CardElementProps extends UIElementProps {
84
85
  onBinLookup?: (event: CbObjOnBinLookup) => void;
85
86
  [key: string]: any;
86
87
  }
87
- export type ClickToPayScheme = 'mc' | 'visa';
88
- export type ClickToPayConfiguration = {
89
- /**
90
- * Shopper email used to be recognized with the Network schemes
91
- */
92
- shopperEmail?: string;
93
- /**
94
- * Shopper telephone number used to be recognized with the Network schemes
95
- */
96
- telephoneNumber?: string;
97
- /**
98
- * Used to display the merchant name in case the DCF appears (ex: first time doing transaction in the device),
99
- */
100
- merchantDisplayName: string;
101
- /**
102
- * Used to ensure the correct language and user experience if DCF screen is displayed. As a fallback, it uses the main locale
103
- * defined during the creation of the Checkout.
104
- * Format: ISO language_country pair (e.g., en_US )
105
- *
106
- * @defaultValue en_US
107
- */
108
- locale?: string;
109
- /**
110
- * Disable autofocus on the One Time Password input field when it is either displayed or when the OTP is resent
111
- * @defaultValue false
112
- */
113
- disableOtpAutoFocus?: boolean;
114
- };
115
88
  export type SocialSecurityMode = 'show' | 'hide' | 'auto';
116
89
  /** If the merchant wishes to set any of these properties in their local config they should do so via a "configuration" object */
117
90
  export interface CardConfiguration {
@@ -31,6 +31,7 @@ declare class GooglePay extends UIElement<GooglePayProps> {
31
31
  allowPrepaidCards: boolean;
32
32
  billingAddressRequired: boolean;
33
33
  billingAddressParameters: any;
34
+ assuranceDetailsRequired: boolean;
34
35
  emailRequired: boolean;
35
36
  shippingAddressRequired: boolean;
36
37
  shippingAddressParameters: any;
@@ -25,6 +25,7 @@ declare const _default: {
25
25
  allowPrepaidCards: boolean;
26
26
  billingAddressRequired: boolean;
27
27
  billingAddressParameters: any;
28
+ assuranceDetailsRequired: boolean;
28
29
  emailRequired: boolean;
29
30
  shippingAddressRequired: boolean;
30
31
  shippingAddressParameters: any;
@@ -47,6 +47,13 @@ export interface GooglePayProps extends UIElementProps {
47
47
  countryCode?: string;
48
48
  allowedAuthMethods?: google.payments.api.CardAuthMethod[];
49
49
  allowedCardNetworks?: google.payments.api.CardNetwork[];
50
+ /**
51
+ * Set to true to request assuranceDetails. This object provides information
52
+ * about the validation performed on the returned payment data.
53
+ *
54
+ * @defaultValue false
55
+ */
56
+ assuranceDetailsRequired?: boolean;
50
57
  /**
51
58
  * Set to false if you don't support credit cards.
52
59
  * @defaultValue true
@@ -12,7 +12,7 @@ declare global {
12
12
  * @see {@link https://developer.paypal.com/docs/checkout/reference/customize-sdk/#intent}
13
13
  */
14
14
  export type Intent = 'sale' | 'capture' | 'authorize' | 'order' | 'tokenize';
15
- export type FundingSource = 'paypal' | 'credit';
15
+ export type FundingSource = 'paypal' | 'credit' | 'paylater' | 'venmo';
16
16
  export interface PayPalStyles {
17
17
  /**
18
18
  * @see {@link https://developer.paypal.com/docs/checkout/integration-features/customize-button/#color}
@@ -64,9 +64,10 @@ interface PayPalCommonProps {
64
64
  */
65
65
  blockPayPalPayLaterButton?: boolean;
66
66
  /**
67
- * Set to true to force the UI to load Paypal Messages Component
67
+ * Set to true to force the UI to not render PayPal Venmo button
68
68
  * @defaultValue false
69
69
  */
70
+ blockPayPalVenmoButton?: boolean;
70
71
  enableMessages?: boolean;
71
72
  /**
72
73
  * @see {@link https://developer.paypal.com/docs/business/javascript-sdk/javascript-sdk-configuration/#csp-nonce}
@@ -2,6 +2,7 @@ import { h } from 'preact';
2
2
  import Language from '../../../language/Language';
3
3
  import { CardBrandsConfiguration } from '../../Card/types';
4
4
  import { StylesObject } from '../../internal/SecuredFields/lib/types';
5
+ import { Resources } from '../../../core/Context/Resources';
5
6
  interface SecuredFieldsProps {
6
7
  allowedDOMAccess?: boolean;
7
8
  autoFocus?: boolean;
@@ -28,6 +29,7 @@ interface SecuredFieldsProps {
28
29
  onFocus?: (e: any) => {};
29
30
  onLoad?: () => {};
30
31
  rootNode: HTMLElement;
32
+ resources: Resources;
31
33
  showWarnings?: boolean;
32
34
  styles?: StylesObject;
33
35
  trimTrailingSeparator?: boolean;
@@ -0,0 +1,2 @@
1
+ import { ValidatorRules } from '../../../../../utils/Validator/types';
2
+ export declare const loginValidationRules: ValidatorRules;
@@ -1,2 +1,2 @@
1
1
  import { ValidatorRules } from '../../../../../../utils/Validator/types';
2
- export declare const loginValidationRules: ValidatorRules;
2
+ export declare const otpValidationRules: ValidatorRules;
@@ -1,10 +1,10 @@
1
1
  import { CtpState } from '../services/ClickToPayService';
2
2
  import { ClickToPayCheckoutPayload, IClickToPayService } from '../services/types';
3
- import { PaymentAmount } from '../../../../../types';
4
3
  import ShopperCard from '../models/ShopperCard';
5
- import { UIElementStatus } from '../../../../types';
6
- import AdyenCheckoutError from '../../../../../core/Errors/AdyenCheckoutError';
7
- import { ClickToPayConfiguration } from '../../../types';
4
+ import { ClickToPayConfiguration } from '../types';
5
+ import { UIElementStatus } from '../../../types';
6
+ import { PaymentAmount } from '../../../../types';
7
+ import AdyenCheckoutError from '../../../../core/Errors/AdyenCheckoutError';
8
8
  export interface IClickToPayContext extends Pick<IClickToPayService, 'checkout' | 'startIdentityValidation' | 'finishIdentityValidation' | 'verifyIfShopperIsEnrolled'> {
9
9
  isCtpPrimaryPaymentMethod: boolean;
10
10
  setIsCtpPrimaryPaymentMethod(isPrimary: boolean): void;
@@ -1,9 +1,9 @@
1
1
  import { h } from 'preact';
2
2
  import { ClickToPayCheckoutPayload, IClickToPayService } from '../services/types';
3
- import { PaymentAmount } from '../../../../../types';
4
- import { UIElementStatus } from '../../../../types';
5
- import AdyenCheckoutError from '../../../../../core/Errors/AdyenCheckoutError';
6
- import { ClickToPayConfiguration } from '../../../types';
3
+ import { ClickToPayConfiguration } from '../types';
4
+ import AdyenCheckoutError from '../../../../core/Errors/AdyenCheckoutError';
5
+ import { UIElementStatus } from '../../../types';
6
+ import { PaymentAmount } from '../../../../types';
7
7
  export type ClickToPayProviderProps = {
8
8
  clickToPayService: IClickToPayService | null;
9
9
  configuration: ClickToPayConfiguration;
@@ -1,5 +1,5 @@
1
1
  import { SrcCard } from '../services/sdks/types';
2
- import { ClickToPayScheme } from '../../../types';
2
+ import { ClickToPayScheme } from '../types';
3
3
  declare class ShopperCard {
4
4
  dateOfCardLastUsed: string;
5
5
  panLastFour: string;
@@ -1,5 +1,6 @@
1
1
  import { IClickToPayService } from './types';
2
- import { CardConfiguration, ClickToPayConfiguration } from '../../../types';
2
+ import { CardConfiguration } from '../../../Card/types';
3
+ import { ClickToPayConfiguration } from '../types';
3
4
  /**
4
5
  * Creates the Click to Pay service in case the required configuration is provided
5
6
  */
@@ -1,5 +1,5 @@
1
1
  import { CustomSdkConfiguration, SrcCheckoutParams, SrciCheckoutResponse, SrciCompleteIdentityValidationResponse, SrcIdentityLookupParams, SrciIdentityLookupResponse, SrciInitiateIdentityValidationResponse, SrciIsRecognizedResponse, SrcInitParams, SrcProfile } from './types';
2
- import { ClickToPayScheme } from '../../../../types';
2
+ import { ClickToPayScheme } from '../../types';
3
3
  export interface ISrcInitiator {
4
4
  schemeName: ClickToPayScheme;
5
5
  loadSdkScript(): Promise<void>;
@@ -1,4 +1,4 @@
1
- import { ClickToPayScheme } from '../../../../types';
1
+ import { ClickToPayScheme } from '../../types';
2
2
  type MastercardError = {
3
3
  message: string;
4
4
  reason: string;
@@ -1,7 +1,7 @@
1
1
  import { CtpState } from './ClickToPayService';
2
2
  import { SrcInitParams, SrcProfile } from './sdks/types';
3
- import { ClickToPayScheme } from '../../../types';
4
3
  import ShopperCard from '../models/ShopperCard';
4
+ import { ClickToPayScheme } from '../types';
5
5
  export interface IClickToPayService {
6
6
  state: CtpState;
7
7
  shopperCards: ShopperCard[];
@@ -0,0 +1,28 @@
1
+ export type ClickToPayConfiguration = {
2
+ /**
3
+ * Shopper email used to be recognized with the Network schemes
4
+ */
5
+ shopperEmail?: string;
6
+ /**
7
+ * Shopper telephone number used to be recognized with the Network schemes
8
+ */
9
+ telephoneNumber?: string;
10
+ /**
11
+ * Used to display the merchant name in case the DCF appears (ex: first time doing transaction in the device),
12
+ */
13
+ merchantDisplayName: string;
14
+ /**
15
+ * Used to ensure the correct language and user experience if DCF screen is displayed. As a fallback, it uses the main locale
16
+ * defined during the creation of the Checkout.
17
+ * Format: ISO language_country pair (e.g., en_US )
18
+ *
19
+ * @defaultValue en_US
20
+ */
21
+ locale?: string;
22
+ /**
23
+ * Disable autofocus on the One Time Password input field when it is either displayed or when the OTP is resent
24
+ * @defaultValue false
25
+ */
26
+ disableOtpAutoFocus?: boolean;
27
+ };
28
+ export type ClickToPayScheme = 'mc' | 'visa';
@@ -209,11 +209,11 @@ export interface OrderStatus {
209
209
  */
210
210
  export interface BrowserInfo {
211
211
  acceptHeader: string;
212
- colorDepth: string;
212
+ colorDepth: number;
213
213
  language: string;
214
214
  javaEnabled: boolean;
215
- screenHeight: string;
216
- screenWidth: string;
215
+ screenHeight: number;
216
+ screenWidth: number;
217
217
  userAgent: string;
218
218
  timeZoneOffset: number;
219
219
  }
@@ -0,0 +1 @@
1
+ export declare function getArrayDifferences<A, S extends string>(currentArray: A[], previousArray: A[], comparisonKey?: S): A[];
@@ -0,0 +1 @@
1
+ export declare function usePrevious<T>(value: T): T;
@@ -1,5 +1,9 @@
1
1
  /**
2
- * Email regex
2
+ * Email regex follows https://en.wikipedia.org/wiki/Email_address.
3
+ * It checks that the email address starts with a local part that includes letters, digits, and some special characters, optionally separated by periods.
4
+ * Alternatively, the local part can be enclosed in quotes and include any characters except a new line.
5
+ * This is followed by an `@` symbol and a domain name or an IP address enclosed in square brackets.
6
+ * The domain name consists of one or more words separated by periods, where each word can include letters, digits, and hyphens. The top-level domain must consist of two or more letters.
3
7
  */
4
8
  export declare const email: RegExp;
5
9
  /**
package/package.json CHANGED
@@ -24,7 +24,7 @@
24
24
  "./dist/es/adyen.css": "./dist/es/adyen.css",
25
25
  "./package.json": "./package.json"
26
26
  },
27
- "version": "5.41.0",
27
+ "version": "5.42.1",
28
28
  "license": "MIT",
29
29
  "homepage": "https://docs.adyen.com/checkout",
30
30
  "repository": "github:Adyen/adyen-web",
@@ -1,2 +0,0 @@
1
- import { ValidatorRules } from '../../../../../../../utils/Validator/types';
2
- export declare const otpValidationRules: ValidatorRules;