connect-sdk-nodejs 4.17.0 → 4.18.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/captures/get.js +1 -1
- package/lib/captures/index.js +1 -1
- package/lib/captures/refund.js +1 -1
- package/lib/disputes/cancel.js +1 -1
- package/lib/disputes/get.js +1 -1
- package/lib/disputes/index.js +1 -1
- package/lib/disputes/submit.js +1 -1
- package/lib/disputes/uploadFile.js +1 -1
- package/lib/files/getFile.js +1 -1
- package/lib/files/index.js +1 -1
- package/lib/hostedcheckouts/create.js +1 -1
- package/lib/hostedcheckouts/get.js +1 -1
- package/lib/hostedcheckouts/index.js +1 -1
- package/lib/hostedcheckouts/remove.js +1 -1
- package/lib/hostedmandatemanagements/create.js +1 -1
- package/lib/hostedmandatemanagements/get.js +1 -1
- package/lib/hostedmandatemanagements/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/installments/getInstallmentsInfo.js +1 -1
- package/lib/installments/index.js +1 -1
- package/lib/mandates/block.js +1 -1
- package/lib/mandates/create.js +1 -1
- package/lib/mandates/createWithMandateReference.js +1 -1
- package/lib/mandates/get.js +1 -1
- package/lib/mandates/index.js +1 -1
- package/lib/mandates/revoke.js +1 -1
- package/lib/mandates/unblock.js +1 -1
- package/lib/model/domain/errors/definitions/index.js +1 -1
- package/lib/model/domain/file/definitions/index.js +1 -1
- package/lib/model/domain/payment/definitions/index.d.ts +1 -0
- package/lib/model/installments/index.d.ts +1 -1
- package/lib/model/webhooks/index.d.ts +2 -27
- package/lib/model/webhooks/index.js +11 -22
- package/lib/model/webhooks/index.js.map +1 -1
- package/lib/model/webhooks/types.d.ts +32 -0
- package/lib/model/webhooks/types.js +25 -0
- package/lib/model/webhooks/types.js.map +1 -0
- package/lib/payments/approve.js +1 -1
- package/lib/payments/cancel.js +1 -1
- package/lib/payments/cancelapproval.js +1 -1
- package/lib/payments/capture.js +1 -1
- package/lib/payments/captures.js +1 -1
- package/lib/payments/complete.js +1 -1
- package/lib/payments/create.js +1 -1
- package/lib/payments/devicefingerprint.js +1 -1
- package/lib/payments/dispute.js +1 -1
- package/lib/payments/disputes.js +1 -1
- package/lib/payments/find.js +1 -1
- package/lib/payments/get.js +1 -1
- package/lib/payments/index.js +1 -1
- package/lib/payments/processchallenged.js +1 -1
- package/lib/payments/refund.js +1 -1
- package/lib/payments/refunds.js +1 -1
- package/lib/payments/thirdPartyStatus.js +1 -1
- package/lib/payments/tokenize.js +1 -1
- package/lib/payouts/approve.js +1 -1
- package/lib/payouts/cancel.js +1 -1
- package/lib/payouts/cancelapproval.js +1 -1
- package/lib/payouts/create.js +1 -1
- package/lib/payouts/find.js +1 -1
- package/lib/payouts/get.js +1 -1
- package/lib/payouts/index.js +1 -1
- package/lib/productgroups/deviceFingerprint.js +1 -1
- package/lib/productgroups/find.js +1 -1
- package/lib/productgroups/get.js +1 -1
- package/lib/productgroups/index.js +1 -1
- package/lib/products/customerDetails.js +1 -1
- package/lib/products/deviceFingerprint.js +1 -1
- package/lib/products/directory.js +1 -1
- package/lib/products/find.js +1 -1
- package/lib/products/get.js +1 -1
- package/lib/products/index.js +1 -1
- package/lib/products/networks.js +1 -1
- package/lib/products/sessions.js +1 -1
- package/lib/refunds/approve.js +1 -1
- package/lib/refunds/cancel.js +1 -1
- package/lib/refunds/cancelapproval.js +1 -1
- package/lib/refunds/find.js +1 -1
- package/lib/refunds/get.js +1 -1
- package/lib/refunds/index.js +1 -1
- package/lib/riskassessments/bankaccounts.js +1 -1
- package/lib/riskassessments/cards.js +1 -1
- package/lib/riskassessments/index.js +1 -1
- package/lib/services/bankaccount.js +1 -1
- package/lib/services/convertAmount.js +1 -1
- package/lib/services/getIINdetails.js +1 -1
- package/lib/services/index.js +1 -1
- package/lib/services/privacypolicy.js +1 -1
- package/lib/services/testconnection.js +1 -1
- package/lib/sessions/create.js +1 -1
- package/lib/sessions/index.js +1 -1
- package/lib/tokens/approvesepadirectdebit.js +1 -1
- package/lib/tokens/create.js +1 -1
- package/lib/tokens/get.js +1 -1
- package/lib/tokens/index.js +1 -1
- package/lib/tokens/remove.js +1 -1
- package/lib/tokens/update.js +1 -1
- package/lib/utils/headers.js +1 -1
- package/lib/webhooks/index.js +3 -55
- package/lib/webhooks/index.js.map +1 -1
- package/lib/webhooks/validation.d.ts +3 -0
- package/lib/webhooks/validation.js +63 -0
- package/lib/webhooks/validation.js.map +1 -0
- package/package.json +1 -1
- package/schemas/hostedcheckout/CreateHostedCheckoutRequest.json +3 -0
- package/schemas/payment/CreatePaymentRequest.json +3 -0
package/lib/captures/get.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getCapture = function (merchantId, captureId, paymentContext, cb) {
|
package/lib/captures/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const get = require("./get");
|
|
7
7
|
const refund = require("./refund");
|
package/lib/captures/refund.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/disputes/cancel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const cancelDispute = function (merchantId, disputeId, paymentContext, cb) {
|
package/lib/disputes/get.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getDispute = function (merchantId, disputeId, paymentContext, cb) {
|
package/lib/disputes/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const get = require("./get");
|
|
7
7
|
const submit = require("./submit");
|
package/lib/disputes/submit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const submitDispute = function (merchantId, disputeId, paymentContext, cb) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const uploadDisputeFile = function (merchantId, disputeId, postData, paymentContext, cb) {
|
package/lib/files/getFile.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getFile = function (merchantId, fileId, paymentContext, cb) {
|
package/lib/files/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getHostedCheckout = function (merchantId, hostedCheckoutId, paymentContext, cb) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const create = require("./create");
|
|
7
7
|
const get = require("./get");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const deleteHostedCheckout = function (merchantId, hostedCheckoutId, paymentContext, cb) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getHostedMandateManagement = function (merchantId, hostedMandateManagementId, paymentContext, cb) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const create = require("./create");
|
|
7
7
|
const get = require("./get");
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAMA,8CAA+C;AAC/C,+CAAgD;AAEhD,qDAAsD;AACtD,uEAAwE;AACxE,uCAAwC;AACxC,uCAAwC;AACxC,qCAAsC;AACtC,uCAAwC;AACxC,qCAAsC;AACtC,iDAAkD;AAClD,uCAAwC;AACxC,qDAAsD;AACtD,uCAAwC;AACxC,mCAAoC;AACpC,uCAAwC;AACxC,uCAAwC;AACx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C,CAAC;QAC5D,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;QAC7C,UAAU,CAAC,wBAAwB,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC;QACnE,OAAO,UAAU,CAAC;IACpB,CAAC;IACD,eAAe,EAAE,eAAe;IAChC,wBAAwB,EAAE,wBAAwB;IAClD,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,OAAO;IAChB,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,OAAO;IAChB,aAAa,EAAE,aAAa;IAC5B,QAAQ,EAAE,QAAQ;IAClB,eAAe,EAAE,eAAe;IAChC,QAAQ,EAAE,QAAQ;IAClB,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,QAAQ;IAClB,QAAQ,EAAE,QAAQ;IAClB,YAAY,EAAE,YAAY;IAC1B,KAAK,EAAE,KAAK;IAEZ,OAAO,EAAE,UAAU;IAEnB,QAAQ,EAAE,QAAQ;IAElB,SAAS,EAAE;QACT,GAAG,EAAE,SAAS,CAAC,GAAG;QAClB,UAAU,EAAE,SAAS,CAAC,UAAU;QAChC,WAAW,EAAE,SAAS,CAAC,WAAW;QAClC,eAAe,EAAE,SAAS,CAAC,eAAe;KAC3C;CACF,CAAC;AACF,iBAAS,UAAU,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const getInstallmentsInfo = require("./getInstallmentsInfo");
|
|
7
7
|
const installmentsClient = {
|
package/lib/mandates/block.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const blockMandate = function (merchantId, uniqueMandateReference, paymentContext, cb) {
|
package/lib/mandates/create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/mandates/get.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getMandate = function (merchantId, uniqueMandateReference, paymentContext, cb) {
|
package/lib/mandates/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const create = require("./create");
|
|
7
7
|
const createWithMandateReference = require("./createWithMandateReference");
|
package/lib/mandates/revoke.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const revokeMandate = function (merchantId, uniqueMandateReference, paymentContext, cb) {
|
package/lib/mandates/unblock.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const unblockMandate = function (merchantId, uniqueMandateReference, paymentContext, cb) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -5,6 +5,7 @@ export interface AbstractBankTransferPaymentMethodSpecificInput extends Abstract
|
|
|
5
5
|
additionalReference?: string | null;
|
|
6
6
|
}
|
|
7
7
|
export interface AbstractCardPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
|
|
8
|
+
acquirerPromotionCode?: string | null;
|
|
8
9
|
authorizationMode?: string | null;
|
|
9
10
|
customerReference?: string | null;
|
|
10
11
|
initialSchemeTransactionId?: string | null;
|
|
@@ -2,7 +2,7 @@ import { GetInstallmentRequest } from "../domain/installments";
|
|
|
2
2
|
import { PaymentContext, SdkCallback } from "../types";
|
|
3
3
|
export interface InstallmentsClient {
|
|
4
4
|
/**
|
|
5
|
-
* Resource /{merchantId}/installments/getInstallmentsInfo - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/installments/getInstallmentsInfo.html">Get
|
|
5
|
+
* Resource /{merchantId}/installments/getInstallmentsInfo - <a href="https://epayments-api.developer-ingenico.com/s2sapi/v1/en_US/nodejs/installments/getInstallmentsInfo.html">Get installment information</a>
|
|
6
6
|
* @param cb The callback for the response.
|
|
7
7
|
* If the call was successfull, the response body type will be {@link InstallmentOptionsResponse}.
|
|
8
8
|
* If the call was not successful, the response body type will be {@link ErrorResponse}.
|
|
@@ -1,36 +1,11 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
+
import { InMemorySecretKeyStore, RequestHeaders, ValidateCallback, WebhooksContext } from "./types";
|
|
2
3
|
import { WebhooksEvent } from "../domain/webhooks";
|
|
3
|
-
export declare class ApiVersionMismatchError extends Error {
|
|
4
|
-
readonly eventApiVersion: string;
|
|
5
|
-
readonly sdkApiVersion: string;
|
|
6
|
-
constructor(message: string, eventApiVersion: string, sdkApiVersion: string);
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
9
|
-
export interface InMemorySecretKeyStore extends SecretKeyStore {
|
|
10
|
-
storeSecretKey(keyId: string, secretKey: string): void;
|
|
11
|
-
removeSecretKey(keyId: string): void;
|
|
12
|
-
clear(): void;
|
|
13
|
-
}
|
|
14
|
-
export declare type RequestHeaders = {
|
|
15
|
-
[header: string]: string | string[] | undefined;
|
|
16
|
-
};
|
|
17
|
-
export declare type SecretKeyCallback = (e: Error | null, secretKey: string | null) => void;
|
|
18
|
-
export declare class SecretKeyNotAvailableError extends Error {
|
|
19
|
-
readonly keyId: string;
|
|
20
|
-
constructor(message: string, keyId: string);
|
|
21
|
-
name: string;
|
|
22
|
-
}
|
|
23
|
-
export interface SecretKeyStore {
|
|
24
|
-
getSecretKey(keyId: string, cb: SecretKeyCallback): void;
|
|
25
|
-
}
|
|
26
4
|
export declare type UnmarshalCallback = (e: Error | null, event: WebhooksEvent | null) => void;
|
|
27
|
-
export declare type ValidateCallback = (e: Error | null) => void;
|
|
28
|
-
export interface WebhooksContext {
|
|
29
|
-
getSecretKey(keyId: string, cb: SecretKeyCallback): void;
|
|
30
|
-
}
|
|
31
5
|
export interface WebhooksHelper {
|
|
32
6
|
init(context: WebhooksContext): WebhooksHelper;
|
|
33
7
|
validate(body: string | Buffer, requestHeaders: RequestHeaders, cb: ValidateCallback): void;
|
|
34
8
|
unmarshal(body: string | Buffer, requestHeaders: RequestHeaders, cb: UnmarshalCallback): void;
|
|
35
9
|
readonly inMemorySecretKeyStore: InMemorySecretKeyStore;
|
|
36
10
|
}
|
|
11
|
+
export * from "./types";
|
|
@@ -1,25 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
class ApiVersionMismatchError extends Error {
|
|
5
|
-
constructor(message, eventApiVersion, sdkApiVersion) {
|
|
6
|
-
super(message);
|
|
7
|
-
this.eventApiVersion = eventApiVersion;
|
|
8
|
-
this.sdkApiVersion = sdkApiVersion;
|
|
9
|
-
this.name = "ApiVersionMismatchError";
|
|
10
|
-
// see https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
11
|
-
Object.setPrototypeOf(this, ApiVersionMismatchError.prototype);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
exports.ApiVersionMismatchError = ApiVersionMismatchError;
|
|
15
|
-
class SecretKeyNotAvailableError extends Error {
|
|
16
|
-
constructor(message, keyId) {
|
|
17
|
-
super(message);
|
|
18
|
-
this.keyId = keyId;
|
|
19
|
-
this.name = "SecretKeyNotAvailableError";
|
|
20
|
-
// see https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
21
|
-
Object.setPrototypeOf(this, SecretKeyNotAvailableError.prototype);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.SecretKeyNotAvailableError = SecretKeyNotAvailableError;
|
|
13
|
+
__exportStar(require("./types"), exports);
|
|
25
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/webhooks/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/model/webhooks/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,0CAAwB"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
export declare class ApiVersionMismatchError extends Error {
|
|
3
|
+
readonly eventApiVersion: string;
|
|
4
|
+
readonly sdkApiVersion: string;
|
|
5
|
+
constructor(message: string, eventApiVersion: string, sdkApiVersion: string);
|
|
6
|
+
name: string;
|
|
7
|
+
}
|
|
8
|
+
export interface InMemorySecretKeyStore extends SecretKeyStore {
|
|
9
|
+
storeSecretKey(keyId: string, secretKey: string): void;
|
|
10
|
+
removeSecretKey(keyId: string): void;
|
|
11
|
+
clear(): void;
|
|
12
|
+
}
|
|
13
|
+
export declare type RequestHeaders = {
|
|
14
|
+
[header: string]: string | string[] | undefined;
|
|
15
|
+
};
|
|
16
|
+
export declare type SecretKeyCallback = (e: Error | null, secretKey: string | null) => void;
|
|
17
|
+
export declare class SecretKeyNotAvailableError extends Error {
|
|
18
|
+
readonly keyId: string;
|
|
19
|
+
constructor(message: string, keyId: string);
|
|
20
|
+
name: string;
|
|
21
|
+
}
|
|
22
|
+
export interface SecretKeyStore {
|
|
23
|
+
getSecretKey(keyId: string, cb: SecretKeyCallback): void;
|
|
24
|
+
}
|
|
25
|
+
export interface SignatureValidator {
|
|
26
|
+
init(secretKeyStore: SecretKeyStore): void;
|
|
27
|
+
validate(body: string | Buffer, requestHeaders: RequestHeaders, cb: ValidateCallback): void;
|
|
28
|
+
}
|
|
29
|
+
export declare type ValidateCallback = (e: Error | null) => void;
|
|
30
|
+
export interface WebhooksContext {
|
|
31
|
+
getSecretKey(keyId: string, cb: SecretKeyCallback): void;
|
|
32
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SecretKeyNotAvailableError = exports.ApiVersionMismatchError = void 0;
|
|
4
|
+
class ApiVersionMismatchError extends Error {
|
|
5
|
+
constructor(message, eventApiVersion, sdkApiVersion) {
|
|
6
|
+
super(message);
|
|
7
|
+
this.eventApiVersion = eventApiVersion;
|
|
8
|
+
this.sdkApiVersion = sdkApiVersion;
|
|
9
|
+
this.name = "ApiVersionMismatchError";
|
|
10
|
+
// see https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
11
|
+
Object.setPrototypeOf(this, ApiVersionMismatchError.prototype);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
exports.ApiVersionMismatchError = ApiVersionMismatchError;
|
|
15
|
+
class SecretKeyNotAvailableError extends Error {
|
|
16
|
+
constructor(message, keyId) {
|
|
17
|
+
super(message);
|
|
18
|
+
this.keyId = keyId;
|
|
19
|
+
this.name = "SecretKeyNotAvailableError";
|
|
20
|
+
// see https://github.com/Microsoft/TypeScript-wiki/blob/master/Breaking-Changes.md#extending-built-ins-like-error-array-and-map-may-no-longer-work
|
|
21
|
+
Object.setPrototypeOf(this, SecretKeyNotAvailableError.prototype);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
exports.SecretKeyNotAvailableError = SecretKeyNotAvailableError;
|
|
25
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/model/webhooks/types.ts"],"names":[],"mappings":";;;AAAA,MAAa,uBAAwB,SAAQ,KAAK;IAChD,YAAmB,OAAe,EAAkB,eAAuB,EAAkB,aAAqB;QAChH,KAAK,CAAC,OAAO,CAAC,CAAC;QADmC,oBAAe,GAAf,eAAe,CAAQ;QAAkB,kBAAa,GAAb,aAAa,CAAQ;QAKlH,SAAI,GAAG,yBAAyB,CAAC;QAH/B,mJAAmJ;QACnJ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IACjE,CAAC;CAEF;AAPD,0DAOC;AAYD,MAAa,0BAA2B,SAAQ,KAAK;IACnD,YAAmB,OAAe,EAAkB,KAAa;QAC/D,KAAK,CAAC,OAAO,CAAC,CAAC;QADmC,UAAK,GAAL,KAAK,CAAQ;QAKjE,SAAI,GAAG,4BAA4B,CAAC;QAHlC,mJAAmJ;QACnJ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;IACpE,CAAC;CAEF;AAPD,gEAOC"}
|
package/lib/payments/approve.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/payments/cancel.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const cancelPayment = function (merchantId, paymentId, paymentContext, cb) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const cancelApprovalPayment = function (merchantId, paymentId, paymentContext, cb) {
|
package/lib/payments/capture.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/payments/captures.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getPaymentCaptures = function (merchantId, paymentId, paymentContext, cb) {
|
package/lib/payments/complete.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/payments/create.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getPaymentDeviceFingerprintDetails = function (merchantId, paymentId, paymentContext, cb) {
|
package/lib/payments/dispute.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/payments/disputes.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getPaymentDisputes = function (merchantId, paymentId, paymentContext, cb) {
|
package/lib/payments/find.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const findPayments = function (merchantId, paymentContext, cb) {
|
package/lib/payments/get.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getPayment = function (merchantId, paymentId, paymentContext, cb) {
|
package/lib/payments/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const create = require("./create");
|
|
7
7
|
const find = require("./find");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const processChallengedPayment = function (merchantId, paymentId, paymentContext, cb) {
|
package/lib/payments/refund.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const jsonschema_1 = require("jsonschema");
|
|
7
7
|
const communicator = require("../utils/communicator");
|
package/lib/payments/refunds.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/*
|
|
3
3
|
* This file was auto-generated from the API references found at
|
|
4
|
-
* https://epayments-api.developer-ingenico.com/
|
|
4
|
+
* https://epayments-api.developer-ingenico.com/
|
|
5
5
|
*/
|
|
6
6
|
const communicator = require("../utils/communicator");
|
|
7
7
|
const getRefunds = function (merchantId, paymentId, paymentContext, cb) {
|