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 _0xf55f=['api','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','chat_groups','util'];(function(_0x2e5a8c,_0x35f4bf){var _0x5816ec=function(_0x27cf55){while(--_0x27cf55){_0x2e5a8c['push'](_0x2e5a8c['shift']());}};_0x5816ec(++_0x35f4bf);}(_0xf55f,0xa9));var _0xff55=function(_0x3ca29d,_0x5a8d31){_0x3ca29d=_0x3ca29d-0x0;var _0x5c5d2e=_0xf55f[_0x3ca29d];return _0x5c5d2e;};'use strict';var _=require('lodash');var util=require(_0xff55('0x0'));var logger=require('../../config/logger')(_0xff55('0x1'));var moment=require('moment');var BPromise=require(_0xff55('0x2'));var rp=require(_0xff55('0x3'));var fs=require('fs');var path=require(_0xff55('0x4'));var rimraf=require(_0xff55('0x5'));var config=require(_0xff55('0x6'));var attributes=require('./chatGroup.attributes');module[_0xff55('0x7')]=function(_0x144792,_0x5e85fc){return _0x144792[_0xff55('0x8')]('ChatGroup',attributes,{'tableName':_0xff55('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};