Built motion from commit bab6f49e.|2.6.17
[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 _0xacc7=['exports','define','chat_groups','api','moment','bluebird','request-promise','path','rimraf','./chatGroup.attributes'];(function(_0x2f78bd,_0x3c4b24){var _0x48383e=function(_0x293c8d){while(--_0x293c8d){_0x2f78bd['push'](_0x2f78bd['shift']());}};_0x48383e(++_0x3c4b24);}(_0xacc7,0x189));var _0x7acc=function(_0x2b737c,_0x274adf){_0x2b737c=_0x2b737c-0x0;var _0x466ed5=_0xacc7[_0x2b737c];return _0x466ed5;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x7acc('0x0'));var moment=require(_0x7acc('0x1'));var BPromise=require(_0x7acc('0x2'));var rp=require(_0x7acc('0x3'));var fs=require('fs');var path=require(_0x7acc('0x4'));var rimraf=require(_0x7acc('0x5'));var config=require('../../config/environment');var attributes=require(_0x7acc('0x6'));module[_0x7acc('0x7')]=function(_0x2b8bab,_0x310852){return _0x2b8bab[_0x7acc('0x8')]('ChatGroup',attributes,{'tableName':_0x7acc('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};