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 _0xe288=['exports','STRING','sequelize'];(function(_0x1e2b86,_0x3bc8a5){var _0x531fb2=function(_0x1ccce7){while(--_0x1ccce7){_0x1e2b86['push'](_0x1e2b86['shift']());}};_0x531fb2(++_0x3bc8a5);}(_0xe288,0x1a0));var _0x8e28=function(_0x50d6c0,_0x281431){_0x50d6c0=_0x50d6c0-0x0;var _0x560861=_0xe288[_0x50d6c0];return _0x560861;};'use strict';var Sequelize=require(_0x8e28('0x0'));module[_0x8e28('0x1')]={'name':{'type':Sequelize[_0x8e28('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x8e28('0x2')]},'companyId':{'type':Sequelize[_0x8e28('0x2')]},'website':{'type':Sequelize[_0x8e28('0x2')]},'phone':{'type':Sequelize[_0x8e28('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x8e28('0x2')]},'city':{'type':Sequelize[_0x8e28('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x8e28('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize['STRING']},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x8e28('0x2')]},'sCity':{'type':Sequelize[_0x8e28('0x2')]},'sCountry':{'type':Sequelize[_0x8e28('0x2')]},'description':{'type':Sequelize[_0x8e28('0x2')]}};