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 _0x616c=['moment','bluebird','request-promise','path','./teamVoiceQueue.attributes','exports','define','TeamVoiceQueue','util','../../config/logger'];(function(_0x3b2970,_0x3906bc){var _0x333a14=function(_0x3e13ba){while(--_0x3e13ba){_0x3b2970['push'](_0x3b2970['shift']());}};_0x333a14(++_0x3906bc);}(_0x616c,0x1b6));var _0xc616=function(_0x19d07a,_0x7dca19){_0x19d07a=_0x19d07a-0x0;var _0x3fbbee=_0x616c[_0x19d07a];return _0x3fbbee;};'use strict';var _=require('lodash');var util=require(_0xc616('0x0'));var logger=require(_0xc616('0x1'))('api');var moment=require(_0xc616('0x2'));var BPromise=require(_0xc616('0x3'));var rp=require(_0xc616('0x4'));var fs=require('fs');var path=require(_0xc616('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xc616('0x6'));module[_0xc616('0x7')]=function(_0x1772f5,_0x15f809){return _0x1772f5[_0xc616('0x8')](_0xc616('0x9'),attributes,{'tableName':'team_has_voice_queues','paranoid':![],'indexes':[],'timestamps':!![]});};