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 _0x55d2=['../../config/environment','./teamVoiceQueue.attributes','exports','TeamVoiceQueue','team_has_voice_queues','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x487ab4,_0x1e24e8){var _0x3bef77=function(_0x5ce664){while(--_0x5ce664){_0x487ab4['push'](_0x487ab4['shift']());}};_0x3bef77(++_0x1e24e8);}(_0x55d2,0x9f));var _0x255d=function(_0x114eb1,_0x4911f2){_0x114eb1=_0x114eb1-0x0;var _0x3e2678=_0x55d2[_0x114eb1];return _0x3e2678;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x255d('0x0'))(_0x255d('0x1'));var moment=require(_0x255d('0x2'));var BPromise=require(_0x255d('0x3'));var rp=require(_0x255d('0x4'));var fs=require('fs');var path=require(_0x255d('0x5'));var rimraf=require('rimraf');var config=require(_0x255d('0x6'));var attributes=require(_0x255d('0x7'));module[_0x255d('0x8')]=function(_0x38017a,_0x58dae4){return _0x38017a['define'](_0x255d('0x9'),attributes,{'tableName':_0x255d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};