Built motion from commit (unavailable).|2.3.3
[motion2.git] / server / api / cmContact / cmContact.attributes.js
index 1a11173..0f3d6e5 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xab8a=['DATE','NOW','lodash','exports','STRING','TEXT','INTEGER','UNSIGNED'];(function(_0x20f125,_0x2ef3fe){var _0x56ebf9=function(_0xd35e91){while(--_0xd35e91){_0x20f125['push'](_0x20f125['shift']());}};_0x56ebf9(++_0x2ef3fe);}(_0xab8a,0x172));var _0xaab8=function(_0x2c7618,_0x26be9c){_0x2c7618=_0x2c7618-0x0;var _0x5ce3f0=_0xab8a[_0x2c7618];return _0x5ce3f0;};'use strict';var _=require(_0xaab8('0x0'));var Sequelize=require('sequelize');module[_0xaab8('0x1')]={'firstName':{'type':Sequelize[_0xaab8('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0xaab8('0x2')]},'street':{'type':Sequelize[_0xaab8('0x2')]},'postalCode':{'type':Sequelize[_0xaab8('0x2')]},'city':{'type':Sequelize[_0xaab8('0x2')]},'country':{'type':Sequelize[_0xaab8('0x2')]},'dateOfBirth':{'type':Sequelize[_0xaab8('0x2')]},'description':{'type':Sequelize[_0xaab8('0x3')]},'phone':{'type':Sequelize[_0xaab8('0x2')]},'mobile':{'type':Sequelize[_0xaab8('0x2')]},'fax':{'type':Sequelize[_0xaab8('0x2')]},'email':{'type':Sequelize[_0xaab8('0x2')]},'url':{'type':Sequelize[_0xaab8('0x2')]},'facebook':{'type':Sequelize[_0xaab8('0x2')]},'fb_data':{'type':Sequelize[_0xaab8('0x2')]},'twitter':{'type':Sequelize[_0xaab8('0x2')]},'skype':{'type':Sequelize[_0xaab8('0x2')]},'teams':{'type':Sequelize[_0xaab8('0x2')]},'viber':{'type':Sequelize[_0xaab8('0x2')]},'line':{'type':Sequelize['STRING']},'wechat':{'type':Sequelize[_0xaab8('0x2')]},'telegram':{'type':Sequelize[_0xaab8('0x2')]},'UserId':{'type':Sequelize['INTEGER']},'priority':{'type':Sequelize[_0xaab8('0x4')](0x2)[_0xaab8('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xaab8('0x6')],'defaultValue':Sequelize[_0xaab8('0x7')]}};
\ No newline at end of file
+var _0x9a6f=['sequelize','exports','STRING','TEXT','INTEGER','UNSIGNED','NOW'];(function(_0x45e335,_0x1add07){var _0x31497d=function(_0x3578e9){while(--_0x3578e9){_0x45e335['push'](_0x45e335['shift']());}};_0x31497d(++_0x1add07);}(_0x9a6f,0x1dc));var _0xf9a6=function(_0x5d8631,_0x44944b){_0x5d8631=_0x5d8631-0x0;var _0x34c15e=_0x9a6f[_0x5d8631];return _0x34c15e;};'use strict';var _=require('lodash');var Sequelize=require(_0xf9a6('0x0'));module[_0xf9a6('0x1')]={'firstName':{'type':Sequelize[_0xf9a6('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0xf9a6('0x2')]},'street':{'type':Sequelize[_0xf9a6('0x2')]},'postalCode':{'type':Sequelize[_0xf9a6('0x2')]},'city':{'type':Sequelize[_0xf9a6('0x2')]},'country':{'type':Sequelize[_0xf9a6('0x2')]},'dateOfBirth':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xf9a6('0x3')]},'phone':{'type':Sequelize[_0xf9a6('0x2')]},'mobile':{'type':Sequelize[_0xf9a6('0x2')]},'fax':{'type':Sequelize[_0xf9a6('0x2')]},'email':{'type':Sequelize['STRING']},'url':{'type':Sequelize[_0xf9a6('0x2')]},'facebook':{'type':Sequelize[_0xf9a6('0x2')]},'fb_data':{'type':Sequelize['STRING']},'twitter':{'type':Sequelize[_0xf9a6('0x2')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0xf9a6('0x2')]},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize['STRING']},'wechat':{'type':Sequelize[_0xf9a6('0x2')]},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize['INTEGER']},'priority':{'type':Sequelize[_0xf9a6('0x4')](0x2)[_0xf9a6('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':Sequelize[_0xf9a6('0x6')]}};
\ No newline at end of file