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 _0xb352=['lodash','util','api','moment','request-promise','path','rimraf','../../config/environment','exports','OpenchannelQueue','openchannel_queues'];(function(_0x9c3e39,_0x4dfd75){var _0xe6f5a9=function(_0x4377e5){while(--_0x4377e5){_0x9c3e39['push'](_0x9c3e39['shift']());}};_0xe6f5a9(++_0x4dfd75);}(_0xb352,0xa5));var _0x2b35=function(_0x3d42d8,_0x4cffaa){_0x3d42d8=_0x3d42d8-0x0;var _0x27fc41=_0xb352[_0x3d42d8];return _0x27fc41;};'use strict';var _=require(_0x2b35('0x0'));var util=require(_0x2b35('0x1'));var logger=require('../../config/logger')(_0x2b35('0x2'));var moment=require(_0x2b35('0x3'));var BPromise=require('bluebird');var rp=require(_0x2b35('0x4'));var fs=require('fs');var path=require(_0x2b35('0x5'));var rimraf=require(_0x2b35('0x6'));var config=require(_0x2b35('0x7'));var attributes=require('./openchannelQueue.attributes');module[_0x2b35('0x8')]=function(_0x4320fb,_0xea37d0){return _0x4320fb['define'](_0x2b35('0x9'),attributes,{'tableName':_0x2b35('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};