var NotificationService=function() {
NotificationService.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
NotificationService.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return NotificationService._staticInstance.get_path();},
DisableUpdateNotification:function(succeededCallback, failedCallback, userContext) {
/// <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(), 'DisableUpdateNotification',false,{},succeededCallback,failedCallback,userContext); },
UnlockRMA:function(rmaid,succeededCallback, failedCallback, userContext) {
/// <param name="rmaid" 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(), 'UnlockRMA',false,{rmaid:rmaid},succeededCallback,failedCallback,userContext); },
UnlockIR:function(irid,succeededCallback, failedCallback, userContext) {
/// <param name="irid" 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(), 'UnlockIR',false,{irid:irid},succeededCallback,failedCallback,userContext); }}
NotificationService.registerClass('NotificationService',Sys.Net.WebServiceProxy);
NotificationService._staticInstance = new NotificationService();
NotificationService.set_path = function(value) {
NotificationService._staticInstance.set_path(value); }
NotificationService.get_path = function() { 
/// <value type="String" mayBeNull="true">The service url.</value>
return NotificationService._staticInstance.get_path();}
NotificationService.set_timeout = function(value) {
NotificationService._staticInstance.set_timeout(value); }
NotificationService.get_timeout = function() { 
/// <value type="Number">The service timeout.</value>
return NotificationService._staticInstance.get_timeout(); }
NotificationService.set_defaultUserContext = function(value) { 
NotificationService._staticInstance.set_defaultUserContext(value); }
NotificationService.get_defaultUserContext = function() { 
/// <value mayBeNull="true">The service default user context.</value>
return NotificationService._staticInstance.get_defaultUserContext(); }
NotificationService.set_defaultSucceededCallback = function(value) { 
 NotificationService._staticInstance.set_defaultSucceededCallback(value); }
NotificationService.get_defaultSucceededCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default succeeded callback.</value>
return NotificationService._staticInstance.get_defaultSucceededCallback(); }
NotificationService.set_defaultFailedCallback = function(value) { 
NotificationService._staticInstance.set_defaultFailedCallback(value); }
NotificationService.get_defaultFailedCallback = function() { 
/// <value type="Function" mayBeNull="true">The service default failed callback.</value>
return NotificationService._staticInstance.get_defaultFailedCallback(); }
NotificationService.set_path("/eservice/Services/NotificationService.asmx");
NotificationService.DisableUpdateNotification= function(onSuccess,onFailed,userContext) {
/// <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>
NotificationService._staticInstance.DisableUpdateNotification(onSuccess,onFailed,userContext); }
NotificationService.UnlockRMA= function(rmaid,onSuccess,onFailed,userContext) {
/// <param name="rmaid" 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>
NotificationService._staticInstance.UnlockRMA(rmaid,onSuccess,onFailed,userContext); }
NotificationService.UnlockIR= function(irid,onSuccess,onFailed,userContext) {
/// <param name="irid" 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>
NotificationService._staticInstance.UnlockIR(irid,onSuccess,onFailed,userContext); }

