redsys-easy 4.0.3 → 5.1.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/lib/index.d.ts CHANGED
@@ -1,30 +1,30 @@
1
- /**
2
- * Node JS client and utilities for implementing a redsys payment gateway
3
- *
4
- * @packageDocumentation
5
- */
6
- export { createRedsysAPI, PRODUCTION_URLS, SANDBOX_URLS } from './client';
7
- export type { UrlsConfig, RedsysConfig } from './client';
8
- export { randomTransactionId, assertSuccessfulResponseCode, isResponseCodeOk } from './utils/misc';
9
- export { getResponseCodeMessage, getSISErrorCodeMessage } from './utils/codes';
10
- export { RedsysError, ValidationError, ParseError, HTTPError, GatewayError, ResponseError } from './errors';
11
- export type { RedirectInputParams, RestIniciaPeticionInputParams, RestTrataPeticionInputParams } from './types/input-params';
12
- export type { RestIniciaPeticionOutputParams, RestTrataPeticionOutputParams, RestNotificationOutputParams, SoapNotificationOutputParams } from './types/output-params';
13
- export type { ResponseJSONSuccess, RedirectForm, ThreeDSv2MethodNotificationBody, ThreeDSv1ChallengeNotificationBody, ThreeDSv2ChallengeNotificationBody } from './types/api';
14
- export { create3DSMethodForm, create3DSv1ChallengeForm, create3DSv2ChallengeForm, deserializeThreeDSMethodData, deserializeCres } from './rest/3ds';
15
- export type { ThreeDSBrowserClientInfo, ThreeDSMethodForm, ThreeDSv1ChallengeForm, ThreeDSv2ChallengeForm, ThreeDSMethodData, ThreeDSCres } from './types/3ds-params';
16
- export { detectSoapVersion, mimicSoapNotificationReceiver, mimicSoap11NotificationResponse, mimicSoap12NotificationResponse } from './soap/utils';
17
- export { CURRENCIES, REV_CURRENCIES } from './assets/currencies';
18
- export type { Currency, CurrencyNum } from './assets/currencies';
19
- export { LANGUAGES, REV_LANGUAGES } from './assets/lang-codes';
20
- export type { Language, LanguageNum } from './assets/lang-codes';
21
- export { COUNTRIES, REV_COUNTRIES } from './assets/countries';
22
- export type { Country, CountryNum } from './assets/countries';
23
- export { CARDBRANDS, REV_CARDBRANDS } from './assets/card-brands';
24
- export type { CardBrand, CardBrandNum } from './assets/card-brands';
25
- export { default as TRANSACTION_TYPES } from './assets/transaction-types';
26
- export type { TransactionType } from './assets/transaction-types';
27
- export { useSingleInputFormatter, useOutputFormatter, usePromiseOutputFormatter } from './formatter-utils';
28
- export { redirectInputFormatter, restIniciaPeticionInputFormatter, restTrataPeticionInputFormatter } from './formatters/input-params';
29
- export { restNotificationOutputFormatter, soapNotificationOutputFormatter, restIniciaPeticionOutputFormatter, restTrataPeticionOutputFormatter } from './formatters/output-params';
30
- export type { RedirectFormatterInput, RestIniciaPeticionFormatterInput, RestTrataPeticionFormatterInput, NotificationFormatterOutput, RestIniciaPeticionFormatterOutput, RestTrataPeticionFormatterOutput } from './formatters/types';
1
+ /**
2
+ * Node JS client and utilities for implementing a redsys payment gateway
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export { createRedsysAPI, PRODUCTION_URLS, SANDBOX_URLS } from './client';
7
+ export type { UrlsConfig, RedsysConfig, RedsysAPI, RestIniciaPeticion, RestTrataPeticion, CreateRedirectForm, ProcessRestNotification, ProcessSoapNotification, CreateSoapNotificationAnswer } from './client';
8
+ export { randomTransactionId, assertSuccessfulResponseCode, assertSuccessfulResponse, isResponseCodeOk } from './utils/misc';
9
+ export { getResponseCodeMessage, getSISErrorCodeMessage } from './utils/codes';
10
+ export { RedsysError, ValidationError, ParseError, HTTPError, GatewayError, ResponseError } from './errors';
11
+ export type { RedirectInputParams, RestIniciaPeticionInputParams, RestTrataPeticionInputParams } from './types/input-params';
12
+ export type { RestIniciaPeticionOutputParams, RestTrataPeticionOutputParams, RestNotificationOutputParams, SoapNotificationOutputParams } from './types/output-params';
13
+ export type { ResponseJSONSuccess, RedirectForm, ThreeDSv2MethodNotificationBody, ThreeDSv1ChallengeNotificationBody, ThreeDSv2ChallengeNotificationBody } from './types/api';
14
+ export { create3DSMethodForm, create3DSv1ChallengeForm, create3DSv2ChallengeForm, deserializeThreeDSMethodData, deserializeCres } from './rest/3ds';
15
+ export type { ThreeDSBrowserClientInfo, ThreeDSMethodForm, ThreeDSv1ChallengeForm, ThreeDSv2ChallengeForm, ThreeDSMethodData, ThreeDSCres } from './types/3ds-params';
16
+ export { detectSoapVersion, mimicSoapNotificationReceiver, mimicSoap11NotificationResponse, mimicSoap12NotificationResponse } from './soap/utils';
17
+ export { CURRENCIES, REV_CURRENCIES } from './assets/currencies';
18
+ export type { Currency, CurrencyNum } from './assets/currencies';
19
+ export { LANGUAGES, REV_LANGUAGES } from './assets/lang-codes';
20
+ export type { Language, LanguageNum } from './assets/lang-codes';
21
+ export { COUNTRIES, REV_COUNTRIES } from './assets/countries';
22
+ export type { Country, CountryNum } from './assets/countries';
23
+ export { CARDBRANDS, REV_CARDBRANDS } from './assets/card-brands';
24
+ export type { CardBrand, CardBrandNum } from './assets/card-brands';
25
+ export { default as TRANSACTION_TYPES } from './assets/transaction-types';
26
+ export type { TransactionType } from './assets/transaction-types';
27
+ export { useSingleInputFormatter, useOutputFormatter, usePromiseOutputFormatter } from './formatter-utils';
28
+ export { redirectInputFormatter, restIniciaPeticionInputFormatter, restTrataPeticionInputFormatter } from './formatters/input-params';
29
+ export { restNotificationOutputFormatter, soapNotificationOutputFormatter, restIniciaPeticionOutputFormatter, restTrataPeticionOutputFormatter } from './formatters/output-params';
30
+ export type { RedirectFormatterInput, RestIniciaPeticionFormatterInput, RestTrataPeticionFormatterInput, NotificationFormatterOutput, RestIniciaPeticionFormatterOutput, RestTrataPeticionFormatterOutput } from './formatters/types';