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 _0x833c=['define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','path','rimraf','../../config/environment','./userVoiceQueueRt.attributes','exports'];(function(_0x618414,_0x1a7a60){var _0x21c19a=function(_0x507b17){while(--_0x507b17){_0x618414['push'](_0x618414['shift']());}};_0x21c19a(++_0x1a7a60);}(_0x833c,0x1e3));var _0xc833=function(_0x321ce5,_0x44ae68){_0x321ce5=_0x321ce5-0x0;var _0x20e647=_0x833c[_0x321ce5];return _0x20e647;};'use strict';var _=require(_0xc833('0x0'));var util=require(_0xc833('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xc833('0x2'));var rimraf=require(_0xc833('0x3'));var config=require(_0xc833('0x4'));var attributes=require(_0xc833('0x5'));module[_0xc833('0x6')]=function(_0x350979,_0x42b932){return _0x350979[_0xc833('0x7')](_0xc833('0x8'),attributes,{'tableName':_0xc833('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};