a18e79e8f375bbd4701e4a9259f1e70890be1353
[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 _0x71fb=['./chatGroup.attributes','exports','define','ChatGroup','chat_groups','lodash','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x1e6e4e,_0x2b1b09){var _0x3d746b=function(_0x4483dd){while(--_0x4483dd){_0x1e6e4e['push'](_0x1e6e4e['shift']());}};_0x3d746b(++_0x2b1b09);}(_0x71fb,0x91));var _0xb71f=function(_0x6f8b40,_0xaed0f3){_0x6f8b40=_0x6f8b40-0x0;var _0x17f4d5=_0x71fb[_0x6f8b40];return _0x17f4d5;};'use strict';var _=require(_0xb71f('0x0'));var util=require(_0xb71f('0x1'));var logger=require(_0xb71f('0x2'))(_0xb71f('0x3'));var moment=require(_0xb71f('0x4'));var BPromise=require(_0xb71f('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb71f('0x6'));var rimraf=require(_0xb71f('0x7'));var config=require(_0xb71f('0x8'));var attributes=require(_0xb71f('0x9'));module[_0xb71f('0xa')]=function(_0xb00c9d,_0x2d92ac){return _0xb00c9d[_0xb71f('0xb')](_0xb71f('0xc'),attributes,{'tableName':_0xb71f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};