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 _0xf9f9=['STRING','name','sequelize'];(function(_0x8970dc,_0x6c0cb5){var _0x2ab2c7=function(_0x2db85a){while(--_0x2db85a){_0x8970dc['push'](_0x8970dc['shift']());}};_0x2ab2c7(++_0x6c0cb5);}(_0xf9f9,0x15b));var _0x9f9f=function(_0x33ce69,_0xe71dd3){_0x33ce69=_0x33ce69-0x0;var _0x5a4427=_0xf9f9[_0x33ce69];return _0x5a4427;};'use strict';var Sequelize=require(_0x9f9f('0x0'));module['exports']={'name':{'type':Sequelize[_0x9f9f('0x1')],'unique':_0x9f9f('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x9f9f('0x1')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0x9f9f('0x1')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x9f9f('0x1')]},'type':{'type':Sequelize[_0x9f9f('0x1')]},'street':{'type':Sequelize[_0x9f9f('0x1')]},'postalCode':{'type':Sequelize[_0x9f9f('0x1')]},'city':{'type':Sequelize[_0x9f9f('0x1')]},'country':{'type':Sequelize[_0x9f9f('0x1')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x9f9f('0x1')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x9f9f('0x1')]},'sCity':{'type':Sequelize[_0x9f9f('0x1')]},'sCountry':{'type':Sequelize[_0x9f9f('0x1')]},'description':{'type':Sequelize['STRING']}};