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 _0x5b4d=['./userVoiceQueue.attributes','exports','define','UserVoiceQueue','user_has_voice_queues','util','../../config/logger','moment','bluebird','rimraf'];(function(_0x1eda20,_0x1149f4){var _0x31b953=function(_0x25f0d8){while(--_0x25f0d8){_0x1eda20['push'](_0x1eda20['shift']());}};_0x31b953(++_0x1149f4);}(_0x5b4d,0xb9));var _0xd5b4=function(_0xa464c9,_0x7c86d8){_0xa464c9=_0xa464c9-0x0;var _0x3d73c4=_0x5b4d[_0xa464c9];return _0x3d73c4;};'use strict';var _=require('lodash');var util=require(_0xd5b4('0x0'));var logger=require(_0xd5b4('0x1'))('api');var moment=require(_0xd5b4('0x2'));var BPromise=require(_0xd5b4('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xd5b4('0x4'));var config=require('../../config/environment');var attributes=require(_0xd5b4('0x5'));module[_0xd5b4('0x6')]=function(_0x1c12ef,_0x1429ba){return _0x1c12ef[_0xd5b4('0x7')](_0xd5b4('0x8'),attributes,{'tableName':_0xd5b4('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};