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 _0xa114=['ChatQueue','chat_queues','util','../../config/logger','moment','path','rimraf','../../config/environment','./chatQueue.attributes','exports','define'];(function(_0x4e76cd,_0x1d46e0){var _0x2606ee=function(_0x16a958){while(--_0x16a958){_0x4e76cd['push'](_0x4e76cd['shift']());}};_0x2606ee(++_0x1d46e0);}(_0xa114,0x115));var _0x4a11=function(_0x11005e,_0x20c3d2){_0x11005e=_0x11005e-0x0;var _0x29338f=_0xa114[_0x11005e];return _0x29338f;};'use strict';var _=require('lodash');var util=require(_0x4a11('0x0'));var logger=require(_0x4a11('0x1'))('api');var moment=require(_0x4a11('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x4a11('0x3'));var rimraf=require(_0x4a11('0x4'));var config=require(_0x4a11('0x5'));var attributes=require(_0x4a11('0x6'));module[_0x4a11('0x7')]=function(_0x266312,_0x101891){return _0x266312[_0x4a11('0x8')](_0x4a11('0x9'),attributes,{'tableName':_0x4a11('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};