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 _0x86d7=['exports','STRING','name','sequelize'];(function(_0x38fc43,_0x3f6da7){var _0x105d2b=function(_0xfdb936){while(--_0xfdb936){_0x38fc43['push'](_0x38fc43['shift']());}};_0x105d2b(++_0x3f6da7);}(_0x86d7,0x8b));var _0x786d=function(_0x220a5c,_0x28c337){_0x220a5c=_0x220a5c-0x0;var _0x17997e=_0x86d7[_0x220a5c];return _0x17997e;};'use strict';var Sequelize=require(_0x786d('0x0'));module[_0x786d('0x1')]={'name':{'type':Sequelize[_0x786d('0x2')],'unique':_0x786d('0x3'),'allowNull':![],'validate':{'notEmpty':!![]}},'vat':{'type':Sequelize[_0x786d('0x2')]},'companyId':{'type':Sequelize[_0x786d('0x2')]},'website':{'type':Sequelize[_0x786d('0x2')]},'phone':{'type':Sequelize[_0x786d('0x2')]},'fax':{'type':Sequelize[_0x786d('0x2')]},'type':{'type':Sequelize[_0x786d('0x2')]},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize[_0x786d('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x786d('0x2')]},'email':{'type':Sequelize[_0x786d('0x2')],'validate':{'isEmail':!![]}},'emailDomain':{'type':Sequelize[_0x786d('0x2')]},'sStreet':{'type':Sequelize['STRING']},'sPostalCode':{'type':Sequelize[_0x786d('0x2')]},'sCity':{'type':Sequelize[_0x786d('0x2')]},'sCountry':{'type':Sequelize[_0x786d('0x2')]},'description':{'type':Sequelize[_0x786d('0x2')]}};