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 _0x586a=['TEXT','INTEGER','UNSIGNED','DATE','sequelize','exports','STRING'];(function(_0x5f309e,_0x66e31){var _0x487b5e=function(_0x44f203){while(--_0x44f203){_0x5f309e['push'](_0x5f309e['shift']());}};_0x487b5e(++_0x66e31);}(_0x586a,0x138));var _0xa586=function(_0x2c1718,_0x3c5e96){_0x2c1718=_0x2c1718-0x0;var _0x574b1e=_0x586a[_0x2c1718];return _0x574b1e;};'use strict';var _=require('lodash');var Sequelize=require(_0xa586('0x0'));module[_0xa586('0x1')]={'firstName':{'type':Sequelize['STRING'],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xa586('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xa586('0x2')]},'country':{'type':Sequelize[_0xa586('0x2')]},'dateOfBirth':{'type':Sequelize[_0xa586('0x2')]},'description':{'type':Sequelize[_0xa586('0x3')]},'phone':{'type':Sequelize[_0xa586('0x2')]},'mobile':{'type':Sequelize[_0xa586('0x2')]},'fax':{'type':Sequelize[_0xa586('0x2')]},'email':{'type':Sequelize['STRING']},'url':{'type':Sequelize[_0xa586('0x2')]},'facebook':{'type':Sequelize[_0xa586('0x2')]},'fb_data':{'type':Sequelize[_0xa586('0x2')]},'twitter':{'type':Sequelize[_0xa586('0x2')]},'skype':{'type':Sequelize[_0xa586('0x2')]},'teams':{'type':Sequelize[_0xa586('0x2')]},'viber':{'type':Sequelize[_0xa586('0x2')]},'line':{'type':Sequelize[_0xa586('0x2')]},'wechat':{'type':Sequelize[_0xa586('0x2')]},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize[_0xa586('0x4')]},'AdditionalPhones':{'type':Sequelize[_0xa586('0x2')]},'priority':{'type':Sequelize[_0xa586('0x4')](0x2)[_0xa586('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xa586('0x6')],'defaultValue':Sequelize['NOW']}};