Built motion from commit 753c950e.|2.5.42
[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 _0x8bb2=['chat_groups','lodash','moment','bluebird','request-promise','path','rimraf','./chatGroup.attributes','exports','define'];(function(_0x55ff79,_0x3d45e7){var _0x579067=function(_0x3650e4){while(--_0x3650e4){_0x55ff79['push'](_0x55ff79['shift']());}};_0x579067(++_0x3d45e7);}(_0x8bb2,0x119));var _0x28bb=function(_0x4b4b0e,_0x6c674){_0x4b4b0e=_0x4b4b0e-0x0;var _0x4c2d91=_0x8bb2[_0x4b4b0e];return _0x4c2d91;};'use strict';var _=require(_0x28bb('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x28bb('0x1'));var BPromise=require(_0x28bb('0x2'));var rp=require(_0x28bb('0x3'));var fs=require('fs');var path=require(_0x28bb('0x4'));var rimraf=require(_0x28bb('0x5'));var config=require('../../config/environment');var attributes=require(_0x28bb('0x6'));module[_0x28bb('0x7')]=function(_0x5aab71,_0x32fa6d){return _0x5aab71[_0x28bb('0x8')]('ChatGroup',attributes,{'tableName':_0x28bb('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};