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 _0x02d9=['lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','exports','define','chat_groups'];(function(_0x3e186f,_0x2eb7be){var _0x3595bf=function(_0x5cb578){while(--_0x5cb578){_0x3e186f['push'](_0x3e186f['shift']());}};_0x3595bf(++_0x2eb7be);}(_0x02d9,0x1a2));var _0x902d=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x02d9[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0x902d('0x0'));var util=require(_0x902d('0x1'));var logger=require(_0x902d('0x2'))(_0x902d('0x3'));var moment=require('moment');var BPromise=require(_0x902d('0x4'));var rp=require(_0x902d('0x5'));var fs=require('fs');var path=require(_0x902d('0x6'));var rimraf=require(_0x902d('0x7'));var config=require('../../config/environment');var attributes=require('./chatGroup.attributes');module[_0x902d('0x8')]=function(_0x4071ef,_0x281656){return _0x4071ef[_0x902d('0x9')]('ChatGroup',attributes,{'tableName':_0x902d('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};