﻿// lbel
function RetailRegistrationData(email, password, name, street, town, zip, phone, ico, dic) {
    this.Email = email;
    this.Password = password;
    this.Name = name;
    this.Street = street;
    this.Town = town;
    this.Zip = zip;
    this.Phone = phone;
    this.ICO = ico;
    this.DIC = dic;
}

// vvaj
function RegistrationData(wasCustomer, storageName, isCompany, nameCompany, street, townNumber, townName, serviceStreet, serviceTownNumber, serviceTownName, correspondStreet, correspondTownNumber, correspondTownName, phone, mobil, fax, email, ico, dic, contactName, businessBranch, businessBranchOther, wantSalesman) {
    this.WasCustomer = wasCustomer;
    this.StorageName = storageName;
    this.IsCompany = isCompany;
    this.NameCompany = nameCompany;
    this.Street = street;
    this.TownNumber = townNumber;
    this.TownName = townName;
    this.ServiceStreet = serviceStreet;
    this.ServiceTownNumber = serviceTownNumber;
    this.ServiceTownName = serviceTownName;
    this.CorrespondStreet = correspondStreet;
    this.CorrespondTownNumber = correspondTownNumber;
    this.CorrespondTownName = correspondTownName;
    this.Phone = phone;
    this.Mobil = mobil;
    this.Fax = fax;
    this.Email = email;
    this.Ico = ico;
    this.Dic = dic;
    this.ContactName = contactName;
    this.BusinessBranch = businessBranch;
    this.BusinessBranchOther = businessBranchOther;
    this.WantSalesman = wantSalesman;
}

// vvaj
function DataGroupFields(fields) {
    this.Fields = fields;
}

// vvaj
function GroupPackData(id, data) {
    this.Id = id;
    this.Data = data;
}

// vvaj
function DailyDealData(type, term) {
    this.Type = type;
    this.Term = term;
}

// vvaj
function GuestUserInfo(name, email, phone, contentType) {
    this.Name = name;
    this.Email = email;
    this.Phone = phone;
    this.ContentType = contentType;
}

// vvaj
function TakingMethodData(isPersonalTaking, storageId, name, street, zip, town, contentType) {
    this.IsPersonalTaking = isPersonalTaking;
    this.StorageId = storageId;
    this.Name = name;
    this.Street = street;
    this.Zip = zip;
    this.Town = town;
    this.ContentType = contentType;
}

// vvaj
function BannerData(dataPackId, groupName) {
    this.DataPackId = dataPackId;
    this.GroupName = groupName;
}

// vvaj
function AKTIItemData(itemId, techInfoType) {
    this.ItemId = itemId;
    this.TechInfoType = techInfoType;
}

// vvaj
function AKTIPathData(path, open, techInfoType, upId) {
    this.Path = path;
    this.Open = open;
    this.TechInfoType = techInfoType;
    this.UPId = upId;
}

// vvaj
function AKTIMaitenanceData(itemPath, auxiliaryWorkIds, customer, phone, orderNumber, licencePlate, amountKm) {
    this.ItemPath = itemPath;
    this.AuxiliaryWorkIds = auxiliaryWorkIds;
    this.Customer = customer;
    this.Phone = phone;
    this.OrderNumber = orderNumber;
    this.LicencePlate = licencePlate;
    this.AmountKm = amountKm;
}

// vvaj
function AKTIUserData(id, ips, from, to) {
    this.Id = id;
    this.IPs = ips;
    this.From = from;
    this.To = to;
}

// vvaj
function CartAddData(productId, amount, catalogPath, stepAmount) {
    this.ProductId = productId;
    this.Amount = amount;
    this.CatalogPath = catalogPath;
    this.StepAmount = stepAmount;
}

// vvaj
function ForgetPasswordData(name, email) {
    this.Name = name;
    this.Email = email;
}

// vvaj
function CMSData(text, isRetailVisible, isProtected, title, description, folderId) {
    this.Text = text;
    this.IsRetailVisible = isRetailVisible;
    this.IsProtected = isProtected;
    this.Title = title;
    this.Description = description;
    this.FolderId = folderId;
}

// vvaj
function GarageItemData(id, catalogId, name, licencePlate, vin, adress, amountKm, lastService, notice) {
    this.Id = id;
    this.CatalogId = catalogId;
    this.Name = name;
    this.LicencePlate = licencePlate;
    this.VIN = vin;
    this.Adress = adress;
    this.AmountKm = amountKm;
    this.LastService = lastService;
    this.Notice = notice;
}

// vvaj
function QuestionFormData(data) {
    this.Data = data;
}

// vvaj
function KeyValuePair(key, value) {
    this.Key = key;
    this.Value = value;
}

// vvaj - 2011-10-11
function SystemMessageData(id, from, to, cmsPage, text, userList, isRetailVisible, repeat, type) {
    this.Id = id;
    this.From = from;
    this.To = to;
    this.CmsPage = cmsPage;
    this.Text = text;
    this.UserList = userList;
    this.IsRetailVisible = isRetailVisible;
    this.Repeat = repeat;
    this.Type = type;
}

// vvaj - 2011-12-05
function CatalogInteractiveViewClickData(path, interactiveViewEnabled) {
    this.Path = path;
    this.InteractiveViewEnabled = interactiveViewEnabled;
}

// vvaj - 2011-12-06
function InteractiveSchemaClick(type, data) {
    this.Type = type;
    this.Data = data;
}
