Built motion from commit (unavailable).|2.0.72
[motion2.git] / server / api / cmHopper / cmHopper.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 _0x1247=['INTEGER','BOOLEAN','UNSIGNED','contactListQueue','moment','sequelize','STRING','DATE','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x3fa69a,_0xfc372b){var _0x457fea=function(_0x546c00){while(--_0x546c00){_0x3fa69a['push'](_0x3fa69a['shift']());}};_0x457fea(++_0xfc372b);}(_0x1247,0xe0));var _0x7124=function(_0x36436d,_0x20292c){_0x36436d=_0x36436d-0x0;var _0x34615d=_0x1247[_0x36436d];return _0x34615d;};'use strict';var moment=require(_0x7124('0x0'));var Sequelize=require(_0x7124('0x1'));module['exports']={'phone':{'type':Sequelize[_0x7124('0x2')],'allowNull':![]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x7124('0x3')],'defaultValue':moment()[_0x7124('0x4')](_0x7124('0x5'))},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x7124('0x6')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize[_0x7124('0x6')],'defaultValue':0x0},'callback':{'type':Sequelize[_0x7124('0x7')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize[_0x7124('0x2')],'defaultValue':null},'callbackat':{'type':Sequelize[_0x7124('0x3')]},'priority':{'type':Sequelize[_0x7124('0x6')](0x2)[_0x7124('0x8')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x7124('0x7')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x7124('0x6')],'unique':'contactListQueue'},'ListId':{'type':Sequelize['INTEGER'],'unique':'contactListQueue'},'UserId':{'type':Sequelize[_0x7124('0x6')]},'VoiceQueueId':{'type':Sequelize['INTEGER'],'unique':_0x7124('0x9')},'CampaignId':{'type':Sequelize['INTEGER']}};