Type.registerNamespace('Nms.Designer.Web.UI.Services'); Nms.Designer.Web.UI.Services.FormManagerService=function() { Nms.Designer.Web.UI.Services.FormManagerService.initializeBase(this); this._timeout = 0; this._userContext = null; this._succeeded = null; this._failed = null; } Nms.Designer.Web.UI.Services.FormManagerService.prototype={ _get_path:function() { var p = this.get_path(); if (p) return p; else return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_path();}, TestService:function(succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'TestService',true,{},succeededCallback,failedCallback,userContext); }, GetFormDataEntityByContactGuid:function(contactGuid,formDataID,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetFormDataEntityByContactGuid',false,{contactGuid:contactGuid,formDataID:formDataID},succeededCallback,failedCallback,userContext); }, SubmitFormInDataBase:function(token,associatedFormGuid,associatedItemIdentifierGuid,associatedItemIdentifierType,isUpdate,needApproval,formData,submitEntity,captchaWord,brokers,contactGuid,formDataID,emailTo,cultureID,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'SubmitFormInDataBase',false,{token:token,associatedFormGuid:associatedFormGuid,associatedItemIdentifierGuid:associatedItemIdentifierGuid,associatedItemIdentifierType:associatedItemIdentifierType,isUpdate:isUpdate,needApproval:needApproval,formData:formData,submitEntity:submitEntity,captchaWord:captchaWord,brokers:brokers,contactGuid:contactGuid,formDataID:formDataID,emailTo:emailTo,cultureID:cultureID},succeededCallback,failedCallback,userContext); }, GetAuthorizationToken:function(siteGuid,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetAuthorizationToken',false,{siteGuid:siteGuid},succeededCallback,failedCallback,userContext); }, GetCaptchaInfo:function(cultureID,siteGuid,formIdentification,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetCaptchaInfo',false,{cultureID:cultureID,siteGuid:siteGuid,formIdentification:formIdentification},succeededCallback,failedCallback,userContext); }, RegisterToMailingList:function(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'RegisterToMailingList',false,{formData:formData,siteConfig:siteConfig,subscribeConfig:subscribeConfig,emailConfig:emailConfig,token:token,captchaWord:captchaWord},succeededCallback,failedCallback,userContext); }, CreateSiteUserWithPayment:function(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,questions,customfields,paymentProvider,currentOrderGuid,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'CreateSiteUserWithPayment',false,{formData:formData,siteConfig:siteConfig,subscribeConfig:subscribeConfig,emailConfig:emailConfig,token:token,captchaWord:captchaWord,questions:questions,customfields:customfields,paymentProvider:paymentProvider,currentOrderGuid:currentOrderGuid},succeededCallback,failedCallback,userContext); }, CreateSiteUser:function(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,questions,customfields,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'CreateSiteUser',false,{formData:formData,siteConfig:siteConfig,subscribeConfig:subscribeConfig,emailConfig:emailConfig,token:token,captchaWord:captchaWord,questions:questions,customfields:customfields},succeededCallback,failedCallback,userContext); }, GetSimpleCaptchaInfo:function(siteGuid,cultureID,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetSimpleCaptchaInfo',false,{siteGuid:siteGuid,cultureID:cultureID},succeededCallback,failedCallback,userContext); }, GetCurrentFormPerson:function(contactGuid,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'GetCurrentFormPerson',false,{contactGuid:contactGuid},succeededCallback,failedCallback,userContext); }, CalculateAverageValueFormSubmitButton:function(formPage,associatedSubmitFormControlID,fieldIdentifierGuid,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'CalculateAverageValueFormSubmitButton',false,{formPage:formPage,associatedSubmitFormControlID:associatedSubmitFormControlID,fieldIdentifierGuid:fieldIdentifierGuid},succeededCallback,failedCallback,userContext); }, CalculateAverageValue:function(associatedFormGuid,fieldIdentifierGuid,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'CalculateAverageValue',false,{associatedFormGuid:associatedFormGuid,fieldIdentifierGuid:fieldIdentifierGuid},succeededCallback,failedCallback,userContext); }, CalculateAverageValueFromGuidList:function(associatedFormGuid,fieldIdentifierGuid,associatedGuidList,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'CalculateAverageValueFromGuidList',false,{associatedFormGuid:associatedFormGuid,fieldIdentifierGuid:fieldIdentifierGuid,associatedGuidList:associatedGuidList},succeededCallback,failedCallback,userContext); }, SubmitFormInDataBaseAndCheckout:function(args,succeededCallback, failedCallback, userContext) { return this._invoke(this._get_path(), 'SubmitFormInDataBaseAndCheckout',false,{args:args},succeededCallback,failedCallback,userContext); }} Nms.Designer.Web.UI.Services.FormManagerService.registerClass('Nms.Designer.Web.UI.Services.FormManagerService',Sys.Net.WebServiceProxy); Nms.Designer.Web.UI.Services.FormManagerService._staticInstance = new Nms.Designer.Web.UI.Services.FormManagerService(); Nms.Designer.Web.UI.Services.FormManagerService.set_path = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_path(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_path = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_path(); } Nms.Designer.Web.UI.Services.FormManagerService.set_timeout = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_timeout(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_timeout = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_timeout(); } Nms.Designer.Web.UI.Services.FormManagerService.set_defaultUserContext = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_defaultUserContext(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_defaultUserContext = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_defaultUserContext(); } Nms.Designer.Web.UI.Services.FormManagerService.set_defaultSucceededCallback = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_defaultSucceededCallback(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_defaultSucceededCallback = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_defaultSucceededCallback(); } Nms.Designer.Web.UI.Services.FormManagerService.set_defaultFailedCallback = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_defaultFailedCallback(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_defaultFailedCallback = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_defaultFailedCallback(); } Nms.Designer.Web.UI.Services.FormManagerService.set_enableJsonp = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_enableJsonp(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_enableJsonp = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_enableJsonp(); } Nms.Designer.Web.UI.Services.FormManagerService.set_jsonpCallbackParameter = function(value) { Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.set_jsonpCallbackParameter(value); } Nms.Designer.Web.UI.Services.FormManagerService.get_jsonpCallbackParameter = function() { return Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.get_jsonpCallbackParameter(); } Nms.Designer.Web.UI.Services.FormManagerService.set_path("/Service/FormManagerService.asmx"); Nms.Designer.Web.UI.Services.FormManagerService.TestService= function(onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.TestService(onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.GetFormDataEntityByContactGuid= function(contactGuid,formDataID,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.GetFormDataEntityByContactGuid(contactGuid,formDataID,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.SubmitFormInDataBase= function(token,associatedFormGuid,associatedItemIdentifierGuid,associatedItemIdentifierType,isUpdate,needApproval,formData,submitEntity,captchaWord,brokers,contactGuid,formDataID,emailTo,cultureID,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.SubmitFormInDataBase(token,associatedFormGuid,associatedItemIdentifierGuid,associatedItemIdentifierType,isUpdate,needApproval,formData,submitEntity,captchaWord,brokers,contactGuid,formDataID,emailTo,cultureID,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.GetAuthorizationToken= function(siteGuid,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.GetAuthorizationToken(siteGuid,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.GetCaptchaInfo= function(cultureID,siteGuid,formIdentification,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.GetCaptchaInfo(cultureID,siteGuid,formIdentification,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.RegisterToMailingList= function(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.RegisterToMailingList(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.CreateSiteUserWithPayment= function(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,questions,customfields,paymentProvider,currentOrderGuid,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.CreateSiteUserWithPayment(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,questions,customfields,paymentProvider,currentOrderGuid,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.CreateSiteUser= function(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,questions,customfields,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.CreateSiteUser(formData,siteConfig,subscribeConfig,emailConfig,token,captchaWord,questions,customfields,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.GetSimpleCaptchaInfo= function(siteGuid,cultureID,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.GetSimpleCaptchaInfo(siteGuid,cultureID,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.GetCurrentFormPerson= function(contactGuid,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.GetCurrentFormPerson(contactGuid,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.CalculateAverageValueFormSubmitButton= function(formPage,associatedSubmitFormControlID,fieldIdentifierGuid,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.CalculateAverageValueFormSubmitButton(formPage,associatedSubmitFormControlID,fieldIdentifierGuid,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.CalculateAverageValue= function(associatedFormGuid,fieldIdentifierGuid,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.CalculateAverageValue(associatedFormGuid,fieldIdentifierGuid,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.CalculateAverageValueFromGuidList= function(associatedFormGuid,fieldIdentifierGuid,associatedGuidList,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.CalculateAverageValueFromGuidList(associatedFormGuid,fieldIdentifierGuid,associatedGuidList,onSuccess,onFailed,userContext); } Nms.Designer.Web.UI.Services.FormManagerService.SubmitFormInDataBaseAndCheckout= function(args,onSuccess,onFailed,userContext) {Nms.Designer.Web.UI.Services.FormManagerService._staticInstance.SubmitFormInDataBaseAndCheckout(args,onSuccess,onFailed,userContext); } var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor; Type.registerNamespace('Nms.Media.Business.Model.Entities'); if (typeof(Nms.Media.Business.Model.Entities.FormDataEntity) === 'undefined') { Nms.Media.Business.Model.Entities.FormDataEntity=gtc("Nms.Media.Business.Model.Entities.FormDataEntity"); Nms.Media.Business.Model.Entities.FormDataEntity.registerClass('Nms.Media.Business.Model.Entities.FormDataEntity'); } Type.registerNamespace('Nms.Designer.Web.UI.Models.Entities'); if (typeof(Nms.Designer.Web.UI.Models.Entities.FormAuthorizationTokenEntity) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.FormAuthorizationTokenEntity=gtc("Nms.Designer.Web.UI.Models.Entities.FormAuthorizationTokenEntity"); Nms.Designer.Web.UI.Models.Entities.FormAuthorizationTokenEntity.registerClass('Nms.Designer.Web.UI.Models.Entities.FormAuthorizationTokenEntity'); } if (typeof(Nms.Designer.Web.UI.Models.Entities.JSONSubmitEntity) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.JSONSubmitEntity=gtc("Nms.Designer.Web.UI.Models.Entities.JSONSubmitEntity"); Nms.Designer.Web.UI.Models.Entities.JSONSubmitEntity.registerClass('Nms.Designer.Web.UI.Models.Entities.JSONSubmitEntity'); } if (typeof(Nms.Designer.Web.UI.Models.Entities.BrokerWrapperEntity) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.BrokerWrapperEntity=gtc("Nms.Designer.Web.UI.Models.Entities.BrokerWrapperEntity"); Nms.Designer.Web.UI.Models.Entities.BrokerWrapperEntity.registerClass('Nms.Designer.Web.UI.Models.Entities.BrokerWrapperEntity'); } if (typeof(Nms.Designer.Web.UI.Services.SubmitFormInDataBaseResponse) === 'undefined') { Nms.Designer.Web.UI.Services.SubmitFormInDataBaseResponse=gtc("Nms.Designer.Web.UI.Services.SubmitFormInDataBaseResponse"); Nms.Designer.Web.UI.Services.SubmitFormInDataBaseResponse.registerClass('Nms.Designer.Web.UI.Services.SubmitFormInDataBaseResponse'); } if (typeof(Nms.Media.Business.Model.Entities.FormCaptchaInformationEntity) === 'undefined') { Nms.Media.Business.Model.Entities.FormCaptchaInformationEntity=gtc("Nms.Media.Business.Model.Entities.FormCaptchaInformationEntity"); Nms.Media.Business.Model.Entities.FormCaptchaInformationEntity.registerClass('Nms.Media.Business.Model.Entities.FormCaptchaInformationEntity'); } Type.registerNamespace('Nms.Designer.Web.UI.Models.Entities.JSON'); if (typeof(Nms.Designer.Web.UI.Models.Entities.JSON.JSONSiteConfig) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.JSON.JSONSiteConfig=gtc("Nms.Designer.Web.UI.Models.Entities.JSON.JSONSiteConfig"); Nms.Designer.Web.UI.Models.Entities.JSON.JSONSiteConfig.registerClass('Nms.Designer.Web.UI.Models.Entities.JSON.JSONSiteConfig'); } if (typeof(Nms.Designer.Web.UI.Models.Entities.JSON.JSONSubscribeConfig) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.JSON.JSONSubscribeConfig=gtc("Nms.Designer.Web.UI.Models.Entities.JSON.JSONSubscribeConfig"); Nms.Designer.Web.UI.Models.Entities.JSON.JSONSubscribeConfig.registerClass('Nms.Designer.Web.UI.Models.Entities.JSON.JSONSubscribeConfig'); } if (typeof(Nms.Designer.Web.UI.Models.Entities.JSON.JSONEmailConfig) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.JSON.JSONEmailConfig=gtc("Nms.Designer.Web.UI.Models.Entities.JSON.JSONEmailConfig"); Nms.Designer.Web.UI.Models.Entities.JSON.JSONEmailConfig.registerClass('Nms.Designer.Web.UI.Models.Entities.JSON.JSONEmailConfig'); } Type.registerNamespace('Nms.SiteAccess.Business.Models.Entities'); if (typeof(Nms.SiteAccess.Business.Models.Entities.PasswordRecoveryQuestionEntity) === 'undefined') { Nms.SiteAccess.Business.Models.Entities.PasswordRecoveryQuestionEntity=gtc("Nms.SiteAccess.Business.Models.Entities.PasswordRecoveryQuestionEntity"); Nms.SiteAccess.Business.Models.Entities.PasswordRecoveryQuestionEntity.registerClass('Nms.SiteAccess.Business.Models.Entities.PasswordRecoveryQuestionEntity'); } Type.registerNamespace('Nms.Designer.Web.UI.Models.Response'); if (typeof(Nms.Designer.Web.UI.Models.Response.CreateSiteUserWithPaymentResponse) === 'undefined') { Nms.Designer.Web.UI.Models.Response.CreateSiteUserWithPaymentResponse=gtc("Nms.Designer.Web.UI.Models.Response.CreateSiteUserWithPaymentResponse"); Nms.Designer.Web.UI.Models.Response.CreateSiteUserWithPaymentResponse.registerClass('Nms.Designer.Web.UI.Models.Response.CreateSiteUserWithPaymentResponse'); } if (typeof(Nms.Designer.Web.UI.Models.Entities.FormPersonEntity) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.FormPersonEntity=gtc("Nms.Designer.Web.UI.Models.Entities.FormPersonEntity"); Nms.Designer.Web.UI.Models.Entities.FormPersonEntity.registerClass('Nms.Designer.Web.UI.Models.Entities.FormPersonEntity'); } Type.registerNamespace('System.Web.UI'); if (typeof(System.Web.UI.Page) === 'undefined') { System.Web.UI.Page=gtc("System.Web.UI.Page"); System.Web.UI.Page.registerClass('System.Web.UI.Page'); } if (typeof(Nms.Designer.Web.UI.Models.Entities.AverageValueEntity) === 'undefined') { Nms.Designer.Web.UI.Models.Entities.AverageValueEntity=gtc("Nms.Designer.Web.UI.Models.Entities.AverageValueEntity"); Nms.Designer.Web.UI.Models.Entities.AverageValueEntity.registerClass('Nms.Designer.Web.UI.Models.Entities.AverageValueEntity'); } Type.registerNamespace('Nms.Designer.Web.UI.Models.Args'); if (typeof(Nms.Designer.Web.UI.Models.Args.SubmitFormInDataBaseAndCheckoutArgs) === 'undefined') { Nms.Designer.Web.UI.Models.Args.SubmitFormInDataBaseAndCheckoutArgs=gtc("Nms.Designer.Web.UI.Models.Args.SubmitFormInDataBaseAndCheckoutArgs"); Nms.Designer.Web.UI.Models.Args.SubmitFormInDataBaseAndCheckoutArgs.registerClass('Nms.Designer.Web.UI.Models.Args.SubmitFormInDataBaseAndCheckoutArgs'); } if (typeof(Nms.Designer.Web.UI.Models.Response.SubmitFormInDataBaseAndCheckoutResponse) === 'undefined') { Nms.Designer.Web.UI.Models.Response.SubmitFormInDataBaseAndCheckoutResponse=gtc("Nms.Designer.Web.UI.Models.Response.SubmitFormInDataBaseAndCheckoutResponse"); Nms.Designer.Web.UI.Models.Response.SubmitFormInDataBaseAndCheckoutResponse.registerClass('Nms.Designer.Web.UI.Models.Response.SubmitFormInDataBaseAndCheckoutResponse'); } Type.registerNamespace('Nms.Products.Altitude3.Business.Models.Enums'); if (typeof(Nms.Products.Altitude3.Business.Models.Enums.IdentifierType) === 'undefined') { Nms.Products.Altitude3.Business.Models.Enums.IdentifierType = function() { throw Error.invalidOperation(); } Nms.Products.Altitude3.Business.Models.Enums.IdentifierType.prototype = {ZoneHierarchy: 0,LibraryItem: 1,FormData: 2,Form: 3,Page: 4,Menu: 5,StyleSheet: 6,Document: 7,Image: 8,InventoryProductIdentifierGuid: 9} Nms.Products.Altitude3.Business.Models.Enums.IdentifierType.registerEnum('Nms.Products.Altitude3.Business.Models.Enums.IdentifierType', true); } Type.registerNamespace('Nms.Inventory.Business.Model.Enums'); if (typeof(Nms.Inventory.Business.Model.Enums.PaymentProvider) === 'undefined') { Nms.Inventory.Business.Model.Enums.PaymentProvider = function() { throw Error.invalidOperation(); } Nms.Inventory.Business.Model.Enums.PaymentProvider.prototype = {None: 0,Paypal: 1,Braintree: 2,AltitudeNoPayment: 3,GlobalPayment: 4,RealexPayments: 5,ManualPayment: 6,Moneris: 7} Nms.Inventory.Business.Model.Enums.PaymentProvider.registerEnum('Nms.Inventory.Business.Model.Enums.PaymentProvider', true); }