Built motion from commit efa66e19.|2.6.22
[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 _0x4a91=['api','moment','bluebird','request-promise','path','rimraf','./chatGroup.attributes','chat_groups'];(function(_0xf78620,_0x4e6210){var _0x12f80c=function(_0x57cda2){while(--_0x57cda2){_0xf78620['push'](_0xf78620['shift']());}};_0x12f80c(++_0x4e6210);}(_0x4a91,0xa8));var _0x14a9=function(_0x22b68a,_0x2bffc3){_0x22b68a=_0x22b68a-0x0;var _0x1ac67a=_0x4a91[_0x22b68a];return _0x1ac67a;};'use strict';var _=require('lodash');var util=require('util');var logger=require('../../config/logger')(_0x14a9('0x0'));var moment=require(_0x14a9('0x1'));var BPromise=require(_0x14a9('0x2'));var rp=require(_0x14a9('0x3'));var fs=require('fs');var path=require(_0x14a9('0x4'));var rimraf=require(_0x14a9('0x5'));var config=require('../../config/environment');var attributes=require(_0x14a9('0x6'));module['exports']=function(_0x416b9e,_0xc25faf){return _0x416b9e['define']('ChatGroup',attributes,{'tableName':_0x14a9('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};