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 _0xe263=['rimraf','../../config/environment','./userVoiceQueue.attributes','exports','define','UserVoiceQueue','user_has_voice_queues','lodash','../../config/logger','moment','bluebird','path'];(function(_0x1c6049,_0x36445f){var _0x21dfd9=function(_0x2b984b){while(--_0x2b984b){_0x1c6049['push'](_0x1c6049['shift']());}};_0x21dfd9(++_0x36445f);}(_0xe263,0x7f));var _0x3e26=function(_0x35fde1,_0x303c6f){_0x35fde1=_0x35fde1-0x0;var _0x2cf66f=_0xe263[_0x35fde1];return _0x2cf66f;};'use strict';var _=require(_0x3e26('0x0'));var util=require('util');var logger=require(_0x3e26('0x1'))('api');var moment=require(_0x3e26('0x2'));var BPromise=require(_0x3e26('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x3e26('0x4'));var rimraf=require(_0x3e26('0x5'));var config=require(_0x3e26('0x6'));var attributes=require(_0x3e26('0x7'));module[_0x3e26('0x8')]=function(_0x246825,_0x771075){return _0x246825[_0x3e26('0x9')](_0x3e26('0xa'),attributes,{'tableName':_0x3e26('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};