connect-sdk-nodejs 5.3.0 → 5.5.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/utils/headers.js
CHANGED
|
@@ -9,7 +9,7 @@ exports.date = date;
|
|
|
9
9
|
function serverMetaInfo(sdkContext) {
|
|
10
10
|
const info = {
|
|
11
11
|
sdkCreator: "Worldline",
|
|
12
|
-
sdkIdentifier: "NodejsServerSDK/v5.
|
|
12
|
+
sdkIdentifier: "NodejsServerSDK/v5.5.0",
|
|
13
13
|
platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
|
|
14
14
|
integrator: sdkContext.getIntegrator()
|
|
15
15
|
};
|
|
@@ -412,7 +412,9 @@ export interface CardPaymentMethodSpecificOutput extends AbstractPaymentMethodSp
|
|
|
412
412
|
card?: CardEssentials | null;
|
|
413
413
|
fraudResults?: CardFraudResults | null;
|
|
414
414
|
initialSchemeTransactionId?: string | null;
|
|
415
|
+
networkTokenData?: NetworkTokenData | null;
|
|
415
416
|
networkTokenUsed?: boolean | null;
|
|
417
|
+
paymentAccountReference?: string | null;
|
|
416
418
|
schemeTransactionId?: string | null;
|
|
417
419
|
threeDSecureResults?: ThreeDSecureResults | null;
|
|
418
420
|
token?: string | null;
|
|
@@ -753,6 +755,12 @@ export interface CustomerToken extends CustomerBase {
|
|
|
753
755
|
export interface CustomerTokenWithContactDetails extends CustomerToken {
|
|
754
756
|
contactDetails?: ContactDetailsToken | null;
|
|
755
757
|
}
|
|
758
|
+
export interface CybersourceDecisionManager {
|
|
759
|
+
clauseName?: string | null;
|
|
760
|
+
fraudScore?: number | null;
|
|
761
|
+
policyApplied?: string | null;
|
|
762
|
+
reasonCodes?: string[] | null;
|
|
763
|
+
}
|
|
756
764
|
export interface Debtor {
|
|
757
765
|
additionalAddressInfo?: string | null;
|
|
758
766
|
city?: string | null;
|
|
@@ -992,6 +1000,7 @@ export interface FraudFieldsShippingDetails {
|
|
|
992
1000
|
methodType?: number | null;
|
|
993
1001
|
}
|
|
994
1002
|
export interface FraudResults {
|
|
1003
|
+
cybersourceDecisionManager?: CybersourceDecisionManager | null;
|
|
995
1004
|
fraudServiceResult?: string | null;
|
|
996
1005
|
inAuth?: InAuth | null;
|
|
997
1006
|
microsoftFraudProtection?: MicrosoftFraudResults | null;
|
|
@@ -1340,6 +1349,7 @@ export interface MicrosoftFraudResults {
|
|
|
1340
1349
|
deviceId?: string | null;
|
|
1341
1350
|
fraudScore?: number | null;
|
|
1342
1351
|
policyApplied?: string | null;
|
|
1352
|
+
reasonCodes?: string[] | null;
|
|
1343
1353
|
trueIpAddress?: string | null;
|
|
1344
1354
|
userDeviceType?: string | null;
|
|
1345
1355
|
}
|
|
@@ -1397,6 +1407,11 @@ export interface MobileThreeDSecureChallengeParameters {
|
|
|
1397
1407
|
acsTransactionId?: string | null;
|
|
1398
1408
|
threeDServerTransactionId?: string | null;
|
|
1399
1409
|
}
|
|
1410
|
+
export interface NetworkTokenData {
|
|
1411
|
+
networkToken?: string | null;
|
|
1412
|
+
tokenExpiryDate?: string | null;
|
|
1413
|
+
tokenReferenceId?: string | null;
|
|
1414
|
+
}
|
|
1400
1415
|
export interface NonSepaDirectDebitPaymentMethodSpecificInput extends AbstractPaymentMethodSpecificInput {
|
|
1401
1416
|
dateCollect?: string | null;
|
|
1402
1417
|
directDebitText?: string | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connect-sdk-nodejs",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.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": {
|