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 _0x37e8=['exports','define','chat_queues','lodash','util','../../config/logger','moment','request-promise','path','../../config/environment'];(function(_0x16d10f,_0x2ba2d5){var _0x50c823=function(_0x44e43f){while(--_0x44e43f){_0x16d10f['push'](_0x16d10f['shift']());}};_0x50c823(++_0x2ba2d5);}(_0x37e8,0x111));var _0x837e=function(_0x3e9e2c,_0x3e2062){_0x3e9e2c=_0x3e9e2c-0x0;var _0x3af1a2=_0x37e8[_0x3e9e2c];return _0x3af1a2;};'use strict';var _=require(_0x837e('0x0'));var util=require(_0x837e('0x1'));var logger=require(_0x837e('0x2'))('api');var moment=require(_0x837e('0x3'));var BPromise=require('bluebird');var rp=require(_0x837e('0x4'));var fs=require('fs');var path=require(_0x837e('0x5'));var rimraf=require('rimraf');var config=require(_0x837e('0x6'));var attributes=require('./chatQueue.attributes');module[_0x837e('0x7')]=function(_0x56a186,_0x51d2d3){return _0x56a186[_0x837e('0x8')]('ChatQueue',attributes,{'tableName':_0x837e('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};