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 _0xcc6a=['user_has_openchannel_interactions','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./UserOpenchannelInteraction.attributes','define','UserOpenchannelInteraction'];(function(_0x55fa03,_0xcb96c2){var _0x2cd7cd=function(_0x56611f){while(--_0x56611f){_0x55fa03['push'](_0x55fa03['shift']());}};_0x2cd7cd(++_0xcb96c2);}(_0xcc6a,0x1a5));var _0xacc6=function(_0x126391,_0x3845b2){_0x126391=_0x126391-0x0;var _0x391a18=_0xcc6a[_0x126391];return _0x391a18;};'use strict';var _=require('lodash');var util=require(_0xacc6('0x0'));var logger=require(_0xacc6('0x1'))(_0xacc6('0x2'));var moment=require(_0xacc6('0x3'));var BPromise=require(_0xacc6('0x4'));var rp=require(_0xacc6('0x5'));var fs=require('fs');var path=require(_0xacc6('0x6'));var rimraf=require(_0xacc6('0x7'));var config=require('../../config/environment');var attributes=require(_0xacc6('0x8'));module['exports']=function(_0x1026ed,_0x165b17){return _0x1026ed[_0xacc6('0x9')](_0xacc6('0xa'),attributes,{'tableName':_0xacc6('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};