Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / cmContact / cmContact.attributes.js
index 96aa574..8194f76 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcb0f=['INTEGER','UNSIGNED','DATE','NOW','sequelize','exports','STRING','TEXT'];(function(_0x4136ea,_0x2d93aa){var _0x281aab=function(_0xbc7772){while(--_0xbc7772){_0x4136ea['push'](_0x4136ea['shift']());}};_0x281aab(++_0x2d93aa);}(_0xcb0f,0x114));var _0xfcb0=function(_0x58fe47,_0x495c0d){_0x58fe47=_0x58fe47-0x0;var _0x3fa0fb=_0xcb0f[_0x58fe47];return _0x3fa0fb;};'use strict';var _=require('lodash');var Sequelize=require(_0xfcb0('0x0'));module[_0xfcb0('0x1')]={'firstName':{'type':Sequelize['STRING'],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize[_0xfcb0('0x2')]},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize[_0xfcb0('0x2')]},'country':{'type':Sequelize['STRING']},'dateOfBirth':{'type':Sequelize[_0xfcb0('0x2')]},'description':{'type':Sequelize[_0xfcb0('0x3')]},'phone':{'type':Sequelize[_0xfcb0('0x2')]},'mobile':{'type':Sequelize[_0xfcb0('0x2')]},'fax':{'type':Sequelize[_0xfcb0('0x2')]},'email':{'type':Sequelize[_0xfcb0('0x2')]},'url':{'type':Sequelize[_0xfcb0('0x2')]},'facebook':{'type':Sequelize[_0xfcb0('0x2')]},'fb_data':{'type':Sequelize[_0xfcb0('0x2')]},'twitter':{'type':Sequelize[_0xfcb0('0x2')]},'skype':{'type':Sequelize[_0xfcb0('0x2')]},'teams':{'type':Sequelize[_0xfcb0('0x2')]},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize[_0xfcb0('0x2')]},'wechat':{'type':Sequelize[_0xfcb0('0x2')]},'telegram':{'type':Sequelize[_0xfcb0('0x2')]},'UserId':{'type':Sequelize['INTEGER']},'AdditionalPhones':{'type':Sequelize[_0xfcb0('0x2')]},'priority':{'type':Sequelize[_0xfcb0('0x4')](0x2)[_0xfcb0('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xfcb0('0x6')],'defaultValue':Sequelize[_0xfcb0('0x7')]},'dialTimezone':{'type':Sequelize[_0xfcb0('0x2')]},'utcOffset':{'type':Sequelize[_0xfcb0('0x4')]}};
\ No newline at end of file
+var _0xcbdf=['exports','STRING','TEXT','INTEGER','DATE','NOW','sequelize'];(function(_0x11a55c,_0x4eced9){var _0x26c390=function(_0x5b0662){while(--_0x5b0662){_0x11a55c['push'](_0x11a55c['shift']());}};_0x26c390(++_0x4eced9);}(_0xcbdf,0x15d));var _0xfcbd=function(_0x22dc03,_0x36dda0){_0x22dc03=_0x22dc03-0x0;var _0x26c6fd=_0xcbdf[_0x22dc03];return _0x26c6fd;};'use strict';var _=require('lodash');var Sequelize=require(_0xfcbd('0x0'));module[_0xfcbd('0x1')]={'firstName':{'type':Sequelize[_0xfcbd('0x2')],'allowNull':![]},'lastName':{'type':Sequelize[_0xfcbd('0x2')]},'street':{'type':Sequelize[_0xfcbd('0x2')]},'postalCode':{'type':Sequelize[_0xfcbd('0x2')]},'city':{'type':Sequelize[_0xfcbd('0x2')]},'country':{'type':Sequelize[_0xfcbd('0x2')]},'dateOfBirth':{'type':Sequelize['STRING']},'description':{'type':Sequelize[_0xfcbd('0x3')]},'phone':{'type':Sequelize[_0xfcbd('0x2')]},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize[_0xfcbd('0x2')]},'email':{'type':Sequelize[_0xfcbd('0x2')]},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0xfcbd('0x2')]},'fb_data':{'type':Sequelize[_0xfcbd('0x2')]},'twitter':{'type':Sequelize[_0xfcbd('0x2')]},'skype':{'type':Sequelize[_0xfcbd('0x2')]},'teams':{'type':Sequelize['STRING']},'viber':{'type':Sequelize[_0xfcbd('0x2')]},'line':{'type':Sequelize[_0xfcbd('0x2')]},'wechat':{'type':Sequelize['STRING']},'telegram':{'type':Sequelize[_0xfcbd('0x2')]},'UserId':{'type':Sequelize[_0xfcbd('0x4')]},'AdditionalPhones':{'type':Sequelize[_0xfcbd('0x2')]},'priority':{'type':Sequelize['INTEGER'](0x2)['UNSIGNED'],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xfcbd('0x5')],'defaultValue':Sequelize[_0xfcbd('0x6')]},'dialTimezone':{'type':Sequelize[_0xfcbd('0x2')]},'utcOffset':{'type':Sequelize['INTEGER']}};
\ No newline at end of file