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 _0x765f=['exports','define','OpenchannelQueue','openchannel_queues','util','../../config/logger','moment','bluebird','path','rimraf','./openchannelQueue.attributes'];(function(_0x47883d,_0x429f0d){var _0x5b1e92=function(_0x1e8d0d){while(--_0x1e8d0d){_0x47883d['push'](_0x47883d['shift']());}};_0x5b1e92(++_0x429f0d);}(_0x765f,0x1b1));var _0xf765=function(_0x986a6a,_0xb80bd5){_0x986a6a=_0x986a6a-0x0;var _0x38531b=_0x765f[_0x986a6a];return _0x38531b;};'use strict';var _=require('lodash');var util=require(_0xf765('0x0'));var logger=require(_0xf765('0x1'))('api');var moment=require(_0xf765('0x2'));var BPromise=require(_0xf765('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf765('0x4'));var rimraf=require(_0xf765('0x5'));var config=require('../../config/environment');var attributes=require(_0xf765('0x6'));module[_0xf765('0x7')]=function(_0x3ee82f,_0x5dc3dc){return _0x3ee82f[_0xf765('0x8')](_0xf765('0x9'),attributes,{'tableName':_0xf765('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};