Built motion from commit b0a9a629.|2.6.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 _0x0fef=['../../config/environment','exports','define','chat_groups','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf'];(function(_0x4fa021,_0x35037b){var _0x452887=function(_0x3903d5){while(--_0x3903d5){_0x4fa021['push'](_0x4fa021['shift']());}};_0x452887(++_0x35037b);}(_0x0fef,0x64));var _0xf0fe=function(_0x2ade68,_0x3c6b4f){_0x2ade68=_0x2ade68-0x0;var _0xd360b8=_0x0fef[_0x2ade68];return _0xd360b8;};'use strict';var _=require(_0xf0fe('0x0'));var util=require(_0xf0fe('0x1'));var logger=require(_0xf0fe('0x2'))(_0xf0fe('0x3'));var moment=require(_0xf0fe('0x4'));var BPromise=require(_0xf0fe('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf0fe('0x6'));var rimraf=require(_0xf0fe('0x7'));var config=require(_0xf0fe('0x8'));var attributes=require('./chatGroup.attributes');module[_0xf0fe('0x9')]=function(_0x4ed4cd,_0x1cd7c4){return _0x4ed4cd[_0xf0fe('0xa')]('ChatGroup',attributes,{'tableName':_0xf0fe('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};