abbd27582c993ad040fcb8dff09744bce2c70732
[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 _0x8357=['path','rimraf','../../config/environment','./chatGroup.attributes','chat_groups','lodash','../../config/logger','api','moment','bluebird','request-promise'];(function(_0x2a76ae,_0x495285){var _0x5c63f4=function(_0x85724f){while(--_0x85724f){_0x2a76ae['push'](_0x2a76ae['shift']());}};_0x5c63f4(++_0x495285);}(_0x8357,0x1a7));var _0x7835=function(_0x57e4d6,_0x2a82f6){_0x57e4d6=_0x57e4d6-0x0;var _0x372ee8=_0x8357[_0x57e4d6];return _0x372ee8;};'use strict';var _=require(_0x7835('0x0'));var util=require('util');var logger=require(_0x7835('0x1'))(_0x7835('0x2'));var moment=require(_0x7835('0x3'));var BPromise=require(_0x7835('0x4'));var rp=require(_0x7835('0x5'));var fs=require('fs');var path=require(_0x7835('0x6'));var rimraf=require(_0x7835('0x7'));var config=require(_0x7835('0x8'));var attributes=require(_0x7835('0x9'));module['exports']=function(_0x4067bc,_0x34463a){return _0x4067bc['define']('ChatGroup',attributes,{'tableName':_0x7835('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};