connect-sdk-nodejs 6.2.1 → 6.3.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/v6.
|
|
12
|
+
sdkIdentifier: "NodejsServerSDK/v6.3.0",
|
|
13
13
|
platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
|
|
14
14
|
integrator: sdkContext.getIntegrator()
|
|
15
15
|
};
|
|
@@ -472,6 +472,8 @@ export interface CashPaymentMethodSpecificInput extends AbstractCashPaymentMetho
|
|
|
472
472
|
*/
|
|
473
473
|
paymentProduct1503SpecificInput?: CashPaymentProduct1503SpecificInput | null;
|
|
474
474
|
paymentProduct1504SpecificInput?: CashPaymentProduct1504SpecificInput | null;
|
|
475
|
+
paymentProduct1506SpecificInput?: CashPaymentProduct1506SpecificInput | null;
|
|
476
|
+
paymentProduct1508SpecificInput?: CashPaymentProduct1508SpecificInput | null;
|
|
475
477
|
paymentProduct1521SpecificInput?: CashPaymentProduct1521SpecificInput | null;
|
|
476
478
|
paymentProduct1522SpecificInput?: CashPaymentProduct1522SpecificInput | null;
|
|
477
479
|
paymentProduct1523SpecificInput?: CashPaymentProduct1523SpecificInput | null;
|
|
@@ -494,6 +496,10 @@ export interface CashPaymentProduct1503SpecificInput {
|
|
|
494
496
|
}
|
|
495
497
|
export interface CashPaymentProduct1504SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
496
498
|
}
|
|
499
|
+
export interface CashPaymentProduct1506SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
500
|
+
}
|
|
501
|
+
export interface CashPaymentProduct1508SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
502
|
+
}
|
|
497
503
|
export interface CashPaymentProduct1521SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
498
504
|
}
|
|
499
505
|
export interface CashPaymentProduct1522SpecificInput extends CashPaymentProductWithRedirectSpecificInputBase {
|
|
@@ -507,6 +513,20 @@ export interface CashPaymentProduct1526SpecificInput extends CashPaymentProductW
|
|
|
507
513
|
export interface CashPaymentProductWithRedirectSpecificInputBase {
|
|
508
514
|
returnUrl?: string | null;
|
|
509
515
|
}
|
|
516
|
+
export interface ClickToPayConfiguration {
|
|
517
|
+
mastercard?: ClickToPayConfigurationMastercard | null;
|
|
518
|
+
visa?: ClickToPayConfigurationVisa | null;
|
|
519
|
+
}
|
|
520
|
+
export interface ClickToPayConfigurationMastercard extends ClickToPaySchemeConfigurationBase {
|
|
521
|
+
}
|
|
522
|
+
export interface ClickToPayConfigurationVisa extends ClickToPaySchemeConfigurationBase {
|
|
523
|
+
encryptionKey?: string | null;
|
|
524
|
+
nModulus?: string | null;
|
|
525
|
+
}
|
|
526
|
+
export interface ClickToPaySchemeConfigurationBase {
|
|
527
|
+
srcDpaId?: string | null;
|
|
528
|
+
srcInitiatorId?: string | null;
|
|
529
|
+
}
|
|
510
530
|
export interface CompanyInformation {
|
|
511
531
|
dateOfIncorporation?: string | null;
|
|
512
532
|
name?: string | null;
|
|
@@ -821,6 +841,7 @@ export interface DecryptedPaymentData {
|
|
|
821
841
|
paymentMethod?: string | null;
|
|
822
842
|
}
|
|
823
843
|
export interface DeferredBillingDetails extends BaseBillingDetails {
|
|
844
|
+
deferredPaymentAmount?: number | null;
|
|
824
845
|
deferredPaymentDate?: string | null;
|
|
825
846
|
freeCancellationDate?: string | null;
|
|
826
847
|
freeCancellationDateTimeZone?: string | null;
|
|
@@ -1621,12 +1642,14 @@ export interface PaymentOutput extends OrderOutput {
|
|
|
1621
1642
|
export interface PaymentProduct {
|
|
1622
1643
|
accountsOnFile?: AccountOnFile[] | null;
|
|
1623
1644
|
acquirerCountry?: string | null;
|
|
1645
|
+
allowsClickToPay?: boolean | null;
|
|
1624
1646
|
allowsInstallments?: boolean | null;
|
|
1625
1647
|
allowsRecurring?: boolean | null;
|
|
1626
1648
|
allowsTokenization?: boolean | null;
|
|
1627
1649
|
authenticationIndicator?: AuthenticationIndicator | null;
|
|
1628
1650
|
autoTokenized?: boolean | null;
|
|
1629
1651
|
canBeIframed?: boolean | null;
|
|
1652
|
+
clickToPayConfiguration?: ClickToPayConfiguration | null;
|
|
1630
1653
|
deviceFingerprintEnabled?: boolean | null;
|
|
1631
1654
|
displayHints?: PaymentProductDisplayHints | null;
|
|
1632
1655
|
fields?: PaymentProductField[] | null;
|
|
@@ -1775,7 +1798,9 @@ export interface PaymentProductFiltersHostedCheckout {
|
|
|
1775
1798
|
}
|
|
1776
1799
|
export interface PaymentProductGroup {
|
|
1777
1800
|
accountsOnFile?: AccountOnFile[] | null;
|
|
1801
|
+
allowsClickToPay?: boolean | null;
|
|
1778
1802
|
allowsInstallments?: boolean | null;
|
|
1803
|
+
clickToPayConfiguration?: ClickToPayConfiguration | null;
|
|
1779
1804
|
deviceFingerprintEnabled?: boolean | null;
|
|
1780
1805
|
displayHints?: PaymentProductDisplayHints | null;
|
|
1781
1806
|
fields?: PaymentProductField[] | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "connect-sdk-nodejs",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.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": {
|
|
@@ -590,6 +590,12 @@
|
|
|
590
590
|
"paymentProduct1504SpecificInput" : {
|
|
591
591
|
"$ref" : "#/definitions/CashPaymentProduct1504SpecificInput"
|
|
592
592
|
},
|
|
593
|
+
"paymentProduct1506SpecificInput" : {
|
|
594
|
+
"$ref" : "#/definitions/CashPaymentProduct1506SpecificInput"
|
|
595
|
+
},
|
|
596
|
+
"paymentProduct1508SpecificInput" : {
|
|
597
|
+
"$ref" : "#/definitions/CashPaymentProduct1508SpecificInput"
|
|
598
|
+
},
|
|
593
599
|
"paymentProduct1521SpecificInput" : {
|
|
594
600
|
"$ref" : "#/definitions/CashPaymentProduct1521SpecificInput"
|
|
595
601
|
},
|
|
@@ -630,6 +636,24 @@
|
|
|
630
636
|
},
|
|
631
637
|
"additionalProperties" : false
|
|
632
638
|
},
|
|
639
|
+
"CashPaymentProduct1506SpecificInput" : {
|
|
640
|
+
"type" : "object",
|
|
641
|
+
"properties" : {
|
|
642
|
+
"returnUrl" : {
|
|
643
|
+
"type" : "string"
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
"additionalProperties" : false
|
|
647
|
+
},
|
|
648
|
+
"CashPaymentProduct1508SpecificInput" : {
|
|
649
|
+
"type" : "object",
|
|
650
|
+
"properties" : {
|
|
651
|
+
"returnUrl" : {
|
|
652
|
+
"type" : "string"
|
|
653
|
+
}
|
|
654
|
+
},
|
|
655
|
+
"additionalProperties" : false
|
|
656
|
+
},
|
|
633
657
|
"CashPaymentProduct1521SpecificInput" : {
|
|
634
658
|
"type" : "object",
|
|
635
659
|
"properties" : {
|