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 _0x8d19=['name','STRING','sequelize','exports'];(function(_0x40bffc,_0x3a45d7){var _0x3007e9=function(_0x4c8fda){while(--_0x4c8fda){_0x40bffc['push'](_0x40bffc['shift']());}};_0x3007e9(++_0x3a45d7);}(_0x8d19,0x142));var _0x98d1=function(_0x4605dc,_0x3f7ae5){_0x4605dc=_0x4605dc-0x0;var _0x5d3e81=_0x8d19[_0x4605dc];return _0x5d3e81;};'use strict';var Sequelize=require(_0x98d1('0x0'));module[_0x98d1('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x98d1('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x98d1('0x3')]},'companyId':{'type':Sequelize[_0x98d1('0x3')]},'website':{'type':Sequelize[_0x98d1('0x3')]},'phone':{'type':Sequelize[_0x98d1('0x3')]},'fax':{'type':Sequelize[_0x98d1('0x3')]},'type':{'type':Sequelize[_0x98d1('0x3')]},'street':{'type':Sequelize[_0x98d1('0x3')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x98d1('0x3')]},'email':{'type':Sequelize[_0x98d1('0x3')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x98d1('0x3')]},'sStreet':{'type':Sequelize[_0x98d1('0x3')]},'sPostalCode':{'type':Sequelize[_0x98d1('0x3')]},'sCity':{'type':Sequelize[_0x98d1('0x3')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x98d1('0x3')]}};