1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x3a8a=['../../config/logger','moment','request-promise','./cmHopper.attributes','exports','define','CmHopper','scheduledat','phone','priority','lodash','util'];(function(_0x11839f,_0x4c4643){var _0x449944=function(_0x5a8bdc){while(--_0x5a8bdc){_0x11839f['push'](_0x11839f['shift']());}};_0x449944(++_0x4c4643);}(_0x3a8a,0x1c6));var _0xa3a8=function(_0x13d07a,_0x41efc3){_0x13d07a=_0x13d07a-0x0;var _0x5ee0ee=_0x3a8a[_0x13d07a];return _0x5ee0ee;};'use strict';var _=require(_0xa3a8('0x0'));var util=require(_0xa3a8('0x1'));var logger=require(_0xa3a8('0x2'))('api');var moment=require(_0xa3a8('0x3'));var BPromise=require('bluebird');var rp=require(_0xa3a8('0x4'));var attributes=require(_0xa3a8('0x5'));module[_0xa3a8('0x6')]=function(_0x223a54,_0x377b7a){return _0x223a54[_0xa3a8('0x7')](_0xa3a8('0x8'),attributes,{'tableName':'cm_hopper','paranoid':![],'indexes':[{'name':'scheduledat','fields':[_0xa3a8('0x9')]},{'name':_0xa3a8('0xa'),'fields':['phone']},{'name':_0xa3a8('0xb'),'fields':['priority']}],'timestamps':!![]});};