Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 9a1fe43

Browse files
author
Ingenico ePayments
committed
Release 2.13.0.
1 parent f583690 commit 9a1fe43

File tree

9 files changed

+185
-2
lines changed

9 files changed

+185
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "connect-sdk-nodejs",
3-
"version": "2.12.0",
3+
"version": "2.13.0",
44
"description": "SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API",
55
"dependencies": {
66
"dateformat": "^1.0.12",

schemas/hostedcheckout/CreateHostedCheckoutRequest.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,14 @@
165165
"passengerName" : {
166166
"type" : "string"
167167
},
168+
"passengers" : {
169+
"type" : "array",
170+
"items" : {
171+
"$ref" : "#/definitions/AirlinePassenger"
172+
},
173+
"minItems" : 0,
174+
"uniqueItems" : false
175+
},
168176
"placeOfIssue" : {
169177
"type" : "string"
170178
},
@@ -221,13 +229,34 @@
221229
"originAirport" : {
222230
"type" : "string"
223231
},
232+
"serviceClass" : {
233+
"type" : "string"
234+
},
224235
"stopoverCode" : {
225236
"type" : "string"
226237
}
227238
},
228239
"required" : [ "airlineClass", "arrivalAirport", "carrierCode", "date", "number", "originAirport" ],
229240
"additionalProperties" : false
230241
},
242+
"AirlinePassenger" : {
243+
"type" : "object",
244+
"properties" : {
245+
"firstName" : {
246+
"type" : "string"
247+
},
248+
"surname" : {
249+
"type" : "string"
250+
},
251+
"surnamePrefix" : {
252+
"type" : "string"
253+
},
254+
"title" : {
255+
"type" : "string"
256+
}
257+
},
258+
"additionalProperties" : false
259+
},
231260
"AmountBreakdown" : {
232261
"type" : "object",
233262
"properties" : {
@@ -358,6 +387,9 @@
358387
"CreateMandateBase" : {
359388
"type" : "object",
360389
"properties" : {
390+
"alias" : {
391+
"type" : "string"
392+
},
361393
"customer" : {
362394
"$ref" : "#/definitions/MandateCustomer"
363395
},

schemas/mandates/CreateMandateRequest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
"$schema" : "http://json-schema.org/draft-04/schema#",
33
"type" : "object",
44
"properties" : {
5+
"alias" : {
6+
"type" : "string"
7+
},
58
"customer" : {
69
"$ref" : "#/definitions/MandateCustomer"
710
},

schemas/payment/ApprovePaymentRequest.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@
7474
"passengerName" : {
7575
"type" : "string"
7676
},
77+
"passengers" : {
78+
"type" : "array",
79+
"items" : {
80+
"$ref" : "#/definitions/AirlinePassenger"
81+
},
82+
"minItems" : 0,
83+
"uniqueItems" : false
84+
},
7785
"placeOfIssue" : {
7886
"type" : "string"
7987
},
@@ -130,13 +138,34 @@
130138
"originAirport" : {
131139
"type" : "string"
132140
},
141+
"serviceClass" : {
142+
"type" : "string"
143+
},
133144
"stopoverCode" : {
134145
"type" : "string"
135146
}
136147
},
137148
"required" : [ "airlineClass", "arrivalAirport", "carrierCode", "date", "number", "originAirport" ],
138149
"additionalProperties" : false
139150
},
151+
"AirlinePassenger" : {
152+
"type" : "object",
153+
"properties" : {
154+
"firstName" : {
155+
"type" : "string"
156+
},
157+
"surname" : {
158+
"type" : "string"
159+
},
160+
"surnamePrefix" : {
161+
"type" : "string"
162+
},
163+
"title" : {
164+
"type" : "string"
165+
}
166+
},
167+
"additionalProperties" : false
168+
},
140169
"ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput" : {
141170
"type" : "object",
142171
"properties" : {

schemas/payment/CompletePaymentRequest.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,14 @@
144144
"passengerName" : {
145145
"type" : "string"
146146
},
147+
"passengers" : {
148+
"type" : "array",
149+
"items" : {
150+
"$ref" : "#/definitions/AirlinePassenger"
151+
},
152+
"minItems" : 0,
153+
"uniqueItems" : false
154+
},
147155
"placeOfIssue" : {
148156
"type" : "string"
149157
},
@@ -200,13 +208,34 @@
200208
"originAirport" : {
201209
"type" : "string"
202210
},
211+
"serviceClass" : {
212+
"type" : "string"
213+
},
203214
"stopoverCode" : {
204215
"type" : "string"
205216
}
206217
},
207218
"required" : [ "airlineClass", "arrivalAirport", "carrierCode", "date", "number", "originAirport" ],
208219
"additionalProperties" : false
209220
},
221+
"AirlinePassenger" : {
222+
"type" : "object",
223+
"properties" : {
224+
"firstName" : {
225+
"type" : "string"
226+
},
227+
"surname" : {
228+
"type" : "string"
229+
},
230+
"surnamePrefix" : {
231+
"type" : "string"
232+
},
233+
"title" : {
234+
"type" : "string"
235+
}
236+
},
237+
"additionalProperties" : false
238+
},
210239
"AmountBreakdown" : {
211240
"type" : "object",
212241
"properties" : {

schemas/payment/CreatePaymentRequest.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,14 @@
174174
"passengerName" : {
175175
"type" : "string"
176176
},
177+
"passengers" : {
178+
"type" : "array",
179+
"items" : {
180+
"$ref" : "#/definitions/AirlinePassenger"
181+
},
182+
"minItems" : 0,
183+
"uniqueItems" : false
184+
},
177185
"placeOfIssue" : {
178186
"type" : "string"
179187
},
@@ -230,13 +238,34 @@
230238
"originAirport" : {
231239
"type" : "string"
232240
},
241+
"serviceClass" : {
242+
"type" : "string"
243+
},
233244
"stopoverCode" : {
234245
"type" : "string"
235246
}
236247
},
237248
"required" : [ "airlineClass", "arrivalAirport", "carrierCode", "date", "number", "originAirport" ],
238249
"additionalProperties" : false
239250
},
251+
"AirlinePassenger" : {
252+
"type" : "object",
253+
"properties" : {
254+
"firstName" : {
255+
"type" : "string"
256+
},
257+
"surname" : {
258+
"type" : "string"
259+
},
260+
"surnamePrefix" : {
261+
"type" : "string"
262+
},
263+
"title" : {
264+
"type" : "string"
265+
}
266+
},
267+
"additionalProperties" : false
268+
},
240269
"AmountBreakdown" : {
241270
"type" : "object",
242271
"properties" : {
@@ -452,6 +481,9 @@
452481
"CreateMandateWithReturnUrl" : {
453482
"type" : "object",
454483
"properties" : {
484+
"alias" : {
485+
"type" : "string"
486+
},
455487
"customer" : {
456488
"$ref" : "#/definitions/MandateCustomer"
457489
},

schemas/riskassessments/RiskAssessmentBankAccount.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,14 @@
140140
"passengerName" : {
141141
"type" : "string"
142142
},
143+
"passengers" : {
144+
"type" : "array",
145+
"items" : {
146+
"$ref" : "#/definitions/AirlinePassenger"
147+
},
148+
"minItems" : 0,
149+
"uniqueItems" : false
150+
},
143151
"placeOfIssue" : {
144152
"type" : "string"
145153
},
@@ -196,13 +204,34 @@
196204
"originAirport" : {
197205
"type" : "string"
198206
},
207+
"serviceClass" : {
208+
"type" : "string"
209+
},
199210
"stopoverCode" : {
200211
"type" : "string"
201212
}
202213
},
203214
"required" : [ "airlineClass", "arrivalAirport", "carrierCode", "date", "number", "originAirport" ],
204215
"additionalProperties" : false
205216
},
217+
"AirlinePassenger" : {
218+
"type" : "object",
219+
"properties" : {
220+
"firstName" : {
221+
"type" : "string"
222+
},
223+
"surname" : {
224+
"type" : "string"
225+
},
226+
"surnamePrefix" : {
227+
"type" : "string"
228+
},
229+
"title" : {
230+
"type" : "string"
231+
}
232+
},
233+
"additionalProperties" : false
234+
},
206235
"AmountOfMoney" : {
207236
"type" : "object",
208237
"properties" : {

schemas/riskassessments/RiskAssessmentCard.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,14 @@
137137
"passengerName" : {
138138
"type" : "string"
139139
},
140+
"passengers" : {
141+
"type" : "array",
142+
"items" : {
143+
"$ref" : "#/definitions/AirlinePassenger"
144+
},
145+
"minItems" : 0,
146+
"uniqueItems" : false
147+
},
140148
"placeOfIssue" : {
141149
"type" : "string"
142150
},
@@ -193,13 +201,34 @@
193201
"originAirport" : {
194202
"type" : "string"
195203
},
204+
"serviceClass" : {
205+
"type" : "string"
206+
},
196207
"stopoverCode" : {
197208
"type" : "string"
198209
}
199210
},
200211
"required" : [ "airlineClass", "arrivalAirport", "carrierCode", "date", "number", "originAirport" ],
201212
"additionalProperties" : false
202213
},
214+
"AirlinePassenger" : {
215+
"type" : "object",
216+
"properties" : {
217+
"firstName" : {
218+
"type" : "string"
219+
},
220+
"surname" : {
221+
"type" : "string"
222+
},
223+
"surnamePrefix" : {
224+
"type" : "string"
225+
},
226+
"title" : {
227+
"type" : "string"
228+
}
229+
},
230+
"additionalProperties" : false
231+
},
203232
"AmountOfMoney" : {
204233
"type" : "object",
205234
"properties" : {

utils/headers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var serverMetaInfo = function (sdkContext) {
99
key: "X-GCS-ServerMetaInfo",
1010
value: {
1111
'sdkCreator': 'Ingenico',
12-
'sdkIdentifier': 'NodejsServerSDK/v2.12.0',
12+
'sdkIdentifier': 'NodejsServerSDK/v2.13.0',
1313
'platformIdentifier': process.env['OS'] + ' Node.js/' + process.versions.node
1414
}
1515
};

0 commit comments

Comments
 (0)