Type.registerNamespace('DaytonFreight.Web.Services');
DaytonFreight.Web.Services.TrackingServiceInterface=function() {
DaytonFreight.Web.Services.TrackingServiceInterface.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
DaytonFreight.Web.Services.TrackingServiceInterface.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_path();},
TrackByDateSortable:function(startDate,endDate,account,sortBy,sortDirection,sortSection,succeededCallback, failedCallback, userContext) {
/// <param name="startDate" type="Date">System.DateTime</param>
/// <param name="endDate" type="Date">System.DateTime</param>
/// <param name="account" type="String">System.String</param>
/// <param name="sortBy" type="String">System.String</param>
/// <param name="sortDirection" type="String">System.String</param>
/// <param name="sortSection" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByDateSortable',false,{startDate:startDate,endDate:endDate,account:account,sortBy:sortBy,sortDirection:sortDirection,sortSection:sortSection},succeededCallback,failedCallback,userContext); },
TrackByDate:function(startDate,endDate,account,succeededCallback, failedCallback, userContext) {
/// <param name="startDate" type="Date">System.DateTime</param>
/// <param name="endDate" type="Date">System.DateTime</param>
/// <param name="account" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByDate',false,{startDate:startDate,endDate:endDate,account:account},succeededCallback,failedCallback,userContext); },
TrackByPro:function(proNumbers,succeededCallback, failedCallback, userContext) {
/// <param name="proNumbers" type="Array">System.Int64[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByPro',false,{proNumbers:proNumbers},succeededCallback,failedCallback,userContext); },
TrackByPartnerPro:function(partnerProNumbers,succeededCallback, failedCallback, userContext) {
/// <param name="partnerProNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByPartnerPro',false,{partnerProNumbers:partnerProNumbers},succeededCallback,failedCallback,userContext); },
TrackByShipperNumber:function(shipperNumbers,succeededCallback, failedCallback, userContext) {
/// <param name="shipperNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByShipperNumber',false,{shipperNumbers:shipperNumbers},succeededCallback,failedCallback,userContext); },
TrackByBillOfLadingNumber:function(bolNumbers,succeededCallback, failedCallback, userContext) {
/// <param name="bolNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByBillOfLadingNumber',false,{bolNumbers:bolNumbers},succeededCallback,failedCallback,userContext); },
TrackByPurchaseOrderNumber:function(poNumbers,succeededCallback, failedCallback, userContext) {
/// <param name="poNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'TrackByPurchaseOrderNumber',false,{poNumbers:poNumbers},succeededCallback,failedCallback,userContext); },
GetPendingShipments:function(account,succeededCallback, failedCallback, userContext) {
/// <param name="account" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
return this._invoke(this._get_path(), 'GetPendingShipments',false,{account:account},succeededCallback,failedCallback,userContext); }}
DaytonFreight.Web.Services.TrackingServiceInterface.registerClass('DaytonFreight.Web.Services.TrackingServiceInterface',Sys.Net.WebServiceProxy);
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance = new DaytonFreight.Web.Services.TrackingServiceInterface();
DaytonFreight.Web.Services.TrackingServiceInterface.set_path = function(value) {
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_path(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_path();}
DaytonFreight.Web.Services.TrackingServiceInterface.set_timeout = function(value) {
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_timeout(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_timeout(); }
DaytonFreight.Web.Services.TrackingServiceInterface.set_defaultUserContext = function(value) { 
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_defaultUserContext(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_defaultUserContext(); }
DaytonFreight.Web.Services.TrackingServiceInterface.set_defaultSucceededCallback = function(value) { 
 DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_defaultSucceededCallback(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_defaultSucceededCallback(); }
DaytonFreight.Web.Services.TrackingServiceInterface.set_defaultFailedCallback = function(value) { 
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_defaultFailedCallback(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_defaultFailedCallback(); }
DaytonFreight.Web.Services.TrackingServiceInterface.set_enableJsonp = function(value) { DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_enableJsonp(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_enableJsonp = function() { 
/// <value type="Boolean">Specifies whether the service supports JSONP for cross domain calling.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_enableJsonp(); }
DaytonFreight.Web.Services.TrackingServiceInterface.set_jsonpCallbackParameter = function(value) { DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.set_jsonpCallbackParameter(value); }
DaytonFreight.Web.Services.TrackingServiceInterface.get_jsonpCallbackParameter = function() { 
/// <value type="String">Specifies the parameter name that contains the callback function name for a JSONP request.</value>
return DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.get_jsonpCallbackParameter(); }
DaytonFreight.Web.Services.TrackingServiceInterface.set_path("/ScriptServices/TrackingServiceInterface.asmx");
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByDateSortable= function(startDate,endDate,account,sortBy,sortDirection,sortSection,onSuccess,onFailed,userContext) {
/// <param name="startDate" type="Date">System.DateTime</param>
/// <param name="endDate" type="Date">System.DateTime</param>
/// <param name="account" type="String">System.String</param>
/// <param name="sortBy" type="String">System.String</param>
/// <param name="sortDirection" type="String">System.String</param>
/// <param name="sortSection" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByDateSortable(startDate,endDate,account,sortBy,sortDirection,sortSection,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByDate= function(startDate,endDate,account,onSuccess,onFailed,userContext) {
/// <param name="startDate" type="Date">System.DateTime</param>
/// <param name="endDate" type="Date">System.DateTime</param>
/// <param name="account" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByDate(startDate,endDate,account,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByPro= function(proNumbers,onSuccess,onFailed,userContext) {
/// <param name="proNumbers" type="Array">System.Int64[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByPro(proNumbers,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByPartnerPro= function(partnerProNumbers,onSuccess,onFailed,userContext) {
/// <param name="partnerProNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByPartnerPro(partnerProNumbers,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByShipperNumber= function(shipperNumbers,onSuccess,onFailed,userContext) {
/// <param name="shipperNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByShipperNumber(shipperNumbers,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByBillOfLadingNumber= function(bolNumbers,onSuccess,onFailed,userContext) {
/// <param name="bolNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByBillOfLadingNumber(bolNumbers,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.TrackByPurchaseOrderNumber= function(poNumbers,onSuccess,onFailed,userContext) {
/// <param name="poNumbers" type="Array">System.String[]</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.TrackByPurchaseOrderNumber(poNumbers,onSuccess,onFailed,userContext); }
DaytonFreight.Web.Services.TrackingServiceInterface.GetPendingShipments= function(account,onSuccess,onFailed,userContext) {
/// <param name="account" type="String">System.String</param>
/// <param name="succeededCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="failedCallback" type="Function" optional="true" mayBeNull="true"></param>
/// <param name="userContext" optional="true" mayBeNull="true"></param>
DaytonFreight.Web.Services.TrackingServiceInterface._staticInstance.GetPendingShipments(account,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
Type.registerNamespace('TrackingService');
if (typeof(TrackingService.TrackingResult) === 'undefined') {
TrackingService.TrackingResult=gtc("TrackingService.TrackingResult");
TrackingService.TrackingResult.registerClass('TrackingService.TrackingResult');
}
if (typeof(TrackingService.TrackingDetailedResult) === 'undefined') {
TrackingService.TrackingDetailedResult=gtc("TrackingService.TrackingDetailedResult");
TrackingService.TrackingDetailedResult.registerClass('TrackingService.TrackingDetailedResult');
}

