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 _0x298c=['api','bluebird','request-promise','rimraf','../../config/environment','./voiceQueue.attributes','exports','define','VoiceQueue','voice_queues','util','../../config/logger'];(function(_0x950fdd,_0x13acd2){var _0x230cfa=function(_0x34db66){while(--_0x34db66){_0x950fdd['push'](_0x950fdd['shift']());}};_0x230cfa(++_0x13acd2);}(_0x298c,0x9a));var _0xc298=function(_0x5c0bb7,_0x26c387){_0x5c0bb7=_0x5c0bb7-0x0;var _0x4b879b=_0x298c[_0x5c0bb7];return _0x4b879b;};'use strict';var _=require('lodash');var util=require(_0xc298('0x0'));var logger=require(_0xc298('0x1'))(_0xc298('0x2'));var moment=require('moment');var BPromise=require(_0xc298('0x3'));var rp=require(_0xc298('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0xc298('0x5'));var config=require(_0xc298('0x6'));var attributes=require(_0xc298('0x7'));module[_0xc298('0x8')]=function(_0x2fa815,_0x3db1da){return _0x2fa815[_0xc298('0x9')](_0xc298('0xa'),attributes,{'tableName':_0xc298('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};