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 _0x6ecc=['CmHopper','cm_hopper','scheduledat','phone','priority','lodash','util','../../config/logger','api','bluebird','path','rimraf','./cmHopper.attributes','exports','define'];(function(_0x17983c,_0x310ae0){var _0x2f5be1=function(_0x159302){while(--_0x159302){_0x17983c['push'](_0x17983c['shift']());}};_0x2f5be1(++_0x310ae0);}(_0x6ecc,0x19a));var _0xc6ec=function(_0xca0e55,_0x49be6b){_0xca0e55=_0xca0e55-0x0;var _0x6d7b2a=_0x6ecc[_0xca0e55];return _0x6d7b2a;};'use strict';var _=require(_0xc6ec('0x0'));var util=require(_0xc6ec('0x1'));var logger=require(_0xc6ec('0x2'))(_0xc6ec('0x3'));var moment=require('moment');var BPromise=require(_0xc6ec('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc6ec('0x5'));var rimraf=require(_0xc6ec('0x6'));var config=require('../../config/environment');var attributes=require(_0xc6ec('0x7'));module[_0xc6ec('0x8')]=function(_0x10f290,_0xd01584){return _0x10f290[_0xc6ec('0x9')](_0xc6ec('0xa'),attributes,{'tableName':_0xc6ec('0xb'),'paranoid':![],'indexes':[{'name':_0xc6ec('0xc'),'fields':[_0xc6ec('0xc')]},{'name':_0xc6ec('0xd'),'fields':[_0xc6ec('0xd')]},{'name':'priority','fields':[_0xc6ec('0xe')]}],'timestamps':!![]});};