/*
 * TeleStax, Open Source Cloud Communications
 * Copyright 2011-2014, Telestax Inc and individual contributors
 * by the @authors tag.
 *
 * This program is free software: you can redistribute it and/or modify
 * under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation; either version 3 of
 * the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 *
 */
package org.restcomm.connect.testsuite.provisioning.number.bandwidth;

/**
 * Created by sbarstow on 10/7/14.
 */
public class BandwidthAvailablePhoneNumbersEndpointTestUtils {

    public static String areaCode201SearchResult = "<SearchResult><ResultCount>1</ResultCount><TelephoneNumberDetailList><TelephoneNumberDetail><City>JERSEY CITY</City><LATA>224</LATA><RateCenter>JERSEYCITY</RateCenter><State>NJ</State><FullNumber>2012001555</FullNumber></TelephoneNumberDetail></TelephoneNumberDetailList></SearchResult>";
    public static String firstJSonResult201AreaCode = "{\"friendlyName\":\"+12012001555\",\"phoneNumber\":\"+12012001555\",\"LATA\":224,\"rateCenter\":\"JERSEYCITY\",\"region\":\"NJ\",\"isoCountry\":\"US\",\"voiceCapable\":true,\"smsCapable\":true,\"mmsCapable\":false,\"faxCapable\":false,\"ussdCapable\":false}";
    public static String emptySearchResult = "<SearchResult><ResultCount>0</ResultCount></SearchResult>";
    public static String malformedSearchResult = "<SearchResult><SomeElement>Test</SomeElement";
    public static String zipCode27601SearchResult = "<SearchResult><ResultCount>1</ResultCount><TelephoneNumberDetailList><TelephoneNumberDetail><City>RALEIGH</City><LATA>123</LATA><RateCenter>RALEIGH</RateCenter><State>NC</State><FullNumber>19195551212</FullNumber></TelephoneNumberDetail></TelephoneNumberDetailList></SearchResult>";
    public static String firstJSONResult27601ZipCode = "{\"friendlyName\":\"+19195551212\",\"phoneNumber\":\"+19195551212\",\"lata\":123,\"rateCenter\":\"RALEIGH\",\"region\":\"NC\",\"isoCountry\":\"US\",\"voiceCapable\":true,\"smsCapable\":true,\"mmsCapable\":false,\"faxCapable\":false,\"ussdCapable\":false}";

    public static String areaCode205SearchResult = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><SearchResult><ResultCount>5</ResultCount><TelephoneNumberDetailList><TelephoneNumberDetail><City>CALERA</City><LATA>476</LATA><RateCenter>CALERA    </RateCenter><State>AL</State><FullNumber>2053194418</FullNumber><Tier>0</Tier><VendorId>49</VendorId><VendorName>Bandwidth CLEC</VendorName></TelephoneNumberDetail><TelephoneNumberDetail><City>CALERA</City><LATA>476</LATA><RateCenter>CALERA    </RateCenter><State>AL</State><FullNumber>2053194421</FullNumber><Tier>0</Tier><VendorId>49</VendorId><VendorName>Bandwidth CLEC</VendorName></TelephoneNumberDetail><TelephoneNumberDetail><City>CALERA</City><LATA>476</LATA><RateCenter>CALERA    </RateCenter><State>AL</State><FullNumber>2053194437</FullNumber><Tier>0</Tier><VendorId>49</VendorId><VendorName>Bandwidth CLEC</VendorName></TelephoneNumberDetail><TelephoneNumberDetail><City>CALERA</City><LATA>476</LATA><RateCenter>CALERA    </RateCenter><State>AL</State><FullNumber>2053194457</FullNumber><Tier>0</Tier><VendorId>49</VendorId><VendorName>Bandwidth CLEC</VendorName></TelephoneNumberDetail><TelephoneNumberDetail><City>CALERA</City><LATA>476</LATA><RateCenter>CALERA    </RateCenter><State>AL</State><FullNumber>2053194459</FullNumber><Tier>0</Tier><VendorId>49</VendorId><VendorName>Bandwidth CLEC</VendorName></TelephoneNumberDetail></TelephoneNumberDetailList></SearchResult>";
    public static String validTollFreeSearchResult = "<SearchResult><ResultCount>2</ResultCount><TelephoneNumberList><TelephoneNumber>8885551212</TelephoneNumber><TelephoneNumber>8885551213</TelephoneNumber></TelephoneNumberList></SearchResult>";
    public static String validTollFreeJsonResult = "{\"friendlyName\":\"+18885551212\",\"phoneNumber\":\"+18885551212\",\"isoCountry\":\"US\",\"voiceCapable\":true,\"smsCapable\":true,\"mmsCapable\":false,\"faxCapable\":false,\"ussdCapable\":false}";
    public static String invalidTollFreeSearchResult = "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><SearchResult><Error><Code>4004</Code><Description>TollFree wild character search must start with an 8</Description></Error></SearchResult>";
}
