connect-sdk-nodejs 6.6.0 → 6.7.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.6.0",
12
+ sdkIdentifier: "NodejsServerSDK/v6.7.0",
13
13
  platformIdentifier: `${process.env["OS"]} Node.js/${process.versions.node}`,
14
14
  integrator: sdkContext.getIntegrator()
15
15
  };
@@ -381,6 +381,7 @@ export interface CaptureOutput extends OrderOutput {
381
381
  export interface CapturePaymentOrder {
382
382
  additionalInput?: CapturePaymentOrderAdditionalInput | null;
383
383
  references?: CapturePaymentOrderReferences | null;
384
+ shipping?: Shipping | null;
384
385
  }
385
386
  export interface CapturePaymentOrderAdditionalInput {
386
387
  airlineData?: AirlineData | null;
@@ -1660,6 +1661,7 @@ export interface PaymentProduct {
1660
1661
  acquirerCountry?: string | null;
1661
1662
  allowsClickToPay?: boolean | null;
1662
1663
  allowsInstallments?: boolean | null;
1664
+ allowsMultiplePartialCaptures?: boolean | null;
1663
1665
  allowsRecurring?: boolean | null;
1664
1666
  allowsTokenization?: boolean | null;
1665
1667
  authenticationIndicator?: AuthenticationIndicator | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connect-sdk-nodejs",
3
- "version": "6.6.0",
3
+ "version": "6.7.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": {
@@ -15,6 +15,39 @@
15
15
  },
16
16
  "additionalProperties" : false,
17
17
  "definitions" : {
18
+ "AddressPersonal" : {
19
+ "type" : "object",
20
+ "properties" : {
21
+ "additionalInfo" : {
22
+ "type" : "string"
23
+ },
24
+ "city" : {
25
+ "type" : "string"
26
+ },
27
+ "countryCode" : {
28
+ "type" : "string"
29
+ },
30
+ "houseNumber" : {
31
+ "type" : "string"
32
+ },
33
+ "name" : {
34
+ "$ref" : "#/definitions/PersonalName"
35
+ },
36
+ "state" : {
37
+ "type" : "string"
38
+ },
39
+ "stateCode" : {
40
+ "type" : "string"
41
+ },
42
+ "street" : {
43
+ "type" : "string"
44
+ },
45
+ "zip" : {
46
+ "type" : "string"
47
+ }
48
+ },
49
+ "additionalProperties" : false
50
+ },
18
51
  "AirlineData" : {
19
52
  "type" : "object",
20
53
  "properties" : {
@@ -205,6 +238,9 @@
205
238
  },
206
239
  "references" : {
207
240
  "$ref" : "#/definitions/CapturePaymentOrderReferences"
241
+ },
242
+ "shipping" : {
243
+ "$ref" : "#/definitions/Shipping"
208
244
  }
209
245
  },
210
246
  "additionalProperties" : false
@@ -346,6 +382,63 @@
346
382
  }
347
383
  },
348
384
  "additionalProperties" : false
385
+ },
386
+ "PersonalName" : {
387
+ "type" : "object",
388
+ "properties" : {
389
+ "firstName" : {
390
+ "type" : "string"
391
+ },
392
+ "surname" : {
393
+ "type" : "string"
394
+ },
395
+ "surnamePrefix" : {
396
+ "type" : "string"
397
+ },
398
+ "title" : {
399
+ "type" : "string"
400
+ }
401
+ },
402
+ "additionalProperties" : false
403
+ },
404
+ "Shipping" : {
405
+ "type" : "object",
406
+ "properties" : {
407
+ "address" : {
408
+ "$ref" : "#/definitions/AddressPersonal"
409
+ },
410
+ "addressIndicator" : {
411
+ "type" : "string"
412
+ },
413
+ "carrier" : {
414
+ "type" : "string"
415
+ },
416
+ "comments" : {
417
+ "type" : "string"
418
+ },
419
+ "emailAddress" : {
420
+ "type" : "string"
421
+ },
422
+ "firstUsageDate" : {
423
+ "type" : "string"
424
+ },
425
+ "instructions" : {
426
+ "type" : "string"
427
+ },
428
+ "isFirstUsage" : {
429
+ "type" : "boolean"
430
+ },
431
+ "shippedFromZip" : {
432
+ "type" : "string"
433
+ },
434
+ "trackingNumber" : {
435
+ "type" : "string"
436
+ },
437
+ "type" : {
438
+ "type" : "string"
439
+ }
440
+ },
441
+ "additionalProperties" : false
349
442
  }
350
443
  }
351
444
  }