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 _0x0cfa=['bluebird','request-promise','path','rimraf','./chatQueue.attributes','exports','define','ChatQueue','lodash','util','api','moment'];(function(_0x226c2c,_0x48331f){var _0x483ffa=function(_0x18532a){while(--_0x18532a){_0x226c2c['push'](_0x226c2c['shift']());}};_0x483ffa(++_0x48331f);}(_0x0cfa,0x74));var _0xa0cf=function(_0x975dd0,_0x35e9b7){_0x975dd0=_0x975dd0-0x0;var _0x31ff1a=_0x0cfa[_0x975dd0];return _0x31ff1a;};'use strict';var _=require(_0xa0cf('0x0'));var util=require(_0xa0cf('0x1'));var logger=require('../../config/logger')(_0xa0cf('0x2'));var moment=require(_0xa0cf('0x3'));var BPromise=require(_0xa0cf('0x4'));var rp=require(_0xa0cf('0x5'));var fs=require('fs');var path=require(_0xa0cf('0x6'));var rimraf=require(_0xa0cf('0x7'));var config=require('../../config/environment');var attributes=require(_0xa0cf('0x8'));module[_0xa0cf('0x9')]=function(_0x2b0dab,_0x6f6ea7){return _0x2b0dab[_0xa0cf('0xa')](_0xa0cf('0xb'),attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};