Built motion from commit ffdca78c.|2.6.24
[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 _0x7fd2=['bluebird','request-promise','path','rimraf','./chatGroup.attributes','exports','lodash','../../config/logger','api','moment'];(function(_0x409521,_0x1eef13){var _0x24df06=function(_0x38c0f5){while(--_0x38c0f5){_0x409521['push'](_0x409521['shift']());}};_0x24df06(++_0x1eef13);}(_0x7fd2,0x74));var _0x27fd=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0x7fd2[_0x17d9e3];return _0x14192d;};'use strict';var _=require(_0x27fd('0x0'));var util=require('util');var logger=require(_0x27fd('0x1'))(_0x27fd('0x2'));var moment=require(_0x27fd('0x3'));var BPromise=require(_0x27fd('0x4'));var rp=require(_0x27fd('0x5'));var fs=require('fs');var path=require(_0x27fd('0x6'));var rimraf=require(_0x27fd('0x7'));var config=require('../../config/environment');var attributes=require(_0x27fd('0x8'));module[_0x27fd('0x9')]=function(_0x29d1d3,_0x383c81){return _0x29d1d3['define']('ChatGroup',attributes,{'tableName':'chat_groups','paranoid':![],'indexes':[],'timestamps':!![]});};