Built motion from commit 87cd5f02.|2.5.48
[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 _0x7300=['../../config/environment','define','ChatGroup','chat_groups','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf'];(function(_0x1406ae,_0x292395){var _0x23a076=function(_0x5e147a){while(--_0x5e147a){_0x1406ae['push'](_0x1406ae['shift']());}};_0x23a076(++_0x292395);}(_0x7300,0x94));var _0x0730=function(_0x16468c,_0x3b3d31){_0x16468c=_0x16468c-0x0;var _0x1ca55a=_0x7300[_0x16468c];return _0x1ca55a;};'use strict';var _=require('lodash');var util=require(_0x0730('0x0'));var logger=require(_0x0730('0x1'))(_0x0730('0x2'));var moment=require(_0x0730('0x3'));var BPromise=require(_0x0730('0x4'));var rp=require(_0x0730('0x5'));var fs=require('fs');var path=require(_0x0730('0x6'));var rimraf=require(_0x0730('0x7'));var config=require(_0x0730('0x8'));var attributes=require('./chatGroup.attributes');module['exports']=function(_0x42dbde,_0x29fd19){return _0x42dbde[_0x0730('0x9')](_0x0730('0xa'),attributes,{'tableName':_0x0730('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};