connect-sdk-nodejs 4.12.0 → 4.13.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.
@@ -1,4 +1,4 @@
1
- import { AbstractOrderStatus } from "../../definitions";
1
+ import { AbstractOrderStatus, KeyValuePair } from "../../definitions";
2
2
  import { BankTransferPaymentMethodSpecificOutput, CardPaymentMethodSpecificOutput, CashPaymentMethodSpecificOutput, EInvoicePaymentMethodSpecificOutput, InvoicePaymentMethodSpecificOutput, MobilePaymentMethodSpecificOutput, NonSepaDirectDebitPaymentMethodSpecificOutput, OrderOutput, RedirectPaymentMethodSpecificOutput, SepaDirectDebitPaymentMethodSpecificOutput } from "../../payment/definitions";
3
3
  export interface Capture extends AbstractOrderStatus {
4
4
  captureOutput?: CaptureOutput | null;
@@ -21,5 +21,7 @@ export interface CaptureOutput extends OrderOutput {
21
21
  sepaDirectDebitPaymentMethodSpecificOutput?: SepaDirectDebitPaymentMethodSpecificOutput | null;
22
22
  }
23
23
  export interface CaptureStatusOutput {
24
+ isRetriable?: boolean | null;
25
+ providerRawOutput?: KeyValuePair[] | null;
24
26
  statusCode?: number | null;
25
27
  }
@@ -276,6 +276,8 @@ export interface MicrosoftFraudResults {
276
276
  export interface OrderStatusOutput {
277
277
  errors?: APIError[] | null;
278
278
  isCancellable?: boolean | null;
279
+ isRetriable?: boolean | null;
280
+ providerRawOutput?: KeyValuePair[] | null;
279
281
  statusCategory?: string | null;
280
282
  statusCode?: number | null;
281
283
  statusCodeChangeDateTime?: string | null;
@@ -521,6 +521,8 @@ export interface OrderReferences {
521
521
  invoiceData?: OrderInvoiceData | null;
522
522
  merchantOrderId?: number | null;
523
523
  merchantReference?: string | null;
524
+ providerId?: string | null;
525
+ providerMerchantId?: string | null;
524
526
  }
525
527
  export interface OrderReferencesApprovePayment {
526
528
  merchantReference?: string | null;
@@ -617,8 +619,6 @@ export interface PaymentReferences {
617
619
  export interface PaymentStatusOutput extends OrderStatusOutput {
618
620
  isAuthorized?: boolean | null;
619
621
  isRefundable?: boolean | null;
620
- isRetriable?: boolean | null;
621
- providerRawOutput?: KeyValuePair[] | null;
622
622
  threeDSecureStatus?: string | null;
623
623
  }
624
624
  export interface PersonalInformation {
@@ -715,6 +715,7 @@ export interface RedirectionData {
715
715
  export interface RefundBankMethodSpecificOutput extends RefundMethodSpecificOutput {
716
716
  }
717
717
  export interface RefundCardMethodSpecificOutput extends RefundMethodSpecificOutput {
718
+ authorisationCode?: string | null;
718
719
  }
719
720
  export interface RefundCashMethodSpecificOutput extends RefundMethodSpecificOutput {
720
721
  }
@@ -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.0",
12
+ sdkIdentifier: "NodejsServerSDK/v4.13.0",
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.12.0",
3
+ "version": "4.13.0",
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": {
@@ -1389,6 +1389,12 @@
1389
1389
  },
1390
1390
  "merchantReference" : {
1391
1391
  "type" : "string"
1392
+ },
1393
+ "providerId" : {
1394
+ "type" : "string"
1395
+ },
1396
+ "providerMerchantId" : {
1397
+ "type" : "string"
1392
1398
  }
1393
1399
  },
1394
1400
  "additionalProperties" : false
@@ -963,6 +963,12 @@
963
963
  },
964
964
  "merchantReference" : {
965
965
  "type" : "string"
966
+ },
967
+ "providerId" : {
968
+ "type" : "string"
969
+ },
970
+ "providerMerchantId" : {
971
+ "type" : "string"
966
972
  }
967
973
  },
968
974
  "additionalProperties" : false
@@ -1673,6 +1673,12 @@
1673
1673
  },
1674
1674
  "merchantReference" : {
1675
1675
  "type" : "string"
1676
+ },
1677
+ "providerId" : {
1678
+ "type" : "string"
1679
+ },
1680
+ "providerMerchantId" : {
1681
+ "type" : "string"
1676
1682
  }
1677
1683
  },
1678
1684
  "additionalProperties" : false