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/assets/card-brands.d.ts +28 -28
- package/lib/assets/countries.d.ts +31 -31
- package/lib/assets/currencies.d.ts +36 -36
- package/lib/assets/error-codes.d.ts +17 -17
- package/lib/assets/lang-codes.d.ts +31 -31
- package/lib/assets/response-codes.d.ts +2 -2
- package/lib/assets/transaction-types.d.ts +56 -56
- package/lib/client.d.ts +102 -50
- package/lib/crypto.d.ts +25 -25
- package/lib/errors.d.ts +75 -75
- package/lib/formatter-utils.d.ts +24 -24
- package/lib/formatters/input-params.d.ts +21 -21
- package/lib/formatters/output-params.d.ts +29 -29
- package/lib/formatters/types.d.ts +316 -316
- package/lib/index.d.ts +30 -30
- package/lib/index.esm.js +3429 -1985
- package/lib/index.js +3429 -1996
- package/lib/rest/3ds.d.ts +31 -31
- package/lib/rest/json-serialization.d.ts +2 -2
- package/lib/rest/json-sha256-signature.d.ts +3 -3
- package/lib/rest/json.d.ts +3 -3
- package/lib/rest/requests.d.ts +8 -2
- package/lib/soap/notification-serialization.d.ts +3 -3
- package/lib/soap/notification-signature.d.ts +3 -3
- package/lib/soap/notification.d.ts +4 -4
- package/lib/soap/utils.d.ts +43 -43
- package/lib/types/3ds-params.d.ts +345 -345
- package/lib/types/api.d.ts +80 -80
- package/lib/types/input-params.d.ts +176 -176
- package/lib/types/output-params.d.ts +158 -158
- package/lib/utils/codes.d.ts +13 -13
- package/lib/utils/misc.d.ts +30 -24
- package/package.json +40 -41
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';
|