connect-sdk-nodejs 6.5.0 → 6.6.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/v6.5.0",
12
+ sdkIdentifier: "NodejsServerSDK/v6.6.0",
13
13
  platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
14
14
  integrator: sdkContext.getIntegrator()
15
15
  };
@@ -424,6 +424,7 @@ export interface CardFraudResults extends FraudResults {
424
424
  }
425
425
  export interface CardPaymentMethodSpecificInput extends AbstractCardPaymentMethodSpecificInput {
426
426
  card?: Card | null;
427
+ clickToPay?: ClickToPayInput | null;
427
428
  /**
428
429
  * @deprecated Use threeDSecure.externalCardholderAuthenticationData instead
429
430
  */
@@ -443,6 +444,7 @@ export interface CardPaymentMethodSpecificInputBase extends AbstractCardPaymentM
443
444
  export interface CardPaymentMethodSpecificOutput extends AbstractPaymentMethodSpecificOutput {
444
445
  authorisationCode?: string | null;
445
446
  card?: CardEssentials | null;
447
+ clickToPayUsed?: boolean | null;
446
448
  fraudResults?: CardFraudResults | null;
447
449
  initialSchemeTransactionId?: string | null;
448
450
  networkTokenData?: NetworkTokenData | null;
@@ -533,9 +535,12 @@ export interface ClickToPayConfigurationVisa extends ClickToPaySchemeConfigurati
533
535
  export interface ClickToPayDisplayHints {
534
536
  logo?: string | null;
535
537
  }
538
+ export interface ClickToPayInput {
539
+ checkoutResponseSignature?: string | null;
540
+ }
536
541
  export interface ClickToPaySchemeConfigurationBase {
537
- srcDpaId?: string | null;
538
542
  srcInitiatorId?: string | null;
543
+ srciDpaId?: string | null;
539
544
  }
540
545
  export interface CompanyInformation {
541
546
  dateOfIncorporation?: string | null;
@@ -1146,6 +1151,7 @@ export interface GiftCardPurchase {
1146
1151
  numberOfGiftCards?: number | null;
1147
1152
  }
1148
1153
  export interface HostedCheckoutSpecificInput {
1154
+ allowClickToPay?: boolean | null;
1149
1155
  isRecurring?: boolean | null;
1150
1156
  locale?: string | null;
1151
1157
  paymentProductFilters?: PaymentProductFiltersHostedCheckout | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connect-sdk-nodejs",
3
- "version": "6.5.0",
3
+ "version": "6.6.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": {
@@ -935,6 +935,9 @@
935
935
  "HostedCheckoutSpecificInput" : {
936
936
  "type" : "object",
937
937
  "properties" : {
938
+ "allowClickToPay" : {
939
+ "type" : "boolean"
940
+ },
938
941
  "isRecurring" : {
939
942
  "type" : "boolean"
940
943
  },
@@ -501,6 +501,9 @@
501
501
  "card" : {
502
502
  "$ref" : "#/definitions/Card"
503
503
  },
504
+ "clickToPay" : {
505
+ "$ref" : "#/definitions/ClickToPayInput"
506
+ },
504
507
  "customerReference" : {
505
508
  "type" : "string"
506
509
  },
@@ -723,6 +726,15 @@
723
726
  },
724
727
  "additionalProperties" : false
725
728
  },
729
+ "ClickToPayInput" : {
730
+ "type" : "object",
731
+ "properties" : {
732
+ "checkoutResponseSignature" : {
733
+ "type" : "string"
734
+ }
735
+ },
736
+ "additionalProperties" : false
737
+ },
726
738
  "CompanyInformation" : {
727
739
  "type" : "object",
728
740
  "properties" : {