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 _0x2652=['exports','name','STRING'];(function(_0x2834c7,_0xf21164){var _0x5538b1=function(_0x58b277){while(--_0x58b277){_0x2834c7['push'](_0x2834c7['shift']());}};_0x5538b1(++_0xf21164);}(_0x2652,0x87));var _0x2265=function(_0x4b8921,_0x16e1c7){_0x4b8921=_0x4b8921-0x0;var _0x6e01af=_0x2652[_0x4b8921];return _0x6e01af;};'use strict';var Sequelize=require('sequelize');module[_0x2265('0x0')]={'name':{'type':Sequelize['STRING'],'unique':_0x2265('0x1'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize['STRING']},'companyId':{'type':Sequelize[_0x2265('0x2')]},'website':{'type':Sequelize[_0x2265('0x2')]},'phone':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0x2265('0x2')]},'type':{'type':Sequelize[_0x2265('0x2')]},'street':{'type':Sequelize[_0x2265('0x2')]},'postalCode':{'type':Sequelize[_0x2265('0x2')]},'city':{'type':Sequelize[_0x2265('0x2')]},'country':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x2265('0x2')]},'sStreet':{'type':Sequelize[_0x2265('0x2')]},'sPostalCode':{'type':Sequelize['STRING']},'sCity':{'type':Sequelize['STRING']},'sCountry':{'type':Sequelize[_0x2265('0x2')]},'description':{'type':Sequelize[_0x2265('0x2')]}};