connect-sdk-nodejs 4.15.0 → 4.16.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.
@@ -68,13 +68,25 @@ export interface AbstractThreeDSecure {
68
68
  skipAuthentication?: boolean | null;
69
69
  transactionRiskLevel?: string | null;
70
70
  }
71
+ export interface AccountFundingRecipient {
72
+ accountNumber?: string | null;
73
+ accountNumberType?: string | null;
74
+ address?: Address | null;
75
+ dateOfBirth?: string | null;
76
+ name?: AfrName | null;
77
+ partialPan?: string | null;
78
+ }
71
79
  export interface AdditionalOrderInput {
80
+ accountFundingRecipient?: AccountFundingRecipient | null;
72
81
  airlineData?: AirlineData | null;
73
82
  installments?: Installments | null;
74
83
  /**
75
84
  * @deprecated Use Order.shoppingCart.amountBreakdown instead
76
85
  */
77
86
  level3SummaryData?: Level3SummaryData | null;
87
+ /**
88
+ * @deprecated No replacement
89
+ */
78
90
  loanRecipient?: LoanRecipient | null;
79
91
  lodgingData?: LodgingData | null;
80
92
  /**
@@ -87,6 +99,10 @@ export interface AdditionalOrderInput {
87
99
  export interface AddressPersonal extends Address {
88
100
  name?: PersonalName | null;
89
101
  }
102
+ export interface AfrName {
103
+ firstName?: string | null;
104
+ surname?: string | null;
105
+ }
90
106
  export interface AmountBreakdown {
91
107
  amount?: number | null;
92
108
  type?: string | null;
@@ -223,6 +239,7 @@ export interface Customer extends CustomerBase {
223
239
  contactDetails?: ContactDetails | null;
224
240
  device?: CustomerDevice | null;
225
241
  fiscalNumber?: string | null;
242
+ isCompany?: boolean | null;
226
243
  isPreviousCustomer?: boolean | null;
227
244
  locale?: string | null;
228
245
  personalInformation?: PersonalInformation | null;
@@ -398,11 +415,29 @@ export interface LineItemLevel3InterchangeInformation {
398
415
  taxAmount?: number | null;
399
416
  unit?: string | null;
400
417
  }
418
+ /**
419
+ * @deprecated No replacement
420
+ */
401
421
  export interface LoanRecipient {
422
+ /**
423
+ * @deprecated No replacement
424
+ */
402
425
  accountNumber?: string | null;
426
+ /**
427
+ * @deprecated No replacement
428
+ */
403
429
  dateOfBirth?: string | null;
430
+ /**
431
+ * @deprecated No replacement
432
+ */
404
433
  partialPan?: string | null;
434
+ /**
435
+ * @deprecated No replacement
436
+ */
405
437
  surname?: string | null;
438
+ /**
439
+ * @deprecated No replacement
440
+ */
406
441
  zip?: string | null;
407
442
  }
408
443
  export interface Merchant {
@@ -529,6 +564,7 @@ export interface OrderReferencesApprovePayment {
529
564
  merchantReference?: string | null;
530
565
  }
531
566
  export interface OrderTypeInformation {
567
+ fundingType?: string | null;
532
568
  purchaseType?: string | null;
533
569
  transactionType?: string | null;
534
570
  usageType?: string | null;
@@ -622,9 +658,15 @@ export interface PaymentStatusOutput extends OrderStatusOutput {
622
658
  isRefundable?: boolean | null;
623
659
  threeDSecureStatus?: string | null;
624
660
  }
661
+ export interface PersonalIdentification {
662
+ idIssuingCountryCode?: string | null;
663
+ idType?: string | null;
664
+ idValue?: string | null;
665
+ }
625
666
  export interface PersonalInformation {
626
667
  dateOfBirth?: string | null;
627
668
  gender?: string | null;
669
+ identification?: PersonalIdentification | null;
628
670
  name?: PersonalName | null;
629
671
  }
630
672
  export interface PersonalName extends PersonalNameBase {
@@ -9,7 +9,7 @@ exports.date = date;
9
9
  function serverMetaInfo(sdkContext) {
10
10
  const info = {
11
11
  sdkCreator: "Ingenico",
12
- sdkIdentifier: "NodejsServerSDK/v4.15.0",
12
+ sdkIdentifier: "NodejsServerSDK/v4.16.0",
13
13
  platformIdentifier: process.env["OS"] + " Node.js/" + process.versions.node
14
14
  };
15
15
  if (sdkContext.getIntegrator() !== null) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "connect-sdk-nodejs",
3
- "version": "4.15.0",
3
+ "version": "4.16.0",
4
4
  "description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
5
5
  "homepage": "https://github.com/Ingenico-ePayments/connect-sdk-nodejs#readme",
6
6
  "bugs": {
@@ -38,9 +38,36 @@
38
38
  },
39
39
  "additionalProperties" : false,
40
40
  "definitions" : {
41
+ "AccountFundingRecipient" : {
42
+ "type" : "object",
43
+ "properties" : {
44
+ "accountNumber" : {
45
+ "type" : "string"
46
+ },
47
+ "accountNumberType" : {
48
+ "type" : "string"
49
+ },
50
+ "address" : {
51
+ "$ref" : "#/definitions/Address"
52
+ },
53
+ "dateOfBirth" : {
54
+ "type" : "string"
55
+ },
56
+ "name" : {
57
+ "$ref" : "#/definitions/AfrName"
58
+ },
59
+ "partialPan" : {
60
+ "type" : "string"
61
+ }
62
+ },
63
+ "additionalProperties" : false
64
+ },
41
65
  "AdditionalOrderInput" : {
42
66
  "type" : "object",
43
67
  "properties" : {
68
+ "accountFundingRecipient" : {
69
+ "$ref" : "#/definitions/AccountFundingRecipient"
70
+ },
44
71
  "airlineData" : {
45
72
  "$ref" : "#/definitions/AirlineData"
46
73
  },
@@ -132,6 +159,18 @@
132
159
  },
133
160
  "additionalProperties" : false
134
161
  },
162
+ "AfrName" : {
163
+ "type" : "object",
164
+ "properties" : {
165
+ "firstName" : {
166
+ "type" : "string"
167
+ },
168
+ "surname" : {
169
+ "type" : "string"
170
+ }
171
+ },
172
+ "additionalProperties" : false
173
+ },
135
174
  "AirlineData" : {
136
175
  "type" : "object",
137
176
  "properties" : {
@@ -561,6 +600,9 @@
561
600
  "fiscalNumber" : {
562
601
  "type" : "string"
563
602
  },
603
+ "isCompany" : {
604
+ "type" : "boolean"
605
+ },
564
606
  "isPreviousCustomer" : {
565
607
  "type" : "boolean"
566
608
  },
@@ -1421,6 +1463,9 @@
1421
1463
  "OrderTypeInformation" : {
1422
1464
  "type" : "object",
1423
1465
  "properties" : {
1466
+ "fundingType" : {
1467
+ "type" : "string"
1468
+ },
1424
1469
  "purchaseType" : {
1425
1470
  "type" : "string"
1426
1471
  },
@@ -1484,6 +1529,21 @@
1484
1529
  },
1485
1530
  "additionalProperties" : false
1486
1531
  },
1532
+ "PersonalIdentification" : {
1533
+ "type" : "object",
1534
+ "properties" : {
1535
+ "idIssuingCountryCode" : {
1536
+ "type" : "string"
1537
+ },
1538
+ "idType" : {
1539
+ "type" : "string"
1540
+ },
1541
+ "idValue" : {
1542
+ "type" : "string"
1543
+ }
1544
+ },
1545
+ "additionalProperties" : false
1546
+ },
1487
1547
  "PersonalInformation" : {
1488
1548
  "type" : "object",
1489
1549
  "properties" : {
@@ -1493,6 +1553,9 @@
1493
1553
  "gender" : {
1494
1554
  "type" : "string"
1495
1555
  },
1556
+ "identification" : {
1557
+ "$ref" : "#/definitions/PersonalIdentification"
1558
+ },
1496
1559
  "name" : {
1497
1560
  "$ref" : "#/definitions/PersonalName"
1498
1561
  }
@@ -14,9 +14,36 @@
14
14
  },
15
15
  "additionalProperties" : false,
16
16
  "definitions" : {
17
+ "AccountFundingRecipient" : {
18
+ "type" : "object",
19
+ "properties" : {
20
+ "accountNumber" : {
21
+ "type" : "string"
22
+ },
23
+ "accountNumberType" : {
24
+ "type" : "string"
25
+ },
26
+ "address" : {
27
+ "$ref" : "#/definitions/Address"
28
+ },
29
+ "dateOfBirth" : {
30
+ "type" : "string"
31
+ },
32
+ "name" : {
33
+ "$ref" : "#/definitions/AfrName"
34
+ },
35
+ "partialPan" : {
36
+ "type" : "string"
37
+ }
38
+ },
39
+ "additionalProperties" : false
40
+ },
17
41
  "AdditionalOrderInput" : {
18
42
  "type" : "object",
19
43
  "properties" : {
44
+ "accountFundingRecipient" : {
45
+ "$ref" : "#/definitions/AccountFundingRecipient"
46
+ },
20
47
  "airlineData" : {
21
48
  "$ref" : "#/definitions/AirlineData"
22
49
  },
@@ -108,6 +135,18 @@
108
135
  },
109
136
  "additionalProperties" : false
110
137
  },
138
+ "AfrName" : {
139
+ "type" : "object",
140
+ "properties" : {
141
+ "firstName" : {
142
+ "type" : "string"
143
+ },
144
+ "surname" : {
145
+ "type" : "string"
146
+ }
147
+ },
148
+ "additionalProperties" : false
149
+ },
111
150
  "AirlineData" : {
112
151
  "type" : "object",
113
152
  "properties" : {
@@ -431,6 +470,9 @@
431
470
  "fiscalNumber" : {
432
471
  "type" : "string"
433
472
  },
473
+ "isCompany" : {
474
+ "type" : "boolean"
475
+ },
434
476
  "isPreviousCustomer" : {
435
477
  "type" : "boolean"
436
478
  },
@@ -979,6 +1021,9 @@
979
1021
  "OrderTypeInformation" : {
980
1022
  "type" : "object",
981
1023
  "properties" : {
1024
+ "fundingType" : {
1025
+ "type" : "string"
1026
+ },
982
1027
  "purchaseType" : {
983
1028
  "type" : "string"
984
1029
  },
@@ -1004,6 +1049,21 @@
1004
1049
  },
1005
1050
  "additionalProperties" : false
1006
1051
  },
1052
+ "PersonalIdentification" : {
1053
+ "type" : "object",
1054
+ "properties" : {
1055
+ "idIssuingCountryCode" : {
1056
+ "type" : "string"
1057
+ },
1058
+ "idType" : {
1059
+ "type" : "string"
1060
+ },
1061
+ "idValue" : {
1062
+ "type" : "string"
1063
+ }
1064
+ },
1065
+ "additionalProperties" : false
1066
+ },
1007
1067
  "PersonalInformation" : {
1008
1068
  "type" : "object",
1009
1069
  "properties" : {
@@ -1013,6 +1073,9 @@
1013
1073
  "gender" : {
1014
1074
  "type" : "string"
1015
1075
  },
1076
+ "identification" : {
1077
+ "$ref" : "#/definitions/PersonalIdentification"
1078
+ },
1016
1079
  "name" : {
1017
1080
  "$ref" : "#/definitions/PersonalName"
1018
1081
  }
@@ -44,9 +44,36 @@
44
44
  },
45
45
  "additionalProperties" : false,
46
46
  "definitions" : {
47
+ "AccountFundingRecipient" : {
48
+ "type" : "object",
49
+ "properties" : {
50
+ "accountNumber" : {
51
+ "type" : "string"
52
+ },
53
+ "accountNumberType" : {
54
+ "type" : "string"
55
+ },
56
+ "address" : {
57
+ "$ref" : "#/definitions/Address"
58
+ },
59
+ "dateOfBirth" : {
60
+ "type" : "string"
61
+ },
62
+ "name" : {
63
+ "$ref" : "#/definitions/AfrName"
64
+ },
65
+ "partialPan" : {
66
+ "type" : "string"
67
+ }
68
+ },
69
+ "additionalProperties" : false
70
+ },
47
71
  "AdditionalOrderInput" : {
48
72
  "type" : "object",
49
73
  "properties" : {
74
+ "accountFundingRecipient" : {
75
+ "$ref" : "#/definitions/AccountFundingRecipient"
76
+ },
50
77
  "airlineData" : {
51
78
  "$ref" : "#/definitions/AirlineData"
52
79
  },
@@ -138,6 +165,18 @@
138
165
  },
139
166
  "additionalProperties" : false
140
167
  },
168
+ "AfrName" : {
169
+ "type" : "object",
170
+ "properties" : {
171
+ "firstName" : {
172
+ "type" : "string"
173
+ },
174
+ "surname" : {
175
+ "type" : "string"
176
+ }
177
+ },
178
+ "additionalProperties" : false
179
+ },
141
180
  "AirlineData" : {
142
181
  "type" : "object",
143
182
  "properties" : {
@@ -723,6 +762,9 @@
723
762
  "fiscalNumber" : {
724
763
  "type" : "string"
725
764
  },
765
+ "isCompany" : {
766
+ "type" : "boolean"
767
+ },
726
768
  "isPreviousCustomer" : {
727
769
  "type" : "boolean"
728
770
  },
@@ -1689,6 +1731,9 @@
1689
1731
  "OrderTypeInformation" : {
1690
1732
  "type" : "object",
1691
1733
  "properties" : {
1734
+ "fundingType" : {
1735
+ "type" : "string"
1736
+ },
1692
1737
  "purchaseType" : {
1693
1738
  "type" : "string"
1694
1739
  },
@@ -1714,6 +1759,21 @@
1714
1759
  },
1715
1760
  "additionalProperties" : false
1716
1761
  },
1762
+ "PersonalIdentification" : {
1763
+ "type" : "object",
1764
+ "properties" : {
1765
+ "idIssuingCountryCode" : {
1766
+ "type" : "string"
1767
+ },
1768
+ "idType" : {
1769
+ "type" : "string"
1770
+ },
1771
+ "idValue" : {
1772
+ "type" : "string"
1773
+ }
1774
+ },
1775
+ "additionalProperties" : false
1776
+ },
1717
1777
  "PersonalInformation" : {
1718
1778
  "type" : "object",
1719
1779
  "properties" : {
@@ -1723,6 +1783,9 @@
1723
1783
  "gender" : {
1724
1784
  "type" : "string"
1725
1785
  },
1786
+ "identification" : {
1787
+ "$ref" : "#/definitions/PersonalIdentification"
1788
+ },
1726
1789
  "name" : {
1727
1790
  "$ref" : "#/definitions/PersonalName"
1728
1791
  }