Built motion from commit da24aabd.|2.6.20
[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 _0x7dce=['util','../../config/logger','api','bluebird','request-promise','path','rimraf','exports','ChatGroup','lodash'];(function(_0x1e6b18,_0x2c23ef){var _0x19e8d5=function(_0x1acb29){while(--_0x1acb29){_0x1e6b18['push'](_0x1e6b18['shift']());}};_0x19e8d5(++_0x2c23ef);}(_0x7dce,0x1b7));var _0xe7dc=function(_0x6d6a66,_0x2924af){_0x6d6a66=_0x6d6a66-0x0;var _0x11eb6e=_0x7dce[_0x6d6a66];return _0x11eb6e;};'use strict';var _=require(_0xe7dc('0x0'));var util=require(_0xe7dc('0x1'));var logger=require(_0xe7dc('0x2'))(_0xe7dc('0x3'));var moment=require('moment');var BPromise=require(_0xe7dc('0x4'));var rp=require(_0xe7dc('0x5'));var fs=require('fs');var path=require(_0xe7dc('0x6'));var rimraf=require(_0xe7dc('0x7'));var config=require('../../config/environment');var attributes=require('./chatGroup.attributes');module[_0xe7dc('0x8')]=function(_0x19ed43,_0x48e794){return _0x19ed43['define'](_0xe7dc('0x9'),attributes,{'tableName':'chat_groups','paranoid':![],'indexes':[],'timestamps':!![]});};