Type.registerNamespace('VB.WCF');
VB.WCF.Service=function() {
VB.WCF.Service.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
}
VB.WCF.Service.prototype={
_get_path:function() {
 var p = this.get_path();
 if (p) return p;
 else return VB.WCF.Service._staticInstance.get_path();},
GetContentInfo:function(contentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContentInfo',false,{contentId:contentId},succeededCallback,failedCallback,userContext); },
TrackPublishedMessage:function(messageId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TrackPublishedMessage',false,{messageId:messageId},succeededCallback,failedCallback,userContext); },
LoginToFoursquare:function(accessToken,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'LoginToFoursquare',false,{accessToken:accessToken},succeededCallback,failedCallback,userContext); },
AddCommentAndPayment:function(contentId,message,taskId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddCommentAndPayment',false,{contentId:contentId,message:message,taskId:taskId},succeededCallback,failedCallback,userContext); },
AddFbLikePayment:function(contentId,taskId,likedOnVb,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFbLikePayment',false,{contentId:contentId,taskId:taskId,likedOnVb:likedOnVb},succeededCallback,failedCallback,userContext); },
AddFbPhotoUploadPayment:function(contentId,photoId,taskId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFbPhotoUploadPayment',false,{contentId:contentId,photoId:photoId,taskId:taskId},succeededCallback,failedCallback,userContext); },
FollowAndAddPayment:function(users,contentId,actionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FollowAndAddPayment',false,{users:users,contentId:contentId,actionId:actionId},succeededCallback,failedCallback,userContext); },
SubscribeAndAddPayment:function(users,contentId,actionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'SubscribeAndAddPayment',false,{users:users,contentId:contentId,actionId:actionId},succeededCallback,failedCallback,userContext); },
AnswerAndAddPayment:function(answers,contentId,actionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AnswerAndAddPayment',false,{answers:answers,contentId:contentId,actionId:actionId},succeededCallback,failedCallback,userContext); },
OptinAndAddPayment:function(contentId,actionId,email,firstName,lastName,mobileNumber,country,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'OptinAndAddPayment',false,{contentId:contentId,actionId:actionId,email:email,firstName:firstName,lastName:lastName,mobileNumber:mobileNumber,country:country},succeededCallback,failedCallback,userContext); },
GetInfoBeforeTaskPreview:function(userId,taskId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInfoBeforeTaskPreview',false,{userId:userId,taskId:taskId},succeededCallback,failedCallback,userContext); },
GetFbSharePassInfo:function(passId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetFbSharePassInfo',false,{passId:passId},succeededCallback,failedCallback,userContext); },
PostPassToTwitter:function(passId,shortUrl,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostPassToTwitter',false,{passId:passId,shortUrl:shortUrl},succeededCallback,failedCallback,userContext); },
AddPostPassPayment:function(passId,isPostToFb,isPostToTw,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddPostPassPayment',false,{passId:passId,isPostToFb:isPostToFb,isPostToTw:isPostToTw},succeededCallback,failedCallback,userContext); },
TrackVideoView:function(contentId,taskId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TrackVideoView',false,{contentId:contentId,taskId:taskId},succeededCallback,failedCallback,userContext); },
AcceptTerms:function(token,companyName,title,signature,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AcceptTerms',false,{token:token,companyName:companyName,title:title,signature:signature},succeededCallback,failedCallback,userContext); },
TrackSiteClick:function(contentId,detailsId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TrackSiteClick',false,{contentId:contentId,detailsId:detailsId},succeededCallback,failedCallback,userContext); },
Purchase:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Purchase',false,{productId:productId},succeededCallback,failedCallback,userContext); },
PurchasePhysicalProduct:function(productId,contentId,name,address1,address2,city,state,postalCode,email,year,month,day,message,country,size,subProductId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PurchasePhysicalProduct',false,{productId:productId,contentId:contentId,name:name,address1:address1,address2:address2,city:city,state:state,postalCode:postalCode,email:email,year:year,month:month,day:day,message:message,country:country,size:size,subProductId:subProductId},succeededCallback,failedCallback,userContext); },
GetRedeemCouponUrl:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetRedeemCouponUrl',false,{productId:productId},succeededCallback,failedCallback,userContext); },
GetUserShippingDetails:function(countryId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUserShippingDetails',false,{countryId:countryId},succeededCallback,failedCallback,userContext); },
IsUserShippingDetailsRequired:function(productId,subProductId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsUserShippingDetailsRequired',false,{productId:productId,subProductId:subProductId},succeededCallback,failedCallback,userContext); },
GetUpdatePurchaseData:function(productId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetUpdatePurchaseData',false,{productId:productId},succeededCallback,failedCallback,userContext); },
AddTwSharePayment:function(contentId,isAutoFollow,actionId,taskId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddTwSharePayment',false,{contentId:contentId,isAutoFollow:isAutoFollow,actionId:actionId,taskId:taskId},succeededCallback,failedCallback,userContext); },
AddFbSharePayment:function(contentId,actionId,taskId,message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AddFbSharePayment',false,{contentId:contentId,actionId:actionId,taskId:taskId,message:message},succeededCallback,failedCallback,userContext); },
DeleteAction:function(actionId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'DeleteAction',false,{actionId:actionId},succeededCallback,failedCallback,userContext); },
GetContentStats:function(contentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetContentStats',false,{contentId:contentId},succeededCallback,failedCallback,userContext); },
AuthenticateToTwitter:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'AuthenticateToTwitter',false,{},succeededCallback,failedCallback,userContext); },
FollowTwitterUsers:function(users,contentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'FollowTwitterUsers',false,{users:users,contentId:contentId},succeededCallback,failedCallback,userContext); },
CheckAuthenticatedToTwitter:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'CheckAuthenticatedToTwitter',false,{},succeededCallback,failedCallback,userContext); },
GetAuthenticatedTwUserName:function(succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetAuthenticatedTwUserName',false,{},succeededCallback,failedCallback,userContext); },
PostToTwitter:function(message,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'PostToTwitter',false,{message:message},succeededCallback,failedCallback,userContext); },
GetInfoBeforeSharePreview:function(userId,contentId,isToTwitter,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'GetInfoBeforeSharePreview',false,{userId:userId,contentId:contentId,isToTwitter:isToTwitter},succeededCallback,failedCallback,userContext); },
Render:function(data,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'Render',false,{data:data},succeededCallback,failedCallback,userContext); },
IsUserTrash:function(accessToken,contentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'IsUserTrash',false,{accessToken:accessToken,contentId:contentId},succeededCallback,failedCallback,userContext); },
UpdateUserInfo:function(email,birthday_date,current_location,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'UpdateUserInfo',false,{email:email,birthday_date:birthday_date,current_location:current_location},succeededCallback,failedCallback,userContext); },
TrackFbPermsCancellation:function(scope,contentId,succeededCallback, failedCallback, userContext) {
return this._invoke(this._get_path(), 'TrackFbPermsCancellation',false,{scope:scope,contentId:contentId},succeededCallback,failedCallback,userContext); }}
VB.WCF.Service.registerClass('VB.WCF.Service',Sys.Net.WebServiceProxy);
VB.WCF.Service._staticInstance = new VB.WCF.Service();
VB.WCF.Service.set_path = function(value) { VB.WCF.Service._staticInstance.set_path(value); }
VB.WCF.Service.get_path = function() { return VB.WCF.Service._staticInstance.get_path(); }
VB.WCF.Service.set_timeout = function(value) { VB.WCF.Service._staticInstance.set_timeout(value); }
VB.WCF.Service.get_timeout = function() { return VB.WCF.Service._staticInstance.get_timeout(); }
VB.WCF.Service.set_defaultUserContext = function(value) { VB.WCF.Service._staticInstance.set_defaultUserContext(value); }
VB.WCF.Service.get_defaultUserContext = function() { return VB.WCF.Service._staticInstance.get_defaultUserContext(); }
VB.WCF.Service.set_defaultSucceededCallback = function(value) { VB.WCF.Service._staticInstance.set_defaultSucceededCallback(value); }
VB.WCF.Service.get_defaultSucceededCallback = function() { return VB.WCF.Service._staticInstance.get_defaultSucceededCallback(); }
VB.WCF.Service.set_defaultFailedCallback = function(value) { VB.WCF.Service._staticInstance.set_defaultFailedCallback(value); }
VB.WCF.Service.get_defaultFailedCallback = function() { return VB.WCF.Service._staticInstance.get_defaultFailedCallback(); }
VB.WCF.Service.set_path("/WCF/VbService.svc");
VB.WCF.Service.GetContentInfo= function(contentId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetContentInfo(contentId,onSuccess,onFailed,userContext); }
VB.WCF.Service.TrackPublishedMessage= function(messageId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.TrackPublishedMessage(messageId,onSuccess,onFailed,userContext); }
VB.WCF.Service.LoginToFoursquare= function(accessToken,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.LoginToFoursquare(accessToken,onSuccess,onFailed,userContext); }
VB.WCF.Service.AddCommentAndPayment= function(contentId,message,taskId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AddCommentAndPayment(contentId,message,taskId,onSuccess,onFailed,userContext); }
VB.WCF.Service.AddFbLikePayment= function(contentId,taskId,likedOnVb,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AddFbLikePayment(contentId,taskId,likedOnVb,onSuccess,onFailed,userContext); }
VB.WCF.Service.AddFbPhotoUploadPayment= function(contentId,photoId,taskId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AddFbPhotoUploadPayment(contentId,photoId,taskId,onSuccess,onFailed,userContext); }
VB.WCF.Service.FollowAndAddPayment= function(users,contentId,actionId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.FollowAndAddPayment(users,contentId,actionId,onSuccess,onFailed,userContext); }
VB.WCF.Service.SubscribeAndAddPayment= function(users,contentId,actionId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.SubscribeAndAddPayment(users,contentId,actionId,onSuccess,onFailed,userContext); }
VB.WCF.Service.AnswerAndAddPayment= function(answers,contentId,actionId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AnswerAndAddPayment(answers,contentId,actionId,onSuccess,onFailed,userContext); }
VB.WCF.Service.OptinAndAddPayment= function(contentId,actionId,email,firstName,lastName,mobileNumber,country,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.OptinAndAddPayment(contentId,actionId,email,firstName,lastName,mobileNumber,country,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetInfoBeforeTaskPreview= function(userId,taskId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetInfoBeforeTaskPreview(userId,taskId,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetFbSharePassInfo= function(passId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetFbSharePassInfo(passId,onSuccess,onFailed,userContext); }
VB.WCF.Service.PostPassToTwitter= function(passId,shortUrl,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.PostPassToTwitter(passId,shortUrl,onSuccess,onFailed,userContext); }
VB.WCF.Service.AddPostPassPayment= function(passId,isPostToFb,isPostToTw,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AddPostPassPayment(passId,isPostToFb,isPostToTw,onSuccess,onFailed,userContext); }
VB.WCF.Service.TrackVideoView= function(contentId,taskId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.TrackVideoView(contentId,taskId,onSuccess,onFailed,userContext); }
VB.WCF.Service.AcceptTerms= function(token,companyName,title,signature,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AcceptTerms(token,companyName,title,signature,onSuccess,onFailed,userContext); }
VB.WCF.Service.TrackSiteClick= function(contentId,detailsId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.TrackSiteClick(contentId,detailsId,onSuccess,onFailed,userContext); }
VB.WCF.Service.Purchase= function(productId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.Purchase(productId,onSuccess,onFailed,userContext); }
VB.WCF.Service.PurchasePhysicalProduct= function(productId,contentId,name,address1,address2,city,state,postalCode,email,year,month,day,message,country,size,subProductId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.PurchasePhysicalProduct(productId,contentId,name,address1,address2,city,state,postalCode,email,year,month,day,message,country,size,subProductId,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetRedeemCouponUrl= function(productId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetRedeemCouponUrl(productId,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetUserShippingDetails= function(countryId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetUserShippingDetails(countryId,onSuccess,onFailed,userContext); }
VB.WCF.Service.IsUserShippingDetailsRequired= function(productId,subProductId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.IsUserShippingDetailsRequired(productId,subProductId,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetUpdatePurchaseData= function(productId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetUpdatePurchaseData(productId,onSuccess,onFailed,userContext); }
VB.WCF.Service.AddTwSharePayment= function(contentId,isAutoFollow,actionId,taskId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AddTwSharePayment(contentId,isAutoFollow,actionId,taskId,onSuccess,onFailed,userContext); }
VB.WCF.Service.AddFbSharePayment= function(contentId,actionId,taskId,message,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AddFbSharePayment(contentId,actionId,taskId,message,onSuccess,onFailed,userContext); }
VB.WCF.Service.DeleteAction= function(actionId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.DeleteAction(actionId,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetContentStats= function(contentId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetContentStats(contentId,onSuccess,onFailed,userContext); }
VB.WCF.Service.AuthenticateToTwitter= function(onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.AuthenticateToTwitter(onSuccess,onFailed,userContext); }
VB.WCF.Service.FollowTwitterUsers= function(users,contentId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.FollowTwitterUsers(users,contentId,onSuccess,onFailed,userContext); }
VB.WCF.Service.CheckAuthenticatedToTwitter= function(onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.CheckAuthenticatedToTwitter(onSuccess,onFailed,userContext); }
VB.WCF.Service.GetAuthenticatedTwUserName= function(onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetAuthenticatedTwUserName(onSuccess,onFailed,userContext); }
VB.WCF.Service.PostToTwitter= function(message,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.PostToTwitter(message,onSuccess,onFailed,userContext); }
VB.WCF.Service.GetInfoBeforeSharePreview= function(userId,contentId,isToTwitter,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.GetInfoBeforeSharePreview(userId,contentId,isToTwitter,onSuccess,onFailed,userContext); }
VB.WCF.Service.Render= function(data,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.Render(data,onSuccess,onFailed,userContext); }
VB.WCF.Service.IsUserTrash= function(accessToken,contentId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.IsUserTrash(accessToken,contentId,onSuccess,onFailed,userContext); }
VB.WCF.Service.UpdateUserInfo= function(email,birthday_date,current_location,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.UpdateUserInfo(email,birthday_date,current_location,onSuccess,onFailed,userContext); }
VB.WCF.Service.TrackFbPermsCancellation= function(scope,contentId,onSuccess,onFailed,userContext) {VB.WCF.Service._staticInstance.TrackFbPermsCancellation(scope,contentId,onSuccess,onFailed,userContext); }
var gtc = Sys.Net.WebServiceProxy._generateTypedConstructor;
if (typeof(VB.WCF.ContentInfo) === 'undefined') {
VB.WCF.ContentInfo=gtc("ContentInfo:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.ContentInfo.registerClass('VB.WCF.ContentInfo');
}
if (typeof(VB.WCF.Service.FoursquareAuthResult) === 'undefined') {
VB.WCF.Service.FoursquareAuthResult=gtc("Service.FoursquareAuthResult:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.FoursquareAuthResult.registerClass('VB.WCF.Service.FoursquareAuthResult');
}
Type.registerNamespace('www.w3.org._2001.XMLSchema');
if (typeof(www.w3.org._2001.XMLSchema.int) === 'undefined') {
www.w3.org._2001.XMLSchema.int=gtc("int:http://www.w3.org/2001/XMLSchema");
www.w3.org._2001.XMLSchema.int.registerClass('www.w3.org._2001.XMLSchema.int');
}
if (typeof(VB.WCF.CommentPayment) === 'undefined') {
VB.WCF.CommentPayment=gtc("CommentPayment:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.CommentPayment.registerClass('VB.WCF.CommentPayment');
}
if (typeof(VB.WCF.Payment) === 'undefined') {
VB.WCF.Payment=gtc("Payment:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Payment.registerClass('VB.WCF.Payment');
}
if (typeof(VB.WCF.LikePayment) === 'undefined') {
VB.WCF.LikePayment=gtc("LikePayment:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.LikePayment.registerClass('VB.WCF.LikePayment');
}
if (typeof(www.w3.org._2001.XMLSchema.long) === 'undefined') {
www.w3.org._2001.XMLSchema.long=gtc("long:http://www.w3.org/2001/XMLSchema");
www.w3.org._2001.XMLSchema.long.registerClass('www.w3.org._2001.XMLSchema.long');
}
if (typeof(VB.WCF.AutofollowPayment) === 'undefined') {
VB.WCF.AutofollowPayment=gtc("AutofollowPayment:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.AutofollowPayment.registerClass('VB.WCF.AutofollowPayment');
}
if (typeof(VB.WCF.UserInfoBeforeSharing) === 'undefined') {
VB.WCF.UserInfoBeforeSharing=gtc("UserInfoBeforeSharing:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.UserInfoBeforeSharing.registerClass('VB.WCF.UserInfoBeforeSharing');
}
if (typeof(VB.WCF.FbSharePassInfo) === 'undefined') {
VB.WCF.FbSharePassInfo=gtc("FbSharePassInfo:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.FbSharePassInfo.registerClass('VB.WCF.FbSharePassInfo');
}
if (typeof(VB.WCF.TrackMediaConsumeData) === 'undefined') {
VB.WCF.TrackMediaConsumeData=gtc("TrackMediaConsumeData:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.TrackMediaConsumeData.registerClass('VB.WCF.TrackMediaConsumeData');
}
if (typeof(VB.WCF.Service.PurchaseProductResult) === 'undefined') {
VB.WCF.Service.PurchaseProductResult=gtc("Service.PurchaseProductResult:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.PurchaseProductResult.registerClass('VB.WCF.Service.PurchaseProductResult');
}
if (typeof(www.w3.org._2001.XMLSchema.short) === 'undefined') {
www.w3.org._2001.XMLSchema.short=gtc("short:http://www.w3.org/2001/XMLSchema");
www.w3.org._2001.XMLSchema.short.registerClass('www.w3.org._2001.XMLSchema.short');
}
if (typeof(www.w3.org._2001.XMLSchema.unsignedByte) === 'undefined') {
www.w3.org._2001.XMLSchema.unsignedByte=gtc("unsignedByte:http://www.w3.org/2001/XMLSchema");
www.w3.org._2001.XMLSchema.unsignedByte.registerClass('www.w3.org._2001.XMLSchema.unsignedByte');
}
if (typeof(VB.WCF.Service.UserShippingDetails) === 'undefined') {
VB.WCF.Service.UserShippingDetails=gtc("Service.UserShippingDetails:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.UserShippingDetails.registerClass('VB.WCF.Service.UserShippingDetails');
}
if (typeof(VB.WCF.Service.CheckShippingDetailsResult) === 'undefined') {
VB.WCF.Service.CheckShippingDetailsResult=gtc("Service.CheckShippingDetailsResult:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.CheckShippingDetailsResult.registerClass('VB.WCF.Service.CheckShippingDetailsResult');
}
if (typeof(VB.WCF.Service.UpdatePurchaseData) === 'undefined') {
VB.WCF.Service.UpdatePurchaseData=gtc("Service.UpdatePurchaseData:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.UpdatePurchaseData.registerClass('VB.WCF.Service.UpdatePurchaseData');
}
if (typeof(VB.WCF.SharePayment) === 'undefined') {
VB.WCF.SharePayment=gtc("SharePayment:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.SharePayment.registerClass('VB.WCF.SharePayment');
}
if (typeof(VB.WCF.ContentStats) === 'undefined') {
VB.WCF.ContentStats=gtc("ContentStats:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.ContentStats.registerClass('VB.WCF.ContentStats');
}
if (typeof(VB.WCF.RenderData) === 'undefined') {
VB.WCF.RenderData=gtc("RenderData:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.RenderData.registerClass('VB.WCF.RenderData');
}
if (typeof(VB.WCF.PropertyItem) === 'undefined') {
VB.WCF.PropertyItem=gtc("PropertyItem:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.PropertyItem.registerClass('VB.WCF.PropertyItem');
}
if (typeof(VB.WCF.RenderResult) === 'undefined') {
VB.WCF.RenderResult=gtc("RenderResult:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.RenderResult.registerClass('VB.WCF.RenderResult');
}
if (typeof(VB.WCF.DialogButton) === 'undefined') {
VB.WCF.DialogButton=gtc("DialogButton:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.DialogButton.registerClass('VB.WCF.DialogButton');
}
if (typeof(VB.WCF.Service.UserData) === 'undefined') {
VB.WCF.Service.UserData=gtc("Service.UserData:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.UserData.registerClass('VB.WCF.Service.UserData');
}
if (typeof(VB.WCF.Service.FacebookUserLocationSchema) === 'undefined') {
VB.WCF.Service.FacebookUserLocationSchema=gtc("Service.FacebookUserLocationSchema:http://schemas.datacontract.org/2004/07/VB.WCF");
VB.WCF.Service.FacebookUserLocationSchema.registerClass('VB.WCF.Service.FacebookUserLocationSchema');
}
Type.registerNamespace('VB.Core');
if (typeof(VB.Core.VideoPlayerEvent) === 'undefined') {
VB.Core.VideoPlayerEvent = function() { throw Error.invalidOperation(); }
VB.Core.VideoPlayerEvent.prototype = {Start: 0,Played: 1}
VB.Core.VideoPlayerEvent.registerEnum('VB.Core.VideoPlayerEvent', true);
}
Type.registerNamespace('VB.Core.Enums');
if (typeof(VB.Core.Enums.PurchaseResult) === 'undefined') {
VB.Core.Enums.PurchaseResult = function() { throw Error.invalidOperation(); }
VB.Core.Enums.PurchaseResult.prototype = {SucessPurchased: 0,SucessUnlocked: 1,EnoughCoins: 2,AlreadyPurchased: 3,AlreadyUnlocked: 4,Error: 5,NoLongerAvailable: 6,ShareContentRequired: 7,NotInInfluenceRange: 8,RequiredPassNotEarned: 9,ValidToPurchase: 10,ValidToUnlock: 11,LimitedByContent: 12,NoUniqueDiscount: 13,ThresholdIsNotReached: 14}
VB.Core.Enums.PurchaseResult.registerEnum('VB.Core.Enums.PurchaseResult', true);
}
if (typeof(VB.WCF.DialogButtonType) === 'undefined') {
VB.WCF.DialogButtonType = function() { throw Error.invalidOperation(); }
VB.WCF.DialogButtonType.prototype = {OK: 0,Close: 1}
VB.WCF.DialogButtonType.registerEnum('VB.WCF.DialogButtonType', true);
}
if (typeof(VB.Core.Enums.FacebookActionScope) === 'undefined') {
VB.Core.Enums.FacebookActionScope = function() { throw Error.invalidOperation(); }
VB.Core.Enums.FacebookActionScope.prototype = {MainSiteGlobal: 1,MainSiteShareToFb: 2,MainSiteShareToTw: 3,FbApp: 4,FbTab: 5}
VB.Core.Enums.FacebookActionScope.registerEnum('VB.Core.Enums.FacebookActionScope', true);
}

