<commit_before>//
//  ApiUtil.swift
//  MercadoPagoSDK
//
//  Created by <NAME> on 6/14/17.
//  Copyright © 2017 MercadoPago. All rights reserved.
//

import Foundation
open class ApiUtil {
    enum StatusCodes: Int {
        case INTERNAL_SERVER_ERROR = 500
        case PROCESSING = 499
        case BAD_REQUEST = 400
        case NOT_FOUND = 404
        case OK = 200
    }
    enum ErrorCauseCodes: String {
        case INVALID_IDENTIFICATION_NUMBER = "324"
        case INVALID_ESC = "E216"
        case INVALID_FINGERPRINT = "E217"
        case INVALID_PAYMENT_WITH_ESC = "2105"
    }

    enum RequestOrigin: String {
        case GET_PREFERENCE = "GET_PREFERENCE"
        case PAYMENT_METHOD_SEARCH = "PAYMENT_METHOD_SEARCH"
        case GET_INSTALLMENTS = "GET_INSTALLMENTS"
        case GET_ISSUERS = "GET_ISSUERS"
        case GET_DIRECT_DISCOUNT = "GET_DIRECT_DISCOUNT"
        case CREATE_PAYMENT = "CREATE_PAYMENT"
        case CREATE_TOKEN = "CREATE_TOKEN"
        case GET_CUSTOMER = "GET_CUSTOMER"
        case GET_CODE_DISCOUNT = "GET_CODE_DISCOUNT"
        case GET_CAMPAIGNS = "GET_CAMPAIGNS"
        case GET_PAYMENT_METHODS = "GET_PAYMENT_METHODS"
        case GET_IDENTIFICATION_TYPES = "GET_IDENTIFICATION_TYPES"
        case GET_BANK_DEALS = "GET_BANK_DEALS"
        case GET_INSTRUCTIONS = "GET_INSTRUCTIONS"
    }

}<commit_msg>Change api error for invalid-esc (#1150)<commit_after>//
//  ApiUtil.swift
//  MercadoPagoSDK
//
//  Created by <NAME> on 6/14/17.
//  Copyright © 2017 MercadoPago. All rights reserved.
//

import Foundation
open class ApiUtil {
    enum StatusCodes: Int {
        case INTERNAL_SERVER_ERROR = 500
        case PROCESSING = 499
        case BAD_REQUEST = 400
        case NOT_FOUND = 404
        case OK = 200
    }
    enum ErrorCauseCodes: String {
        case INVALID_IDENTIFICATION_NUMBER = "324"
        case INVALID_ESC = "E216"
        case INVALID_FINGERPRINT = "E217"
        case INVALID_PAYMENT_WITH_ESC = "2107"
    }

    enum RequestOrigin: String {
        case GET_PREFERENCE = "GET_PREFERENCE"
        case PAYMENT_METHOD_SEARCH = "PAYMENT_METHOD_SEARCH"
        case GET_INSTALLMENTS = "GET_INSTALLMENTS"
        case GET_ISSUERS = "GET_ISSUERS"
        case GET_DIRECT_DISCOUNT = "GET_DIRECT_DISCOUNT"
        case CREATE_PAYMENT = "CREATE_PAYMENT"
        case CREATE_TOKEN = "CREATE_TOKEN"
        case GET_CUSTOMER = "GET_CUSTOMER"
        case GET_CODE_DISCOUNT = "GET_CODE_DISCOUNT"
        case GET_CAMPAIGNS = "GET_CAMPAIGNS"
        case GET_PAYMENT_METHODS = "GET_PAYMENT_METHODS"
        case GET_IDENTIFICATION_TYPES = "GET_IDENTIFICATION_TYPES"
        case GET_BANK_DEALS = "GET_BANK_DEALS"
        case GET_INSTRUCTIONS = "GET_INSTRUCTIONS"
    }

}
{'fraction_non_alphanumeric': 0.07155896312522819, 'fraction_numerical': 0.028477546549835708, 'mean_word_length': 2.6778523489932886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1876013', 'n_tokens_mistral': 1032, 'n_tokens_neox': 944, 'n_words': 201}