Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / cmContact / cmContact.attributes.js
index 5777c17..e2a4eef 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1599=['UNSIGNED','DATE','NOW','lodash','sequelize','exports','STRING','INTEGER'];(function(_0x14063f,_0x4d3f7b){var _0x24b031=function(_0x7060ff){while(--_0x7060ff){_0x14063f['push'](_0x14063f['shift']());}};_0x24b031(++_0x4d3f7b);}(_0x1599,0x193));var _0x9159=function(_0x57e17e,_0x3a9c10){_0x57e17e=_0x57e17e-0x0;var _0x186f64=_0x1599[_0x57e17e];return _0x186f64;};'use strict';var _=require(_0x9159('0x0'));var Sequelize=require(_0x9159('0x1'));module[_0x9159('0x2')]={'firstName':{'type':Sequelize['STRING'],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x9159('0x3')]},'postalCode':{'type':Sequelize[_0x9159('0x3')]},'city':{'type':Sequelize[_0x9159('0x3')]},'country':{'type':Sequelize[_0x9159('0x3')]},'dateOfBirth':{'type':Sequelize[_0x9159('0x3')]},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize[_0x9159('0x3')]},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize['STRING']},'url':{'type':Sequelize[_0x9159('0x3')]},'facebook':{'type':Sequelize[_0x9159('0x3')]},'fb_data':{'type':Sequelize[_0x9159('0x3')]},'twitter':{'type':Sequelize['STRING']},'skype':{'type':Sequelize[_0x9159('0x3')]},'teams':{'type':Sequelize[_0x9159('0x3')]},'viber':{'type':Sequelize[_0x9159('0x3')]},'line':{'type':Sequelize[_0x9159('0x3')]},'wechat':{'type':Sequelize[_0x9159('0x3')]},'telegram':{'type':Sequelize[_0x9159('0x3')]},'UserId':{'type':Sequelize[_0x9159('0x4')]},'AdditionalPhones':{'type':Sequelize[_0x9159('0x3')]},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x9159('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x9159('0x6')],'defaultValue':Sequelize[_0x9159('0x7')]}};
\ No newline at end of file
+var _0x6ae0=['INTEGER','UNSIGNED','DATE','lodash','STRING','TEXT'];(function(_0x50cd9d,_0xa509cc){var _0x33b72c=function(_0x175f0c){while(--_0x175f0c){_0x50cd9d['push'](_0x50cd9d['shift']());}};_0x33b72c(++_0xa509cc);}(_0x6ae0,0x1ad));var _0x06ae=function(_0x4ce6b1,_0x312769){_0x4ce6b1=_0x4ce6b1-0x0;var _0x42c356=_0x6ae0[_0x4ce6b1];return _0x42c356;};'use strict';var _=require(_0x06ae('0x0'));var Sequelize=require('sequelize');module['exports']={'firstName':{'type':Sequelize[_0x06ae('0x1')],'allowNull':![]},'lastName':{'type':Sequelize[_0x06ae('0x1')]},'street':{'type':Sequelize[_0x06ae('0x1')]},'postalCode':{'type':Sequelize[_0x06ae('0x1')]},'city':{'type':Sequelize[_0x06ae('0x1')]},'country':{'type':Sequelize[_0x06ae('0x1')]},'dateOfBirth':{'type':Sequelize[_0x06ae('0x1')]},'description':{'type':Sequelize[_0x06ae('0x2')]},'phone':{'type':Sequelize[_0x06ae('0x1')]},'mobile':{'type':Sequelize[_0x06ae('0x1')]},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x06ae('0x1')]},'url':{'type':Sequelize[_0x06ae('0x1')]},'facebook':{'type':Sequelize[_0x06ae('0x1')]},'fb_data':{'type':Sequelize[_0x06ae('0x1')]},'twitter':{'type':Sequelize[_0x06ae('0x1')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0x06ae('0x1')]},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize[_0x06ae('0x1')]},'wechat':{'type':Sequelize[_0x06ae('0x1')]},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize[_0x06ae('0x3')]},'AdditionalPhones':{'type':Sequelize[_0x06ae('0x1')]},'priority':{'type':Sequelize['INTEGER'](0x2)[_0x06ae('0x4')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x06ae('0x5')],'defaultValue':Sequelize['NOW']}};
\ No newline at end of file