Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 058b9e4

Browse files
Release 4.13.0.
1 parent 45c1775 commit 058b9e4

File tree

9 files changed

+31
-8
lines changed

9 files changed

+31
-8
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connect-sdk-nodejs",
3-
"version": "4.12.0",
3+
"version": "4.13.0",
44
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
55
"homepage": "https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme",
66
"bugs": {

schemas/hostedcheckout/CreateHostedCheckoutRequest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,6 +1389,12 @@
13891389
},
13901390
"merchantReference" : {
13911391
"type" : "string"
1392+
},
1393+
"providerId" : {
1394+
"type" : "string"
1395+
},
1396+
"providerMerchantId" : {
1397+
"type" : "string"
13921398
}
13931399
},
13941400
"additionalProperties" : false

schemas/payment/CompletePaymentRequest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -963,6 +963,12 @@
963963
},
964964
"merchantReference" : {
965965
"type" : "string"
966+
},
967+
"providerId" : {
968+
"type" : "string"
969+
},
970+
"providerMerchantId" : {
971+
"type" : "string"
966972
}
967973
},
968974
"additionalProperties" : false

schemas/payment/CreatePaymentRequest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,12 @@
16731673
},
16741674
"merchantReference" : {
16751675
"type" : "string"
1676+
},
1677+
"providerId" : {
1678+
"type" : "string"
1679+
},
1680+
"providerMerchantId" : {
1681+
"type" : "string"
16761682
}
16771683
},
16781684
"additionalProperties" : false

src/model/domain/capture/definitions/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* This file was auto-generated from the API references found at
33
* https://epayments-api.developer-ingenico.com/s2sapi/v1/
44
*/
5-
import { AbstractOrderStatus } from "../../definitions";
5+
import { AbstractOrderStatus, KeyValuePair } from "../../definitions";
66
import {
77
BankTransferPaymentMethodSpecificOutput,
88
CardPaymentMethodSpecificOutput,
@@ -39,5 +39,7 @@ export interface CaptureOutput extends OrderOutput {
3939
}
4040

4141
export interface CaptureStatusOutput {
42+
isRetriable?: boolean | null;
43+
providerRawOutput?: KeyValuePair[] | null;
4244
statusCode?: number | null;
4345
}

src/model/domain/definitions/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,8 @@ export interface MicrosoftFraudResults {
310310
export interface OrderStatusOutput {
311311
errors?: APIError[] | null;
312312
isCancellable?: boolean | null;
313+
isRetriable?: boolean | null;
314+
providerRawOutput?: KeyValuePair[] | null;
313315
statusCategory?: string | null;
314316
statusCode?: number | null;
315317
statusCodeChangeDateTime?: string | null;

src/model/domain/payment/definitions/index.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,6 +633,8 @@ export interface OrderReferences {
633633
invoiceData?: OrderInvoiceData | null;
634634
merchantOrderId?: number | null;
635635
merchantReference?: string | null;
636+
providerId?: string | null;
637+
providerMerchantId?: string | null;
636638
}
637639

638640
export interface OrderReferencesApprovePayment {
@@ -745,8 +747,6 @@ export interface PaymentReferences {
745747
export interface PaymentStatusOutput extends OrderStatusOutput {
746748
isAuthorized?: boolean | null;
747749
isRefundable?: boolean | null;
748-
isRetriable?: boolean | null;
749-
providerRawOutput?: KeyValuePair[] | null;
750750
threeDSecureStatus?: string | null;
751751
}
752752

@@ -862,8 +862,9 @@ export interface RedirectionData {
862862
// eslint-disable-next-line @typescript-eslint/no-empty-interface
863863
export interface RefundBankMethodSpecificOutput extends RefundMethodSpecificOutput {}
864864

865-
// eslint-disable-next-line @typescript-eslint/no-empty-interface
866-
export interface RefundCardMethodSpecificOutput extends RefundMethodSpecificOutput {}
865+
export interface RefundCardMethodSpecificOutput extends RefundMethodSpecificOutput {
866+
authorisationCode?: string | null;
867+
}
867868

868869
// eslint-disable-next-line @typescript-eslint/no-empty-interface
869870
export interface RefundCashMethodSpecificOutput extends RefundMethodSpecificOutput {}

src/utils/headers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ interface ServerMetaInfo {
1818
export function serverMetaInfo(sdkContext: SdkContext): Header {
1919
const info: ServerMetaInfo = {
2020
sdkCreator: "Ingenico",
21-
sdkIdentifier: "NodejsServerSDK/v4.12.0",
21+
sdkIdentifier: "NodejsServerSDK/v4.13.0",
2222
platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
2323
};
2424
if (sdkContext.getIntegrator() !== null) {

0 commit comments

Comments
 (0)