Type.registerNamespace('dpt.services');
dpt.services.svrclient=function() {
dpt.services.svrclient.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
dpt.services.svrclient.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return dpt.services.svrclient._staticInstance.get_path();},
setLocation:function(country,state,zip,succeededCallback, failedCallback, userContext) {
/// <param name="country" type="String">System.String</param>
/// <param name="state" type="String">System.String</param>
/// <param name="zip" 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(), 'setLocation',false,{country:country,state:state,zip:zip},succeededCallback,failedCallback,userContext); },
GetTimeLineImages:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int32</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(), 'GetTimeLineImages',false,{id:id},succeededCallback,failedCallback,userContext); },
GetTimeLine:function(resellerid,p,succeededCallback, failedCallback, userContext) {
/// <param name="resellerid" type="Number">System.Int32</param>
/// <param name="p" type="Number">System.Int32</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(), 'GetTimeLine',false,{resellerid:resellerid,p:p},succeededCallback,failedCallback,userContext); },
GetPhotos:function(id,succeededCallback, failedCallback, userContext) {
/// <param name="id" type="Number">System.Int32</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(), 'GetPhotos',false,{id:id},succeededCallback,failedCallback,userContext); }}
dpt.services.svrclient.registerClass('dpt.services.svrclient',Sys.Net.WebServiceProxy);
dpt.services.svrclient._staticInstance = new dpt.services.svrclient();
dpt.services.svrclient.set_path = function(value) {
dpt.services.svrclient._staticInstance.set_path(value); }
dpt.services.svrclient.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return dpt.services.svrclient._staticInstance.get_path();}
dpt.services.svrclient.set_timeout = function(value) {
dpt.services.svrclient._staticInstance.set_timeout(value); }
dpt.services.svrclient.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return dpt.services.svrclient._staticInstance.get_timeout(); }
dpt.services.svrclient.set_defaultUserContext = function(value) { 
dpt.services.svrclient._staticInstance.set_defaultUserContext(value); }
dpt.services.svrclient.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return dpt.services.svrclient._staticInstance.get_defaultUserContext(); }
dpt.services.svrclient.set_defaultSucceededCallback = function(value) { 
 dpt.services.svrclient._staticInstance.set_defaultSucceededCallback(value); }
dpt.services.svrclient.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return dpt.services.svrclient._staticInstance.get_defaultSucceededCallback(); }
dpt.services.svrclient.set_defaultFailedCallback = function(value) { 
dpt.services.svrclient._staticInstance.set_defaultFailedCallback(value); }
dpt.services.svrclient.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return dpt.services.svrclient._staticInstance.get_defaultFailedCallback(); }
dpt.services.svrclient.set_path("/services/svrclient.asmx");
dpt.services.svrclient.setLocation= function(country,state,zip,onSuccess,onFailed,userContext) {
/// <param name="country" type="String">System.String</param>
/// <param name="state" type="String">System.String</param>
/// <param name="zip" 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>
dpt.services.svrclient._staticInstance.setLocation(country,state,zip,onSuccess,onFailed,userContext); }
dpt.services.svrclient.GetTimeLineImages= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int32</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>
dpt.services.svrclient._staticInstance.GetTimeLineImages(id,onSuccess,onFailed,userContext); }
dpt.services.svrclient.GetTimeLine= function(resellerid,p,onSuccess,onFailed,userContext) {
/// <param name="resellerid" type="Number">System.Int32</param>
/// <param name="p" type="Number">System.Int32</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>
dpt.services.svrclient._staticInstance.GetTimeLine(resellerid,p,onSuccess,onFailed,userContext); }
dpt.services.svrclient.GetPhotos= function(id,onSuccess,onFailed,userContext) {
/// <param name="id" type="Number">System.Int32</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>
dpt.services.svrclient._staticInstance.GetPhotos(id,onSuccess,onFailed,userContext); }

