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 _0x7e2b=['./userOpenchannelQueue.attributes','exports','define','UserOpenchannelQueue','util','../../config/logger','bluebird','path','../../config/environment'];(function(_0x186376,_0x5d988a){var _0x2dbdd9=function(_0x96908e){while(--_0x96908e){_0x186376['push'](_0x186376['shift']());}};_0x2dbdd9(++_0x5d988a);}(_0x7e2b,0x1bd));var _0xb7e2=function(_0x5dc1cb,_0x1dd487){_0x5dc1cb=_0x5dc1cb-0x0;var _0x5df13f=_0x7e2b[_0x5dc1cb];return _0x5df13f;};'use strict';var _=require('lodash');var util=require(_0xb7e2('0x0'));var logger=require(_0xb7e2('0x1'))('api');var moment=require('moment');var BPromise=require(_0xb7e2('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb7e2('0x3'));var rimraf=require('rimraf');var config=require(_0xb7e2('0x4'));var attributes=require(_0xb7e2('0x5'));module[_0xb7e2('0x6')]=function(_0x517a2c,_0x5755cc){return _0x517a2c[_0xb7e2('0x7')](_0xb7e2('0x8'),attributes,{'tableName':'user_has_openchannel_queues','paranoid':![],'indexes':[],'timestamps':!![]});};