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 _0xc7ac=['name','STRING','sequelize','exports'];(function(_0x52f975,_0x305404){var _0x1b15a3=function(_0x5e9a63){while(--_0x5e9a63){_0x52f975['push'](_0x52f975['shift']());}};_0x1b15a3(++_0x305404);}(_0xc7ac,0xc2));var _0xcc7a=function(_0x4b2546,_0x5a66d8){_0x4b2546=_0x4b2546-0x0;var _0x4e08d4=_0xc7ac[_0x4b2546];return _0x4e08d4;};'use strict';var Sequelize=require(_0xcc7a('0x0'));module[_0xcc7a('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0xcc7a('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xcc7a('0x3')]},'companyId':{'type':Sequelize['STRING']},'website':{'type':Sequelize[_0xcc7a('0x3')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0xcc7a('0x3')]},'type':{'type':Sequelize[_0xcc7a('0x3')]},'street':{'type':Sequelize[_0xcc7a('0x3')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xcc7a('0x3')]},'country':{'type':Sequelize[_0xcc7a('0x3')]},'email':{'type':Sequelize[_0xcc7a('0x3')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xcc7a('0x3')]},'sStreet':{'type':Sequelize[_0xcc7a('0x3')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0xcc7a('0x3')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}};