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 _0x861a=['bluebird','request-promise','path','../../config/environment','./teamVoiceQueue.attributes','exports','TeamVoiceQueue','team_has_voice_queues','lodash','../../config/logger','api','moment'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0x861a,0x194));var _0xa861=function(_0x43ae37,_0x7fa926){_0x43ae37=_0x43ae37-0x0;var _0x44e9af=_0x861a[_0x43ae37];return _0x44e9af;};'use strict';var _=require(_0xa861('0x0'));var util=require('util');var logger=require(_0xa861('0x1'))(_0xa861('0x2'));var moment=require(_0xa861('0x3'));var BPromise=require(_0xa861('0x4'));var rp=require(_0xa861('0x5'));var fs=require('fs');var path=require(_0xa861('0x6'));var rimraf=require('rimraf');var config=require(_0xa861('0x7'));var attributes=require(_0xa861('0x8'));module[_0xa861('0x9')]=function(_0x1a9322,_0x247b78){return _0x1a9322['define'](_0xa861('0xa'),attributes,{'tableName':_0xa861('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};