@@ -94,10 +94,11 @@ export interface CreditCardIssuer {
9494 */
9595 readonly name : string ;
9696 /**
97- * This property is `true` if the name matches the name provided in the request
98- * for the card issuer. It is `false` if the name does not match. The property
99- * is `null` if either no name or no issuer ID number (IIN) was provided in the
100- * request or if MaxMind does not have a name associated with the IIN.
97+ * This property is `true` if the name matches the name provided in the
98+ * request for the card issuer. It is `false` if the name does not match. The
99+ * property is `null` if either no name or no issuer ID number (IIN) was
100+ * provided in the request or if MaxMind does not have a name associated with
101+ * the IIN.
101102 */
102103 readonly matchesProvidedName ?: boolean ;
103104 /**
@@ -107,9 +108,9 @@ export interface CreditCardIssuer {
107108 readonly phoneNumber : string ;
108109 /**
109110 * This property is `true` if the phone number matches the number provided in
110- * the request for the card issuer. It is `false` if the number does not match.
111- * It is `null` if either no phone number or no issuer ID number(IIN) was
112- * provided in the request or if MaxMind does not have a phone number
111+ * the request for the card issuer. It is `false` if the number does not
112+ * match. It is `null` if either no phone number or no issuer ID number (IIN)
113+ * was provided in the request or if MaxMind does not have a phone number
113114 * associated with the IIN.
114115 */
115116 readonly matchesProvidedPhoneNumber ?: boolean ;
@@ -194,7 +195,8 @@ export interface Device {
194195}
195196
196197/**
197- * This object contains information about the email address domain passed in the request.
198+ * This object contains information about the email address domain passed in the
199+ * request.
198200 */
199201export interface EmailDomain {
200202 /**
@@ -204,7 +206,8 @@ export interface EmailDomain {
204206}
205207
206208/**
207- * This object contains information about the email address passed in the request.
209+ * This object contains information about the email address passed in the
210+ * request.
208211 */
209212export interface Email {
210213 /**
@@ -247,9 +250,9 @@ export interface ShippingAddress {
247250 readonly isHighRisk : boolean ;
248251 /**
249252 * This property is `true` if the postal code provided with the address is in
250- * the city for the address.The property is `false` when the postal code is not
251- * in the city. If the address was not provided or could not be parsed, the
252- * property will be `null`.
253+ * the city for the address. The property is `false` when the postal code is
254+ * not in the city. If the address was not provided or could not be parsed,
255+ * the property will be `null`.
253256 */
254257 readonly isPostalInCity ?: boolean ;
255258 /**
@@ -269,9 +272,9 @@ export interface ShippingAddress {
269272 */
270273 readonly distanceToBillingAddress : number ;
271274 /**
272- * This property is `true` if the address is in the IP country.The property is
273- * `false` when the address is not in the IP country. If the address could not
274- * be parsed or was not provided or if the IP address could not be
275+ * This property is `true` if the address is in the IP country. The property
276+ * is `false` when the address is not in the IP country. If the address could
277+ * not be parsed or was not provided or if the IP address could not be
275278 * geolocated, the property will be `null`.
276279 */
277280 readonly isInIpCountry ?: boolean ;
@@ -280,9 +283,9 @@ export interface ShippingAddress {
280283export interface BillingAddress {
281284 /**
282285 * This property is `true` if the postal code provided with the address is in
283- * the city for the address.The property is `false` when the postal code is not
284- * in the city. If the address was not provided or could not be parsed, the
285- * property will be `null`.
286+ * the city for the address. The property is `false` when the postal code is
287+ * not in the city. If the address was not provided or could not be parsed,
288+ * the property will be `null`.
286289 */
287290 readonly isPostalInCity ?: boolean ;
288291 /**
@@ -298,9 +301,9 @@ export interface BillingAddress {
298301 */
299302 readonly distanceToIpLocation : number ;
300303 /**
301- * This property is `true` if the address is in the IP country.The property is
302- * `false` when the address is not in the IP country. If the address could not
303- * be parsed or was not provided or if the IP address could not be
304+ * This property is `true` if the address is in the IP country. The property
305+ * is `false` when the address is not in the IP country. If the address could
306+ * not be parsed or was not provided or if the IP address could not be
304307 * geolocated, the property will be `null`.
305308 */
306309 readonly isInIpCountry ?: boolean ;
@@ -312,8 +315,8 @@ export interface BillingAddress {
312315export interface Disposition {
313316 /**
314317 * The action to take on the transaction as defined by your custom rules. The
315- * current set of values are "accept", "manual_review", and "reject". If you
316- * do not have custom rules set up, `null` will be returned.
318+ * current set of values are "accept", "manual_review", "reject", and "test".
319+ * If you do not have custom rules set up, `null` will be returned.
317320 */
318321 readonly action : DispositionAction ;
319322 /**
@@ -322,6 +325,12 @@ export interface Disposition {
322325 * will be returned.
323326 */
324327 readonly reason : DispositionReason ;
328+ /**
329+ * The label of the custom rule that was triggered. If you do not have custom
330+ * rules set up, the triggered custom rule does not have a label, or no custom
331+ * rule was triggered, `null` will be returned.
332+ */
333+ readonly ruleLabel ?: string ;
325334}
326335
327336/**
@@ -352,7 +361,7 @@ export interface Subscores {
352361 readonly browser ?: number ;
353362 /**
354363 * Individualized risk of chargeback for the given IP address on your account
355- * and shop ID.This is only available to users sending chargeback data to
364+ * and shop ID. This is only available to users sending chargeback data to
356365 * MaxMind. If present, this is a value in the range 0.01 to 99.
357366 */
358367 readonly chargeback ?: number ;
0 commit comments