Built motion from commit d6d69adf.|2.6.33
[motion2.git] / server / api / cmContact / cmContact.attributes.js
index 2ad30a7..aed5633 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xcb81=['UNSIGNED','NOW','lodash','STRING','INTEGER'];(function(_0x46bc6e,_0x1b2c3b){var _0xef4298=function(_0x4526bb){while(--_0x4526bb){_0x46bc6e['push'](_0x46bc6e['shift']());}};_0xef4298(++_0x1b2c3b);}(_0xcb81,0xfc));var _0x1cb8=function(_0x1e03a6,_0xf0349){_0x1e03a6=_0x1e03a6-0x0;var _0x295b64=_0xcb81[_0x1e03a6];return _0x295b64;};'use strict';var _=require(_0x1cb8('0x0'));var Sequelize=require('sequelize');module['exports']={'firstName':{'type':Sequelize['STRING'],'allowNull':![]},'lastName':{'type':Sequelize['STRING']},'street':{'type':Sequelize['STRING']},'postalCode':{'type':Sequelize['STRING']},'city':{'type':Sequelize['STRING']},'country':{'type':Sequelize[_0x1cb8('0x1')]},'dateOfBirth':{'type':Sequelize[_0x1cb8('0x1')]},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize['STRING']},'mobile':{'type':Sequelize[_0x1cb8('0x1')]},'fax':{'type':Sequelize[_0x1cb8('0x1')]},'email':{'type':Sequelize[_0x1cb8('0x1')]},'url':{'type':Sequelize[_0x1cb8('0x1')]},'facebook':{'type':Sequelize[_0x1cb8('0x1')]},'fb_data':{'type':Sequelize[_0x1cb8('0x1')]},'twitter':{'type':Sequelize[_0x1cb8('0x1')]},'skype':{'type':Sequelize['STRING']},'teams':{'type':Sequelize[_0x1cb8('0x1')]},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize[_0x1cb8('0x1')]},'wechat':{'type':Sequelize[_0x1cb8('0x1')]},'telegram':{'type':Sequelize[_0x1cb8('0x1')]},'UserId':{'type':Sequelize[_0x1cb8('0x2')]},'AdditionalPhones':{'type':Sequelize[_0x1cb8('0x1')]},'priority':{'type':Sequelize[_0x1cb8('0x2')](0x2)[_0x1cb8('0x3')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':Sequelize[_0x1cb8('0x4')]},'dialTimezone':{'type':Sequelize[_0x1cb8('0x1')]},'utcOffset':{'type':Sequelize['INTEGER']}};
\ No newline at end of file
+var _0xba1e=['lodash','sequelize','exports','STRING','INTEGER','UNSIGNED','DATE'];(function(_0x5d07e1,_0x418799){var _0x21617f=function(_0x3e8068){while(--_0x3e8068){_0x5d07e1['push'](_0x5d07e1['shift']());}};_0x21617f(++_0x418799);}(_0xba1e,0x12d));var _0xeba1=function(_0x5d1b11,_0x48c8c6){_0x5d1b11=_0x5d1b11-0x0;var _0x1ad2b5=_0xba1e[_0x5d1b11];return _0x1ad2b5;};'use strict';var _=require(_0xeba1('0x0'));var Sequelize=require(_0xeba1('0x1'));module[_0xeba1('0x2')]={'firstName':{'type':Sequelize[_0xeba1('0x3')],'allowNull':![]},'lastName':{'type':Sequelize[_0xeba1('0x3')]},'street':{'type':Sequelize[_0xeba1('0x3')]},'postalCode':{'type':Sequelize[_0xeba1('0x3')]},'city':{'type':Sequelize[_0xeba1('0x3')]},'country':{'type':Sequelize[_0xeba1('0x3')]},'dateOfBirth':{'type':Sequelize[_0xeba1('0x3')]},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize[_0xeba1('0x3')]},'mobile':{'type':Sequelize['STRING']},'fax':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0xeba1('0x3')]},'url':{'type':Sequelize['STRING']},'facebook':{'type':Sequelize[_0xeba1('0x3')]},'fb_data':{'type':Sequelize[_0xeba1('0x3')]},'twitter':{'type':Sequelize[_0xeba1('0x3')]},'skype':{'type':Sequelize[_0xeba1('0x3')]},'teams':{'type':Sequelize[_0xeba1('0x3')]},'viber':{'type':Sequelize['STRING']},'line':{'type':Sequelize[_0xeba1('0x3')]},'wechat':{'type':Sequelize['STRING']},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize['INTEGER']},'AdditionalPhones':{'type':Sequelize[_0xeba1('0x3')]},'priority':{'type':Sequelize[_0xeba1('0x4')](0x2)[_0xeba1('0x5')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize[_0xeba1('0x6')],'defaultValue':Sequelize['NOW']},'dialTimezone':{'type':Sequelize[_0xeba1('0x3')]},'utcOffset':{'type':Sequelize[_0xeba1('0x4')]}};
\ No newline at end of file