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 _0x81a1=['bluebird','request-promise','path','../../config/environment','./userVoiceQueueRt.attributes','exports','UserVoiceQueueRt','user_has_voice_queues_rt','lodash','moment'];(function(_0x952b9e,_0x4908b8){var _0x3cb50c=function(_0x4fd452){while(--_0x4fd452){_0x952b9e['push'](_0x952b9e['shift']());}};_0x3cb50c(++_0x4908b8);}(_0x81a1,0x1de));var _0x181a=function(_0x4af754,_0x38108f){_0x4af754=_0x4af754-0x0;var _0x2441eb=_0x81a1[_0x4af754];return _0x2441eb;};'use strict';var _=require(_0x181a('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x181a('0x1'));var BPromise=require(_0x181a('0x2'));var rp=require(_0x181a('0x3'));var fs=require('fs');var path=require(_0x181a('0x4'));var rimraf=require('rimraf');var config=require(_0x181a('0x5'));var attributes=require(_0x181a('0x6'));module[_0x181a('0x7')]=function(_0x29da39,_0x3ee9cd){return _0x29da39['define'](_0x181a('0x8'),attributes,{'tableName':_0x181a('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};