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 _0x98ed=['util','moment','rimraf','../../config/environment','./voiceQueue.attributes','exports','define','voice_queues'];(function(_0x2e4afb,_0x4a6054){var _0x168dab=function(_0x594bc7){while(--_0x594bc7){_0x2e4afb['push'](_0x2e4afb['shift']());}};_0x168dab(++_0x4a6054);}(_0x98ed,0x148));var _0xd98e=function(_0x529296,_0x1a6a23){_0x529296=_0x529296-0x0;var _0x1796bf=_0x98ed[_0x529296];return _0x1796bf;};'use strict';var _=require('lodash');var util=require(_0xd98e('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xd98e('0x1'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd98e('0x2'));var config=require(_0xd98e('0x3'));var attributes=require(_0xd98e('0x4'));module[_0xd98e('0x5')]=function(_0x5b0e3e,_0x916eeb){return _0x5b0e3e[_0xd98e('0x6')]('VoiceQueue',attributes,{'tableName':_0xd98e('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};