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 _0x022e=['sequelize','exports','STRING'];(function(_0x2aa0e7,_0x4e5145){var _0x1472c0=function(_0x4deaeb){while(--_0x4deaeb){_0x2aa0e7['push'](_0x2aa0e7['shift']());}};_0x1472c0(++_0x4e5145);}(_0x022e,0x17a));var _0xe022=function(_0x1f36bb,_0x8af718){_0x1f36bb=_0x1f36bb-0x0;var _0xaf97fa=_0x022e[_0x1f36bb];return _0xaf97fa;};'use strict';var Sequelize=require(_0xe022('0x0'));module[_0xe022('0x1')]={'name':{'type':Sequelize[_0xe022('0x2')],'unique':'name','allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0xe022('0x2')]},'companyId':{'type':Sequelize[_0xe022('0x2')]},'website':{'type':Sequelize['STRING']},'phone':{'type':Sequelize[_0xe022('0x2')]},'fax':{'type':Sequelize[_0xe022('0x2')]},'type':{'type':Sequelize[_0xe022('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0xe022('0x2')]},'city':{'type':Sequelize[_0xe022('0x2')]},'country':{'type':Sequelize[_0xe022('0x2')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0xe022('0x2')]},'sStreet':{'type':Sequelize[_0xe022('0x2')]},'sPostalCode':{'type':Sequelize[_0xe022('0x2')]},'sCity':{'type':Sequelize[_0xe022('0x2')]},'sCountry':{'type':Sequelize[_0xe022('0x2')]},'description':{'type':Sequelize[_0xe022('0x2')]}};