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 _0xf832=['VoiceQueue','voice_queues','lodash','util','moment','bluebird','request-promise','path','rimraf','./voiceQueue.attributes','exports','define'];(function(_0x5e17c6,_0x186341){var _0x29d36b=function(_0x4d19c0){while(--_0x4d19c0){_0x5e17c6['push'](_0x5e17c6['shift']());}};_0x29d36b(++_0x186341);}(_0xf832,0x1b2));var _0x2f83=function(_0x10509d,_0xfbdfe0){_0x10509d=_0x10509d-0x0;var _0x486be6=_0xf832[_0x10509d];return _0x486be6;};'use strict';var _=require(_0x2f83('0x0'));var util=require(_0x2f83('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x2f83('0x2'));var BPromise=require(_0x2f83('0x3'));var rp=require(_0x2f83('0x4'));var fs=require('fs');var path=require(_0x2f83('0x5'));var rimraf=require(_0x2f83('0x6'));var config=require('../../config/environment');var attributes=require(_0x2f83('0x7'));module[_0x2f83('0x8')]=function(_0x32c0f0,_0x207a06){return _0x32c0f0[_0x2f83('0x9')](_0x2f83('0xa'),attributes,{'tableName':_0x2f83('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};