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 _0x770f=['exports','OpenchannelQueue','openchannel_queues','util','../../config/logger','api','bluebird','request-promise','path','../../config/environment','./openchannelQueue.attributes'];(function(_0x4143b0,_0x105d39){var _0x5b6147=function(_0xb16a4a){while(--_0xb16a4a){_0x4143b0['push'](_0x4143b0['shift']());}};_0x5b6147(++_0x105d39);}(_0x770f,0x1e7));var _0xf770=function(_0xf20b6,_0x49ddbb){_0xf20b6=_0xf20b6-0x0;var _0x4ff567=_0x770f[_0xf20b6];return _0x4ff567;};'use strict';var _=require('lodash');var util=require(_0xf770('0x0'));var logger=require(_0xf770('0x1'))(_0xf770('0x2'));var moment=require('moment');var BPromise=require(_0xf770('0x3'));var rp=require(_0xf770('0x4'));var fs=require('fs');var path=require(_0xf770('0x5'));var rimraf=require('rimraf');var config=require(_0xf770('0x6'));var attributes=require(_0xf770('0x7'));module[_0xf770('0x8')]=function(_0x37176a,_0x40027f){return _0x37176a['define'](_0xf770('0x9'),attributes,{'tableName':_0xf770('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};