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 _0xe92e=['STRING','TEXT','INTEGER','UNSIGNED','DATE','NOW','lodash','sequelize'];(function(_0x589af4,_0x3fa85a){var _0x49f83f=function(_0x4a2e06){while(--_0x4a2e06){_0x589af4['push'](_0x589af4['shift']());}};_0x49f83f(++_0x3fa85a);}(_0xe92e,0x1b6));var _0xee92=function(_0x27d7e2,_0x2c83c8){_0x27d7e2=_0x27d7e2-0x0;var _0x94a9ad=_0xe92e[_0x27d7e2];return _0x94a9ad;};'use strict';var _=require(_0xee92('0x0'));var Sequelize=require(_0xee92('0x1'));module['exports']={'firstName':{'type':Sequelize[_0xee92('0x2')],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xee92('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xee92('0x2')]},'country':{'type':Sequelize['STRING']},'dateOfBirth':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xee92('0x3')]},'phone':{'type':Sequelize[_0xee92('0x2')]},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING']},'url':{'type':Sequelize[_0xee92('0x2')]},'facebook':{'type':Sequelize['STRING']},'fb_data':{'type':Sequelize[_0xee92('0x2')]},'twitter':{'type':Sequelize[_0xee92('0x2')]},'skype':{'type':Sequelize[_0xee92('0x2')]},'teams':{'type':Sequelize['STRING']},'viber':{'type':Sequelize[_0xee92('0x2')]},'line':{'type':Sequelize['STRING']},'wechat':{'type':Sequelize[_0xee92('0x2')]},'telegram':{'type':Sequelize[_0xee92('0x2')]},'UserId':{'type':Sequelize[_0xee92('0x4')]},'priority':{'type':Sequelize[_0xee92('0x4')](0x2)[_0xee92('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xee92('0x6')],'defaultValue':Sequelize[_0xee92('0x7')]}};