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 _0xf4a6=['moment','bluebird','request-promise','path','./userVoiceQueueRt.attributes','define','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','util','../../config/logger'];(function(_0x4dc3a3,_0x470169){var _0x1d246c=function(_0x2a1c83){while(--_0x2a1c83){_0x4dc3a3['push'](_0x4dc3a3['shift']());}};_0x1d246c(++_0x470169);}(_0xf4a6,0xfa));var _0x6f4a=function(_0x26ca44,_0x3cdf68){_0x26ca44=_0x26ca44-0x0;var _0x5b53e7=_0xf4a6[_0x26ca44];return _0x5b53e7;};'use strict';var _=require(_0x6f4a('0x0'));var util=require(_0x6f4a('0x1'));var logger=require(_0x6f4a('0x2'))('api');var moment=require(_0x6f4a('0x3'));var BPromise=require(_0x6f4a('0x4'));var rp=require(_0x6f4a('0x5'));var fs=require('fs');var path=require(_0x6f4a('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x6f4a('0x7'));module['exports']=function(_0x5cf8a8,_0x11a6d5){return _0x5cf8a8[_0x6f4a('0x8')](_0x6f4a('0x9'),attributes,{'tableName':_0x6f4a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};