connect-sdk-nodejs 4.0.0 → 4.2.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.
- package/lib/model/domain/payment/definitions/index.d.ts +9 -11
- package/lib/utils/headers.js +1 -1
- package/package.json +1 -1
- package/schemas/hostedcheckout/CreateHostedCheckoutRequest.json +4 -0
- package/schemas/payment/CompletePaymentRequest.json +4 -0
- package/schemas/payment/CreatePaymentRequest.json +4 -0
|
@@ -184,22 +184,19 @@ export interface CashPaymentProduct1503SpecificInput {
|
|
|
184
184
|
*/
|
|
185
185
|
returnUrl?: string | null;
|
|
186
186
|
}
|
|
187
|
-
export interface CashPaymentProduct1504SpecificInput {
|
|
188
|
-
returnUrl?: string | null;
|
|
187
|
+
export interface CashPaymentProduct1504SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
189
188
|
}
|
|
190
|
-
export interface CashPaymentProduct1521SpecificInput {
|
|
191
|
-
returnUrl?: string | null;
|
|
189
|
+
export interface CashPaymentProduct1521SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
192
190
|
}
|
|
193
|
-
export interface CashPaymentProduct1522SpecificInput {
|
|
194
|
-
returnUrl?: string | null;
|
|
191
|
+
export interface CashPaymentProduct1522SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
195
192
|
}
|
|
196
|
-
export interface CashPaymentProduct1523SpecificInput {
|
|
197
|
-
returnUrl?: string | null;
|
|
193
|
+
export interface CashPaymentProduct1523SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
198
194
|
}
|
|
199
|
-
export interface CashPaymentProduct1524SpecificInput {
|
|
200
|
-
|
|
195
|
+
export interface CashPaymentProduct1524SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
196
|
+
}
|
|
197
|
+
export interface CashPaymentProduct1526SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
201
198
|
}
|
|
202
|
-
export interface
|
|
199
|
+
export interface CashPaymentProductWithRedirectSpecificInputBase {
|
|
203
200
|
returnUrl?: string | null;
|
|
204
201
|
}
|
|
205
202
|
export interface CompletePaymentCardPaymentMethodSpecificInput {
|
|
@@ -344,6 +341,7 @@ export interface HostedCheckoutSpecificOutput {
|
|
|
344
341
|
export interface Installments {
|
|
345
342
|
amountOfMoneyPerInstallment?: AmountOfMoney | null;
|
|
346
343
|
frequencyOfInstallments?: string | null;
|
|
344
|
+
installmentPlanCode?: number | null;
|
|
347
345
|
interestRate?: string | null;
|
|
348
346
|
numberOfInstallments?: number | null;
|
|
349
347
|
}
|
package/lib/utils/headers.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.date = date;
|
|
|
9
9
|
function serverMetaInfo(sdkContext) {
|
|
10
10
|
const info = {
|
|
11
11
|
sdkCreator: "Ingenico",
|
|
12
|
-
sdkIdentifier: "NodejsServerSDK/v4.
|
|
12
|
+
sdkIdentifier: "NodejsServerSDK/v4.2.1",
|
|
13
13
|
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
|
|
14
14
|
};
|
|
15
15
|
if (sdkContext.getIntegrator() !== null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connect-sdk-nodejs",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
|
|
5
5
|
"homepage": "https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme",
|
|
6
6
|
"bugs": {
|