connect-sdk-nodejs 5.3.0 → 5.4.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.
@@ -9,7 +9,7 @@ exports.date = date;
9
9
  function serverMetaInfo(sdkContext) {
10
10
  const info = {
11
11
  sdkCreator: "Worldline",
12
- sdkIdentifier: "NodejsServerSDK/v5.3.0",
12
+ sdkIdentifier: "NodejsServerSDK/v5.4.0",
13
13
  platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
14
14
  integrator: sdkContext.getIntegrator()
15
15
  };
@@ -753,6 +753,12 @@ export interface CustomerToken extends CustomerBase {
753
753
  export interface CustomerTokenWithContactDetails extends CustomerToken {
754
754
  contactDetails?: ContactDetailsToken | null;
755
755
  }
756
+ export interface CybersourceDecisionManager {
757
+ clauseName?: string | null;
758
+ fraudScore?: number | null;
759
+ policyApplied?: string | null;
760
+ reasonCodes?: string[] | null;
761
+ }
756
762
  export interface Debtor {
757
763
  additionalAddressInfo?: string | null;
758
764
  city?: string | null;
@@ -992,6 +998,7 @@ export interface FraudFieldsShippingDetails {
992
998
  methodType?: number | null;
993
999
  }
994
1000
  export interface FraudResults {
1001
+ cybersourceDecisionManager?: CybersourceDecisionManager | null;
995
1002
  fraudServiceResult?: string | null;
996
1003
  inAuth?: InAuth | null;
997
1004
  microsoftFraudProtection?: MicrosoftFraudResults | null;
@@ -1340,6 +1347,7 @@ export interface MicrosoftFraudResults {
1340
1347
  deviceId?: string | null;
1341
1348
  fraudScore?: number | null;
1342
1349
  policyApplied?: string | null;
1350
+ reasonCodes?: string[] | null;
1343
1351
  trueIpAddress?: string | null;
1344
1352
  userDeviceType?: string | null;
1345
1353
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connect-sdk-nodejs",
3
- "version": "5.3.0",
3
+ "version": "5.4.0",
4
4
  "description": "SDK to communicate with the Worldline Global Collect platform using the Worldline Connect Server API",
5
5
  "homepage": "https://github.com/Worldline-Global-Collect/connect-sdk-nodejs#readme",
6
6
  "bugs": {