increase 0.462.0 → 0.464.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.
@@ -137,16 +137,83 @@ export namespace RealTimeDecision {
137
137
  * Fields related to a 3DS authentication attempt.
138
138
  */
139
139
  export interface CardAuthentication {
140
+ /**
141
+ * A unique identifier assigned by the Access Control Server (us) for this
142
+ * transaction.
143
+ */
144
+ access_control_server_transaction_id: string;
145
+
140
146
  /**
141
147
  * The identifier of the Account the card belongs to.
142
148
  */
143
149
  account_id: string;
144
150
 
145
151
  /**
146
- * The identifier of the Card that is being tokenized.
152
+ * The city of the cardholder billing address associated with the card used for
153
+ * this purchase.
154
+ */
155
+ billing_address_city: string | null;
156
+
157
+ /**
158
+ * The country of the cardholder billing address associated with the card used for
159
+ * this purchase.
160
+ */
161
+ billing_address_country: string | null;
162
+
163
+ /**
164
+ * The first line of the cardholder billing address associated with the card used
165
+ * for this purchase.
166
+ */
167
+ billing_address_line1: string | null;
168
+
169
+ /**
170
+ * The second line of the cardholder billing address associated with the card used
171
+ * for this purchase.
172
+ */
173
+ billing_address_line2: string | null;
174
+
175
+ /**
176
+ * The third line of the cardholder billing address associated with the card used
177
+ * for this purchase.
178
+ */
179
+ billing_address_line3: string | null;
180
+
181
+ /**
182
+ * The postal code of the cardholder billing address associated with the card used
183
+ * for this purchase.
184
+ */
185
+ billing_address_postal_code: string | null;
186
+
187
+ /**
188
+ * The US state of the cardholder billing address associated with the card used for
189
+ * this purchase.
190
+ */
191
+ billing_address_state: string | null;
192
+
193
+ /**
194
+ * The identifier of the Card.
147
195
  */
148
196
  card_id: string;
149
197
 
198
+ /**
199
+ * The email address of the cardholder.
200
+ */
201
+ cardholder_email: string | null;
202
+
203
+ /**
204
+ * The name of the cardholder.
205
+ */
206
+ cardholder_name: string | null;
207
+
208
+ /**
209
+ * The category of the card authentication attempt.
210
+ *
211
+ * - `payment_authentication` - The authentication attempt is for a payment.
212
+ * - `non_payment_authentication` - The authentication attempt is not for a
213
+ * payment.
214
+ */
215
+ category: 'payment_authentication' | 'non_payment_authentication' | null;
216
+
150
217
  /**
151
218
  * Whether or not the authentication attempt was approved.
152
219
  *
@@ -157,6 +224,185 @@ export namespace RealTimeDecision {
157
224
  */
158
225
  decision: 'approve' | 'challenge' | 'deny' | null;
159
226
 
227
+ /**
228
+ * The device channel of the card authentication attempt.
229
+ */
230
+ device_channel: CardAuthentication.DeviceChannel;
231
+
232
+ /**
233
+ * A unique identifier assigned by the Directory Server (the card network) for this
234
+ * transaction.
235
+ */
236
+ directory_server_transaction_id: string;
237
+
238
+ /**
239
+ * The merchant identifier (commonly abbreviated as MID) of the merchant the card
240
+ * is transacting with.
241
+ */
242
+ merchant_acceptor_id: string;
243
+
244
+ /**
245
+ * The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
246
+ * card is transacting with.
247
+ */
248
+ merchant_category_code: string;
249
+
250
+ /**
251
+ * The country the merchant resides in.
252
+ */
253
+ merchant_country: string;
254
+
255
+ /**
256
+ * The name of the merchant.
257
+ */
258
+ merchant_name: string;
259
+
260
+ /**
261
+ * The ID of a prior Card Authentication that the requestor used to authenticate
262
+ * this cardholder for a previous transaction.
263
+ */
264
+ prior_card_authentication_id: string | null;
265
+
266
+ /**
267
+ * The purchase amount in minor units.
268
+ */
269
+ purchase_amount: number | null;
270
+
271
+ /**
272
+ * The purchase amount in the cardholder's currency (i.e., USD) estimated using
273
+ * daily conversion rates from the card network.
274
+ */
275
+ purchase_amount_cardholder_estimated: number | null;
276
+
277
+ /**
278
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
279
+ * authentication attempt's purchase currency.
280
+ */
281
+ purchase_currency: string | null;
282
+
283
+ /**
284
+ * The 3DS requestor authentication indicator describes why the authentication
285
+ * attempt is performed, such as for a recurring transaction.
286
+ *
287
+ * - `payment_transaction` - The authentication is for a payment transaction.
288
+ * - `recurring_transaction` - The authentication is for a recurring transaction.
289
+ * - `installment_transaction` - The authentication is for an installment
290
+ * transaction.
291
+ * - `add_card` - The authentication is for adding a card.
292
+ * - `maintain_card` - The authentication is for maintaining a card.
293
+ * - `emv_token_cardholder_verification` - The authentication is for EMV token
294
+ * cardholder verification.
295
+ * - `billing_agreement` - The authentication is for a billing agreement.
296
+ */
297
+ requestor_authentication_indicator:
298
+ | 'payment_transaction'
299
+ | 'recurring_transaction'
300
+ | 'installment_transaction'
301
+ | 'add_card'
302
+ | 'maintain_card'
303
+ | 'emv_token_cardholder_verification'
304
+ | 'billing_agreement'
305
+ | null;
306
+
307
+ /**
308
+ * Indicates whether a challenge is requested for this transaction.
309
+ *
310
+ * - `no_preference` - No preference.
311
+ * - `no_challenge_requested` - No challenge requested.
312
+ * - `challenge_requested_3ds_requestor_preference` - Challenge requested, 3DS
313
+ * Requestor preference.
314
+ * - `challenge_requested_mandate` - Challenge requested, mandate.
315
+ * - `no_challenge_requested_transactional_risk_analysis_already_performed` - No
316
+ * challenge requested, transactional risk analysis already performed.
317
+ * - `no_challenge_requested_data_share_only` - No challenge requested, data share
318
+ * only.
319
+ * - `no_challenge_requested_strong_consumer_authentication_already_performed` - No
320
+ * challenge requested, strong consumer authentication already performed.
321
+ * - `no_challenge_requested_utilize_whitelist_exemption_if_no_challenge_required` -
322
+ * No challenge requested, utilize whitelist exemption if no challenge required.
323
+ * - `challenge_requested_whitelist_prompt_requested_if_challenge_required` -
324
+ * Challenge requested, whitelist prompt requested if challenge required.
325
+ */
326
+ requestor_challenge_indicator:
327
+ | 'no_preference'
328
+ | 'no_challenge_requested'
329
+ | 'challenge_requested_3ds_requestor_preference'
330
+ | 'challenge_requested_mandate'
331
+ | 'no_challenge_requested_transactional_risk_analysis_already_performed'
332
+ | 'no_challenge_requested_data_share_only'
333
+ | 'no_challenge_requested_strong_consumer_authentication_already_performed'
334
+ | 'no_challenge_requested_utilize_whitelist_exemption_if_no_challenge_required'
335
+ | 'challenge_requested_whitelist_prompt_requested_if_challenge_required'
336
+ | null;
337
+
338
+ /**
339
+ * The name of the 3DS requestor.
340
+ */
341
+ requestor_name: string;
342
+
343
+ /**
344
+ * The URL of the 3DS requestor.
345
+ */
346
+ requestor_url: string;
347
+
348
+ /**
349
+ * The city of the shipping address associated with this purchase.
350
+ */
351
+ shipping_address_city: string | null;
352
+
353
+ /**
354
+ * The country of the shipping address associated with this purchase.
355
+ */
356
+ shipping_address_country: string | null;
357
+
358
+ /**
359
+ * The first line of the shipping address associated with this purchase.
360
+ */
361
+ shipping_address_line1: string | null;
362
+
363
+ /**
364
+ * The second line of the shipping address associated with this purchase.
365
+ */
366
+ shipping_address_line2: string | null;
367
+
368
+ /**
369
+ * The third line of the shipping address associated with this purchase.
370
+ */
371
+ shipping_address_line3: string | null;
372
+
373
+ /**
374
+ * The postal code of the shipping address associated with this purchase.
375
+ */
376
+ shipping_address_postal_code: string | null;
377
+
378
+ /**
379
+ * The US state of the shipping address associated with this purchase.
380
+ */
381
+ shipping_address_state: string | null;
382
+
383
+ /**
384
+ * A unique identifier assigned by the 3DS Server initiating the authentication
385
+ * attempt for this transaction.
386
+ */
387
+ three_d_secure_server_transaction_id: string;
388
+
389
+ /**
390
+ * The type of transaction being authenticated.
391
+ *
392
+ * - `goods_service_purchase` - Purchase of goods or services.
393
+ * - `check_acceptance` - Check acceptance.
394
+ * - `account_funding` - Account funding.
395
+ * - `quasi_cash_transaction` - Quasi-cash transaction.
396
+ * - `prepaid_activation_and_load` - Prepaid activation and load.
397
+ */
398
+ transaction_type:
399
+ | 'goods_service_purchase'
400
+ | 'check_acceptance'
401
+ | 'account_funding'
402
+ | 'quasi_cash_transaction'
403
+ | 'prepaid_activation_and_load'
404
+ | null;
405
+
160
406
  /**
161
407
  * The identifier of the Card Payment this authentication attempt will belong to.
162
408
  * Available in the API once the card authentication has completed.
@@ -164,6 +410,117 @@ export namespace RealTimeDecision {
164
410
  upcoming_card_payment_id: string;
165
411
  }
166
412
 
413
+ export namespace CardAuthentication {
414
+ /**
415
+ * The device channel of the card authentication attempt.
416
+ */
417
+ export interface DeviceChannel {
418
+ /**
419
+ * Fields specific to the browser device channel.
420
+ */
421
+ browser: DeviceChannel.Browser | null;
422
+
423
+ /**
424
+ * The category of the device channel.
425
+ *
426
+ * - `app` - The authentication attempt was made from an app.
427
+ * - `browser` - The authentication attempt was made from a browser.
428
+ * - `three_ds_requestor_initiated` - The authentication attempt was initiated by
429
+ * the 3DS Requestor.
430
+ */
431
+ category: 'app' | 'browser' | 'three_ds_requestor_initiated';
432
+
433
+ /**
434
+ * Fields specific to merchant initiated transactions.
435
+ */
436
+ merchant_initiated: DeviceChannel.MerchantInitiated | null;
437
+ }
438
+
439
+ export namespace DeviceChannel {
440
+ /**
441
+ * Fields specific to the browser device channel.
442
+ */
443
+ export interface Browser {
444
+ /**
445
+ * The accept header from the cardholder's browser.
446
+ */
447
+ accept_header: string | null;
448
+
449
+ /**
450
+ * The IP address of the cardholder's browser.
451
+ */
452
+ ip_address: string | null;
453
+
454
+ /**
455
+ * Whether JavaScript is enabled in the cardholder's browser.
456
+ *
457
+ * - `enabled` - JavaScript is enabled in the cardholder's browser.
458
+ * - `disabled` - JavaScript is not enabled in the cardholder's browser.
459
+ */
460
+ javascript_enabled: 'enabled' | 'disabled' | null;
461
+
462
+ /**
463
+ * The language of the cardholder's browser.
464
+ */
465
+ language: string | null;
466
+
467
+ /**
468
+ * The user agent of the cardholder's browser.
469
+ */
470
+ user_agent: string | null;
471
+ }
472
+
473
+ /**
474
+ * Fields specific to merchant initiated transactions.
475
+ */
476
+ export interface MerchantInitiated {
477
+ /**
478
+ * The merchant initiated indicator for the transaction.
479
+ *
480
+ * - `recurring_transaction` - Recurring transaction.
481
+ * - `installment_transaction` - Installment transaction.
482
+ * - `add_card` - Add card.
483
+ * - `maintain_card_information` - Maintain card information.
484
+ * - `account_verification` - Account verification.
485
+ * - `split_delayed_shipment` - Split or delayed shipment.
486
+ * - `top_up` - Top up.
487
+ * - `mail_order` - Mail order.
488
+ * - `telephone_order` - Telephone order.
489
+ * - `whitelist_status_check` - Whitelist status check.
490
+ * - `other_payment` - Other payment.
491
+ * - `billing_agreement` - Billing agreement.
492
+ * - `device_binding_status_check` - Device binding status check.
493
+ * - `card_security_code_status_check` - Card security code status check.
494
+ * - `delayed_shipment` - Delayed shipment.
495
+ * - `split_payment` - Split payment.
496
+ * - `fido_credential_deletion` - FIDO credential deletion.
497
+ * - `fido_credential_registration` - FIDO credential registration.
498
+ * - `decoupled_authentication_fallback` - Decoupled authentication fallback.
499
+ */
500
+ indicator:
501
+ | 'recurring_transaction'
502
+ | 'installment_transaction'
503
+ | 'add_card'
504
+ | 'maintain_card_information'
505
+ | 'account_verification'
506
+ | 'split_delayed_shipment'
507
+ | 'top_up'
508
+ | 'mail_order'
509
+ | 'telephone_order'
510
+ | 'whitelist_status_check'
511
+ | 'other_payment'
512
+ | 'billing_agreement'
513
+ | 'device_binding_status_check'
514
+ | 'card_security_code_status_check'
515
+ | 'delayed_shipment'
516
+ | 'split_payment'
517
+ | 'fido_credential_deletion'
518
+ | 'fido_credential_registration'
519
+ | 'decoupled_authentication_fallback';
520
+ }
521
+ }
522
+ }
523
+
167
524
  /**
168
525
  * Fields related to a 3DS authentication attempt.
169
526
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.462.0'; // x-release-please-version
1
+ export const VERSION = '0.464.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.462.0";
1
+ export declare const VERSION = "0.464.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.462.0";
1
+ export declare const VERSION = "0.464.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.462.0'; // x-release-please-version
4
+ exports.VERSION = '0.464.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.462.0'; // x-release-please-version
1
+ export const VERSION = '0.464.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map