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 _0xf699=['exports','STRING','name','sequelize'];(function(_0x14ec54,_0x2d5098){var _0x2f8c0e=function(_0x3e621e){while(--_0x3e621e){_0x14ec54['push'](_0x14ec54['shift']());}};_0x2f8c0e(++_0x2d5098);}(_0xf699,0xeb));var _0x9f69=function(_0x278ad4,_0x5b6450){_0x278ad4=_0x278ad4-0x0;var _0x494c6c=_0xf699[_0x278ad4];return _0x494c6c;};'use strict';var Sequelize=require(_0x9f69('0x0'));module[_0x9f69('0x1')]={'name':{'type':Sequelize[_0x9f69('0x2')],'unique':_0x9f69('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x9f69('0x2')]},'companyId':{'type':Sequelize[_0x9f69('0x2')]},'website':{'type':Sequelize[_0x9f69('0x2')]},'phone':{'type':Sequelize[_0x9f69('0x2')]},'fax':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x9f69('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0x9f69('0x2')]},'country':{'type':Sequelize[_0x9f69('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x9f69('0x2')]},'sStreet':{'type':Sequelize[_0x9f69('0x2')]},'sPostalCode':{'type':Sequelize[_0x9f69('0x2')]},'sCity':{'type':Sequelize[_0x9f69('0x2')]},'sCountry':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0x9f69('0x2')]}};