Built motion from commit 936e8062.|2.5.33
[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 _0x8aee=['../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment','./chatGroup.attributes','ChatGroup','chat_groups','util'];(function(_0xe5e537,_0x4abb4a){var _0x1242bf=function(_0x156cd6){while(--_0x156cd6){_0xe5e537['push'](_0xe5e537['shift']());}};_0x1242bf(++_0x4abb4a);}(_0x8aee,0x149));var _0xe8ae=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x8aee[_0x3dd15e];return _0x231fd0;};'use strict';var _=require('lodash');var util=require(_0xe8ae('0x0'));var logger=require(_0xe8ae('0x1'))(_0xe8ae('0x2'));var moment=require(_0xe8ae('0x3'));var BPromise=require(_0xe8ae('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xe8ae('0x5'));var rimraf=require(_0xe8ae('0x6'));var config=require(_0xe8ae('0x7'));var attributes=require(_0xe8ae('0x8'));module['exports']=function(_0x16fba9,_0x5290a8){return _0x16fba9['define'](_0xe8ae('0x9'),attributes,{'tableName':_0xe8ae('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};