Built motion from commit d5e4af8c.|2.6.23
[motion2.git] / server / api / chatGroup / chatGroup.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x972f=['exports','define','ChatGroup','chat_groups','lodash','util','api','moment','bluebird','path','rimraf','../../config/environment','./chatGroup.attributes'];(function(_0x55edaa,_0x4a71e5){var _0x4abd20=function(_0x2ef079){while(--_0x2ef079){_0x55edaa['push'](_0x55edaa['shift']());}};_0x4abd20(++_0x4a71e5);}(_0x972f,0x149));var _0xf972=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x972f[_0x3dd15e];return _0x231fd0;};'use strict';var _=require(_0xf972('0x0'));var util=require(_0xf972('0x1'));var logger=require('../../config/logger')(_0xf972('0x2'));var moment=require(_0xf972('0x3'));var BPromise=require(_0xf972('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf972('0x5'));var rimraf=require(_0xf972('0x6'));var config=require(_0xf972('0x7'));var attributes=require(_0xf972('0x8'));module[_0xf972('0x9')]=function(_0x3e1e50,_0x2fb58f){return _0x3e1e50[_0xf972('0xa')](_0xf972('0xb'),attributes,{'tableName':_0xf972('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};