Built motion from commit (unavailable).|2.4.5
[motion2.git] / server / api / cmContact / cmContact.attributes.js
index 702d08b..ce393f9 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbc95=['DATE','NOW','lodash','exports','STRING','TEXT','INTEGER','UNSIGNED'];(function(_0x138adb,_0x193fee){var _0x1b27f2=function(_0x5e97a2){while(--_0x5e97a2){_0x138adb['push'](_0x138adb['shift']());}};_0x1b27f2(++_0x193fee);}(_0xbc95,0x142));var _0x5bc9=function(_0x187ee1,_0x486fdd){_0x187ee1=_0x187ee1-0x0;var _0x174752=_0xbc95[_0x187ee1];return _0x174752;};'use strict';var _=require(_0x5bc9('0x0'));var Sequelize=require('sequelize');module[_0x5bc9('0x1')]={'firstName':{'type':Sequelize[_0x5bc9('0x2')],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0x5bc9('0x2')]},'postalCode':{'type':Sequelize[_0x5bc9('0x2')]},'city':{'type':Sequelize[_0x5bc9('0x2')]},'country':{'type':Sequelize[_0x5bc9('0x2')]},'dateOfBirth':{'type':Sequelize[_0x5bc9('0x2')]},'description':{'type':Sequelize[_0x5bc9('0x3')]},'phone':{'type':Sequelize[_0x5bc9('0x2')]},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x5bc9('0x2')]},'url':{'type':Sequelize[_0x5bc9('0x2')]},'facebook':{'type':Sequelize[_0x5bc9('0x2')]},'fb_data':{'type':Sequelize[_0x5bc9('0x2')]},'twitter':{'type':Sequelize[_0x5bc9('0x2')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize['STRING']},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize[_0x5bc9('0x2')]},'wechat':{'type':Sequelize['STRING']},'telegram':{'type':Sequelize[_0x5bc9('0x2')]},'UserId':{'type':Sequelize[_0x5bc9('0x4')]},'priority':{'type':Sequelize[_0x5bc9('0x4')](0x2)[_0x5bc9('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0x5bc9('0x6')],'defaultValue':Sequelize[_0x5bc9('0x7')]}};
\ No newline at end of file
+var _0x338a=['INTEGER','UNSIGNED','DATE','sequelize','exports','STRING','TEXT'];(function(_0x245a18,_0x168b4e){var _0x587cb0=function(_0x1faf7d){while(--_0x1faf7d){_0x245a18['push'](_0x245a18['shift']());}};_0x587cb0(++_0x168b4e);}(_0x338a,0x7a));var _0xa338=function(_0x5a488f,_0x2e57be){_0x5a488f=_0x5a488f-0x0;var _0x5e85cf=_0x338a[_0x5a488f];return _0x5e85cf;};'use strict';var _=require('lodash');var Sequelize=require(_0xa338('0x0'));module[_0xa338('0x1')]={'firstName':{'type':Sequelize['STRING'],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xa338('0x2')]},'postalCode':{'type':Sequelize[_0xa338('0x2')]},'city':{'type':Sequelize[_0xa338('0x2')]},'country':{'type':Sequelize['STRING']},'dateOfBirth':{'type':Sequelize[_0xa338('0x2')]},'description':{'type':Sequelize[_0xa338('0x3')]},'phone':{'type':Sequelize[_0xa338('0x2')]},'mobile':{'type':Sequelize[_0xa338('0x2')]},'fax':{'type':Sequelize[_0xa338('0x2')]},'email':{'type':Sequelize[_0xa338('0x2')]},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0xa338('0x2')]},'fb_data':{'type':Sequelize['STRING']},'twitter':{'type':Sequelize[_0xa338('0x2')]},'skype':{'type':Sequelize[_0xa338('0x2')]},'teams':{'type':Sequelize[_0xa338('0x2')]},'viber':{'type':Sequelize[_0xa338('0x2')]},'line':{'type':Sequelize[_0xa338('0x2')]},'wechat':{'type':Sequelize[_0xa338('0x2')]},'telegram':{'type':Sequelize[_0xa338('0x2')]},'UserId':{'type':Sequelize[_0xa338('0x4')]},'priority':{'type':Sequelize[_0xa338('0x4')](0x2)[_0xa338('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xa338('0x6')],'defaultValue':Sequelize['NOW']}};
\ No newline at end of file