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 _0xedad=['INTEGER','NOW','sequelize','exports','STRING','TEXT'];(function(_0x11ce46,_0x177a85){var _0x368a1e=function(_0x425454){while(--_0x425454){_0x11ce46['push'](_0x11ce46['shift']());}};_0x368a1e(++_0x177a85);}(_0xedad,0xb6));var _0xdeda=function(_0x18c4a8,_0x96c52e){_0x18c4a8=_0x18c4a8-0x0;var _0x189ff1=_0xedad[_0x18c4a8];return _0x189ff1;};'use strict';var _=require('lodash');var Sequelize=require(_0xdeda('0x0'));module[_0xdeda('0x1')]={'firstName':{'type':Sequelize[_0xdeda('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0xdeda('0x2')]},'street':{'type':Sequelize[_0xdeda('0x2')]},'postalCode':{'type':Sequelize[_0xdeda('0x2')]},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0xdeda('0x2')]},'dateOfBirth':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xdeda('0x3')]},'phone':{'type':Sequelize[_0xdeda('0x2')]},'mobile':{'type':Sequelize[_0xdeda('0x2')]},'fax':{'type':Sequelize[_0xdeda('0x2')]},'email':{'type':Sequelize[_0xdeda('0x2')]},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0xdeda('0x2')]},'fb_data':{'type':Sequelize[_0xdeda('0x2')]},'twitter':{'type':Sequelize[_0xdeda('0x2')]},'skype':{'type':Sequelize[_0xdeda('0x2')]},'teams':{'type':Sequelize[_0xdeda('0x2')]},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize[_0xdeda('0x2')]},'wechat':{'type':Sequelize[_0xdeda('0x2')]},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize[_0xdeda('0x4')]},'AdditionalPhones':{'type':Sequelize[_0xdeda('0x2')]},'priority':{'type':Sequelize[_0xdeda('0x4')](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':Sequelize[_0xdeda('0x5')]},'dialTimezone':{'type':Sequelize['STRING']},'utcOffset':{'type':Sequelize[_0xdeda('0x4')]}};