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 _0xe9d5=['UserOpenchannelQueue','user_has_openchannel_queues','lodash','util','bluebird','path','rimraf','../../config/environment','./userOpenchannelQueue.attributes','exports'];(function(_0x4b95fa,_0x4337cc){var _0xe6aea5=function(_0x3a568f){while(--_0x3a568f){_0x4b95fa['push'](_0x4b95fa['shift']());}};_0xe6aea5(++_0x4337cc);}(_0xe9d5,0x1ec));var _0x5e9d=function(_0x47f8d2,_0x259040){_0x47f8d2=_0x47f8d2-0x0;var _0x5b31bb=_0xe9d5[_0x47f8d2];return _0x5b31bb;};'use strict';var _=require(_0x5e9d('0x0'));var util=require(_0x5e9d('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x5e9d('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x5e9d('0x3'));var rimraf=require(_0x5e9d('0x4'));var config=require(_0x5e9d('0x5'));var attributes=require(_0x5e9d('0x6'));module[_0x5e9d('0x7')]=function(_0x5c0f7d,_0x2345cf){return _0x5c0f7d['define'](_0x5e9d('0x8'),attributes,{'tableName':_0x5e9d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};