Built motion from commit 9d7072cc.|2.5.39
[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 _0x02fc=['util','../../config/logger','api','rimraf','./chatGroup.attributes','define','ChatGroup','lodash'];(function(_0x4142d8,_0x4a2b3d){var _0x348334=function(_0x51daa7){while(--_0x51daa7){_0x4142d8['push'](_0x4142d8['shift']());}};_0x348334(++_0x4a2b3d);}(_0x02fc,0x87));var _0xc02f=function(_0x2bc809,_0x48c439){_0x2bc809=_0x2bc809-0x0;var _0x2dac1b=_0x02fc[_0x2bc809];return _0x2dac1b;};'use strict';var _=require(_0xc02f('0x0'));var util=require(_0xc02f('0x1'));var logger=require(_0xc02f('0x2'))(_0xc02f('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xc02f('0x4'));var config=require('../../config/environment');var attributes=require(_0xc02f('0x5'));module['exports']=function(_0x59d0d4,_0x5f2e41){return _0x59d0d4[_0xc02f('0x6')](_0xc02f('0x7'),attributes,{'tableName':'chat_groups','paranoid':![],'indexes':[],'timestamps':!![]});};