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 _0xcdab=['sequelize','exports','STRING','name'];(function(_0x29a23,_0x4f357d){var _0x2fb29f=function(_0x23c6f5){while(--_0x23c6f5){_0x29a23['push'](_0x29a23['shift']());}};_0x2fb29f(++_0x4f357d);}(_0xcdab,0x158));var _0xbcda=function(_0xf2267d,_0x10c87c){_0xf2267d=_0xf2267d-0x0;var _0x207e0d=_0xcdab[_0xf2267d];return _0x207e0d;};'use strict';var Sequelize=require(_0xbcda('0x0'));module[_0xbcda('0x1')]={'name':{'type':Sequelize[_0xbcda('0x2')],'unique':_0xbcda('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0xbcda('0x2')]},'website':{'type':Sequelize[_0xbcda('0x2')]},'phone':{'type':Sequelize[_0xbcda('0x2')]},'fax':{'type':Sequelize[_0xbcda('0x2')]},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xbcda('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0xbcda('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xbcda('0x2')]},'sStreet':{'type':Sequelize[_0xbcda('0x2')]},'sPostalCode':{'type':Sequelize[_0xbcda('0x2')]},'sCity':{'type':Sequelize[_0xbcda('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize['STRING']}};