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 _0x548b=['bluebird','./chatQueue.attributes','exports','define','ChatQueue','chat_queues','lodash','util','moment'];(function(_0x22c50e,_0x4ea131){var _0x500f85=function(_0x412f7b){while(--_0x412f7b){_0x22c50e['push'](_0x22c50e['shift']());}};_0x500f85(++_0x4ea131);}(_0x548b,0x8d));var _0xb548=function(_0xd38c20,_0x307146){_0xd38c20=_0xd38c20-0x0;var _0x160ec7=_0x548b[_0xd38c20];return _0x160ec7;};'use strict';var _=require(_0xb548('0x0'));var util=require(_0xb548('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xb548('0x2'));var BPromise=require(_0xb548('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xb548('0x4'));module[_0xb548('0x5')]=function(_0x46f2d4,_0x5044d8){return _0x46f2d4[_0xb548('0x6')](_0xb548('0x7'),attributes,{'tableName':_0xb548('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};