1219a34cfde117d464acbe6d2ef258e9cbc1b14a
[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 _0xc48f=['../../config/environment','./chatGroup.attributes','exports','define','chat_groups','lodash','util','moment','path','rimraf'];(function(_0x3b380d,_0x4bf247){var _0x54502b=function(_0x35d207){while(--_0x35d207){_0x3b380d['push'](_0x3b380d['shift']());}};_0x54502b(++_0x4bf247);}(_0xc48f,0x19f));var _0xfc48=function(_0x192410,_0x504ca8){_0x192410=_0x192410-0x0;var _0x41aaf2=_0xc48f[_0x192410];return _0x41aaf2;};'use strict';var _=require(_0xfc48('0x0'));var util=require(_0xfc48('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xfc48('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xfc48('0x3'));var rimraf=require(_0xfc48('0x4'));var config=require(_0xfc48('0x5'));var attributes=require(_0xfc48('0x6'));module[_0xfc48('0x7')]=function(_0x3e9eb1,_0x406909){return _0x3e9eb1[_0xfc48('0x8')]('ChatGroup',attributes,{'tableName':_0xfc48('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};