Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / cmContact / cmContact.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xeaa9=['NOW','STRING','INTEGER','UNSIGNED'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xeaa9,0x141));var _0x9eaa=function(_0x2baa05,_0x459a73){_0x2baa05=_0x2baa05-0x0;var _0x235be8=_0xeaa9[_0x2baa05];return _0x235be8;};'use strict';var _=require('lodash');var Sequelize=require('sequelize');module['exports']={'firstName':{'type':Sequelize[_0x9eaa('0x0')],'allowNull':![]},'lastName':{'type':Sequelize[_0x9eaa('0x0')]},'street':{'type':Sequelize[_0x9eaa('0x0')]},'postalCode':{'type':Sequelize[_0x9eaa('0x0')]},'city':{'type':Sequelize[_0x9eaa('0x0')]},'country':{'type':Sequelize[_0x9eaa('0x0')]},'dateOfBirth':{'type':Sequelize['STRING']},'description':{'type':Sequelize['TEXT']},'phone':{'type':Sequelize[_0x9eaa('0x0')]},'mobile':{'type':Sequelize[_0x9eaa('0x0')]},'fax':{'type':Sequelize[_0x9eaa('0x0')]},'email':{'type':Sequelize[_0x9eaa('0x0')]},'url':{'type':Sequelize[_0x9eaa('0x0')]},'facebook':{'type':Sequelize[_0x9eaa('0x0')]},'fb_data':{'type':Sequelize['STRING']},'twitter':{'type':Sequelize[_0x9eaa('0x0')]},'skype':{'type':Sequelize[_0x9eaa('0x0')]},'teams':{'type':Sequelize[_0x9eaa('0x0')]},'viber':{'type':Sequelize[_0x9eaa('0x0')]},'line':{'type':Sequelize[_0x9eaa('0x0')]},'wechat':{'type':Sequelize['STRING']},'telegram':{'type':Sequelize['STRING']},'UserId':{'type':Sequelize['INTEGER']},'priority':{'type':Sequelize[_0x9eaa('0x1')](0x2)[_0x9eaa('0x2')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'scheduledat':{'type':Sequelize['DATE'],'defaultValue':Sequelize[_0x9eaa('0x3')]}};