Built motion from commit (unavailable).|2.4.4
[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 _0x6253=['exports','define','ChatGroup','chat_groups','util','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./chatGroup.attributes'];(function(_0x46deba,_0x15407e){var _0x11613d=function(_0x87456d){while(--_0x87456d){_0x46deba['push'](_0x46deba['shift']());}};_0x11613d(++_0x15407e);}(_0x6253,0x64));var _0x3625=function(_0xfe6b68,_0x30a110){_0xfe6b68=_0xfe6b68-0x0;var _0xcf5ec8=_0x6253[_0xfe6b68];return _0xcf5ec8;};'use strict';var _=require('lodash');var util=require(_0x3625('0x0'));var logger=require(_0x3625('0x1'))(_0x3625('0x2'));var moment=require(_0x3625('0x3'));var BPromise=require(_0x3625('0x4'));var rp=require(_0x3625('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x3625('0x6'));var attributes=require(_0x3625('0x7'));module[_0x3625('0x8')]=function(_0x1317b6,_0x4d509f){return _0x1317b6[_0x3625('0x9')](_0x3625('0xa'),attributes,{'tableName':_0x3625('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};