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 _0xe5d7=['bluebird','request-promise','path','rimraf','../../config/environment','./chatGroup.attributes','define','ChatGroup','chat_groups','util'];(function(_0x411017,_0x4a8117){var _0x2adeea=function(_0x545222){while(--_0x545222){_0x411017['push'](_0x411017['shift']());}};_0x2adeea(++_0x4a8117);}(_0xe5d7,0x17b));var _0x7e5d=function(_0x3aed66,_0x11d651){_0x3aed66=_0x3aed66-0x0;var _0x1f51e9=_0xe5d7[_0x3aed66];return _0x1f51e9;};'use strict';var _=require('lodash');var util=require(_0x7e5d('0x0'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0x7e5d('0x1'));var rp=require(_0x7e5d('0x2'));var fs=require('fs');var path=require(_0x7e5d('0x3'));var rimraf=require(_0x7e5d('0x4'));var config=require(_0x7e5d('0x5'));var attributes=require(_0x7e5d('0x6'));module['exports']=function(_0x205825,_0x1d720e){return _0x205825[_0x7e5d('0x7')](_0x7e5d('0x8'),attributes,{'tableName':_0x7e5d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};