connect-sdk-nodejs 6.0.1 → 6.1.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.0.1",
12
+ sdkIdentifier: "NodejsServerSDK/v6.1.0",
13
13
  platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
14
14
  integrator: sdkContext.getIntegrator()
15
15
  };
@@ -379,6 +379,7 @@ export interface CapturePaymentRequest {
379
379
  export interface CaptureResponse extends Capture {
380
380
  }
381
381
  export interface CaptureStatusOutput {
382
+ isFinal?: boolean | null;
382
383
  isRefundable?: boolean | null;
383
384
  isRetriable?: boolean | null;
384
385
  providerRawOutput?: KeyValuePair[] | null;
@@ -1641,9 +1642,6 @@ export interface PaymentProduct806SpecificOutput {
1641
1642
  billingAddress?: Address | null;
1642
1643
  customerAccount?: TrustlyBankAccount | null;
1643
1644
  }
1644
- export interface PaymentProduct836SpecificOutput {
1645
- securityIndicator?: string | null;
1646
- }
1647
1645
  export interface PaymentProduct840CustomerAccount {
1648
1646
  accountId?: string | null;
1649
1647
  billingAgreementId?: string | null;
@@ -1895,7 +1893,6 @@ export interface RedirectPaymentMethodSpecificOutput extends AbstractPaymentMeth
1895
1893
  fraudResults?: FraudResults | null;
1896
1894
  paymentProduct3201SpecificOutput?: PaymentProduct3201SpecificOutput | null;
1897
1895
  paymentProduct806SpecificOutput?: PaymentProduct806SpecificOutput | null;
1898
- paymentProduct836SpecificOutput?: PaymentProduct836SpecificOutput | null;
1899
1896
  paymentProduct840SpecificOutput?: PaymentProduct840SpecificOutput | null;
1900
1897
  paymentProduct866SpecificOutput?: PaymentProduct866SpecificOutput | null;
1901
1898
  token?: string | null;
@@ -1998,6 +1995,7 @@ export interface RefundPaymentProduct840SpecificOutput {
1998
1995
  customerAccount?: RefundPaymentProduct840CustomerAccount | null;
1999
1996
  }
2000
1997
  export interface RefundReferences {
1998
+ descriptor?: string | null;
2001
1999
  merchantReference?: string | null;
2002
2000
  }
2003
2001
  export interface RefundRequest {
@@ -2005,6 +2003,7 @@ export interface RefundRequest {
2005
2003
  bankRefundMethodSpecificInput?: BankRefundMethodSpecificInput | null;
2006
2004
  customer?: RefundCustomer | null;
2007
2005
  refundDate?: string | null;
2006
+ refundReason?: string | null;
2008
2007
  refundReferences?: RefundReferences | null;
2009
2008
  }
2010
2009
  export interface RefundResponse extends RefundResult {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connect-sdk-nodejs",
3
- "version": "6.0.1",
3
+ "version": "6.1.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": {
@@ -14,6 +14,9 @@
14
14
  "refundDate" : {
15
15
  "type" : "string"
16
16
  },
17
+ "refundReason" : {
18
+ "type" : "string"
19
+ },
17
20
  "refundReferences" : {
18
21
  "$ref" : "#/definitions/RefundReferences"
19
22
  }
@@ -195,6 +198,9 @@
195
198
  "RefundReferences" : {
196
199
  "type" : "object",
197
200
  "properties" : {
201
+ "descriptor" : {
202
+ "type" : "string"
203
+ },
198
204
  "merchantReference" : {
199
205
  "type" : "string"
200
206
  }