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 _0xa421=['sequelize','exports','STRING','name'];(function(_0x8f9cf,_0x404bfe){var _0x2817e3=function(_0x3c2cf9){while(--_0x3c2cf9){_0x8f9cf['push'](_0x8f9cf['shift']());}};_0x2817e3(++_0x404bfe);}(_0xa421,0x1b8));var _0x1a42=function(_0x4fc9e6,_0xc51915){_0x4fc9e6=_0x4fc9e6-0x0;var _0x551d28=_0xa421[_0x4fc9e6];return _0x551d28;};'use strict';var Sequelize=require(_0x1a42('0x0'));module[_0x1a42('0x1')]={'name':{'type':Sequelize[_0x1a42('0x2')],'unique':_0x1a42('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x1a42('0x2')]},'companyId':{'type':Sequelize[_0x1a42('0x2')]},'website':{'type':Sequelize[_0x1a42('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x1a42('0x2')]},'type':{'type':Sequelize[_0x1a42('0x2')]},'street':{'type':Sequelize[_0x1a42('0x2')]},'postalCode':{'type':Sequelize[_0x1a42('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x1a42('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize[_0x1a42('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize[_0x1a42('0x2')]},'sCountry':{'type':Sequelize[_0x1a42('0x2')]},'description':{'type':Sequelize[_0x1a42('0x2')]}};