<commit_before>package com.buyexpressly.api;

import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public enum MerchantServiceRoute {
    PING("/expressly/api/ping", "GET", false),
    DISPLAY_POPUP("/expressly/api/(?<campaignCustomerUuid>[A-z0-9\\-]{36})", "GET", true),
    GET_CUSTOMER("/expressly/api/user/(?<email>.+@.+)", "GET", true),
    GET_INVOICES("/expressly/api/batch/invoice", "POST", true),
    CHECK_EMAILS("/expressly/api/batch/customer", "POST", true),
    PING_REGISTERED("/expressly/api/registered", "GET", true),
    CONFIRM_MIGRATION("/expressly/api/(?<campaignCustomerUuid>[A-z0-9\\-]{36})/migrate", "GET", true);

    private final Pattern uriRegex;
    private final String httpMethod;
    private final boolean authenticated;
    private final Set<String> uriParameterNames;

    MerchantServiceRoute(String uriRegex, String httpMethod, boolean authenticated) {
        this.uriRegex = Pattern.compile(uriRegex);<commit_msg>Corrected error in the MerchantServiceRoute where the migration popup request was expecting an authorization header<commit_after>package com.buyexpressly.api;

import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public enum MerchantServiceRoute {
    PING("/expressly/api/ping", "GET", false),
    DISPLAY_POPUP("/expressly/api/(?<campaignCustomerUuid>[A-z0-9\\-]{36})", "GET", false),
    GET_CUSTOMER("/expressly/api/user/(?<email>.+@.+)", "GET", true),
    GET_INVOICES("/expressly/api/batch/invoice", "POST", true),
    CHECK_EMAILS("/expressly/api/batch/customer", "POST", true),
    PING_REGISTERED("/expressly/api/registered", "GET", true),
    CONFIRM_MIGRATION("/expressly/api/(?<campaignCustomerUuid>[A-z0-9\\-]{36})/migrate", "GET", true);

    private final Pattern uriRegex;
    private final String httpMethod;
    private final boolean authenticated;
    private final Set<String> uriParameterNames;

    MerchantServiceRoute(String uriRegex, String httpMethod, boolean authenticated) {
        this.uriRegex = Pattern.compile(uriRegex);
{'fraction_non_alphanumeric': 0.1518209741114524, 'fraction_numerical': 0.007020623080298377, 'mean_word_length': 4.984251968503937, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '5710843', 'n_tokens_mistral': 750, 'n_tokens_neox': 722, 'n_words': 141}