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 _0x556a=['request-promise','path','rimraf','../../config/environment','exports','define','chat_queues','util','../../config/logger','moment','bluebird'];(function(_0x566dd5,_0x491250){var _0x184612=function(_0xe8a501){while(--_0xe8a501){_0x566dd5['push'](_0x566dd5['shift']());}};_0x184612(++_0x491250);}(_0x556a,0x104));var _0xa556=function(_0x4a3833,_0x13ccd7){_0x4a3833=_0x4a3833-0x0;var _0x9d5ff=_0x556a[_0x4a3833];return _0x9d5ff;};'use strict';var _=require('lodash');var util=require(_0xa556('0x0'));var logger=require(_0xa556('0x1'))('api');var moment=require(_0xa556('0x2'));var BPromise=require(_0xa556('0x3'));var rp=require(_0xa556('0x4'));var fs=require('fs');var path=require(_0xa556('0x5'));var rimraf=require(_0xa556('0x6'));var config=require(_0xa556('0x7'));var attributes=require('./chatQueue.attributes');module[_0xa556('0x8')]=function(_0x2107e0,_0x4a3cb9){return _0x2107e0[_0xa556('0x9')]('ChatQueue',attributes,{'tableName':_0xa556('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};