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 _0x61a2=['sequelize','exports','name','STRING'];(function(_0x54b01a,_0x4fab10){var _0x62e975=function(_0x4f9b1a){while(--_0x4f9b1a){_0x54b01a['push'](_0x54b01a['shift']());}};_0x62e975(++_0x4fab10);}(_0x61a2,0x184));var _0x261a=function(_0x432682,_0x253044){_0x432682=_0x432682-0x0;var _0x463d05=_0x61a2[_0x432682];return _0x463d05;};'use strict';var Sequelize=require(_0x261a('0x0'));module[_0x261a('0x1')]={'name':{'type':Sequelize['STRING'],'unique':_0x261a('0x2'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x261a('0x3')]},'companyId':{'type':Sequelize[_0x261a('0x3')]},'website':{'type':Sequelize[_0x261a('0x3')]},'phone':{'type':Sequelize[_0x261a('0x3')]},'fax':{'type':Sequelize[_0x261a('0x3')]},'type':{'type':Sequelize[_0x261a('0x3')]},'street':{'type':Sequelize[_0x261a('0x3')]},'postalCode':{'type':Sequelize[_0x261a('0x3')]},'city':{'type':Sequelize[_0x261a('0x3')]},'country':{'type':Sequelize[_0x261a('0x3')]},'email':{'type':Sequelize['STRING'],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x261a('0x3')]},'sStreet':{'type':Sequelize[_0x261a('0x3')]},'sPostalCode':{'type':Sequelize[_0x261a('0x3')]},'sCity':{'type':Sequelize[_0x261a('0x3')]},'sCountry':{'type':Sequelize[_0x261a('0x3')]},'description':{'type':Sequelize[_0x261a('0x3')]}};