c8a0245f57dca47ee1b01508a67c522b1174e754
[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 _0xbf1f=['../../config/environment','./chatGroup.attributes','ChatGroup','chat_groups','lodash','util','moment','path','rimraf'];(function(_0x3420c7,_0x607275){var _0x4b67fe=function(_0x19d5dc){while(--_0x19d5dc){_0x3420c7['push'](_0x3420c7['shift']());}};_0x4b67fe(++_0x607275);}(_0xbf1f,0x1c6));var _0xfbf1=function(_0x3a8027,_0x33c4a9){_0x3a8027=_0x3a8027-0x0;var _0x1fdef5=_0xbf1f[_0x3a8027];return _0x1fdef5;};'use strict';var _=require(_0xfbf1('0x0'));var util=require(_0xfbf1('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0xfbf1('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xfbf1('0x3'));var rimraf=require(_0xfbf1('0x4'));var config=require(_0xfbf1('0x5'));var attributes=require(_0xfbf1('0x6'));module['exports']=function(_0x410c6c,_0x448db2){return _0x410c6c['define'](_0xfbf1('0x7'),attributes,{'tableName':_0xfbf1('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};