1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold. *
17 // *************************************************************************
18 var _0x3fe3=['sequelize','exports','STRING'];(function(_0x3d42d8,_0x4cffaa){var _0x27fc41=function(_0x3a363b){while(--_0x3a363b){_0x3d42d8['push'](_0x3d42d8['shift']());}};_0x27fc41(++_0x4cffaa);}(_0x3fe3,0x1aa));var _0x33fe=function(_0x4e2070,_0x5b96b6){_0x4e2070=_0x4e2070-0x0;var _0x562301=_0x3fe3[_0x4e2070];return _0x562301;};'use strict';var Sequelize=require(_0x33fe('0x0'));module[_0x33fe('0x1')]={'name':{'type':Sequelize['STRING'],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x33fe('0x2')]},'companyId':{'type':Sequelize[_0x33fe('0x2')]},'website':{'type':Sequelize[_0x33fe('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x33fe('0x2')]},'type':{'type':Sequelize[_0x33fe('0x2')]},'street':{'type':Sequelize[_0x33fe('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x33fe('0x2')]},'country':{'type':Sequelize[_0x33fe('0x2')]},'email':{'type':Sequelize[_0x33fe('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x33fe('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}};