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 _0x7d6c=['STRING','name','sequelize'];(function(_0x59ca94,_0x22f2ab){var _0x663f19=function(_0x29f0fb){while(--_0x29f0fb){_0x59ca94['push'](_0x59ca94['shift']());}};_0x663f19(++_0x22f2ab);}(_0x7d6c,0xd1));var _0xc7d6=function(_0x1f8be7,_0x434d58){_0x1f8be7=_0x1f8be7-0x0;var _0x4f6182=_0x7d6c[_0x1f8be7];return _0x4f6182;};'use strict';var Sequelize=require(_0xc7d6('0x0'));module['exports']={'name':{'type':Sequelize[_0xc7d6('0x1')],'unique':_0xc7d6('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xc7d6('0x1')]},'companyId':{'type':Sequelize[_0xc7d6('0x1')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xc7d6('0x1')]},'fax':{'type':Sequelize[_0xc7d6('0x1')]},'type':{'type':Sequelize[_0xc7d6('0x1')]},'street':{'type':Sequelize[_0xc7d6('0x1')]},'postalCode':{'type':Sequelize[_0xc7d6('0x1')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0xc7d6('0x1')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xc7d6('0x1')]},'sStreet':{'type':Sequelize[_0xc7d6('0x1')]},'sPostalCode':{'type':Sequelize[_0xc7d6('0x1')]},'sCity':{'type':Sequelize[_0xc7d6('0x1')]},'sCountry':{'type':Sequelize[_0xc7d6('0x1')]},'description':{'type':Sequelize[_0xc7d6('0x1')]}};