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 _0x69be=['bluebird','path','rimraf','./chatQueue.attributes','define','ChatQueue','../../config/logger','moment'];(function(_0x550142,_0x165110){var _0x4b022c=function(_0x9e5283){while(--_0x9e5283){_0x550142['push'](_0x550142['shift']());}};_0x4b022c(++_0x165110);}(_0x69be,0x8e));var _0xe69b=function(_0x2012cd,_0x8b80ca){_0x2012cd=_0x2012cd-0x0;var _0x16da6c=_0x69be[_0x2012cd];return _0x16da6c;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xe69b('0x0'))('api');var moment=require(_0xe69b('0x1'));var BPromise=require(_0xe69b('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe69b('0x3'));var rimraf=require(_0xe69b('0x4'));var config=require('../../config/environment');var attributes=require(_0xe69b('0x5'));module['exports']=function(_0x22718d,_0x364123){return _0x22718d[_0xe69b('0x6')](_0xe69b('0x7'),attributes,{'tableName':'chat_queues','paranoid':![],'indexes':[],'timestamps':!![]});};