Built motion from commit (unavailable).|2.5.26
[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 _0x6dc0=['lodash','../../config/logger','api','moment','bluebird','request-promise','../../config/environment','./chatGroup.attributes','ChatGroup'];(function(_0x58fb83,_0x297a48){var _0x419b2f=function(_0x5425a8){while(--_0x5425a8){_0x58fb83['push'](_0x58fb83['shift']());}};_0x419b2f(++_0x297a48);}(_0x6dc0,0x18c));var _0x06dc=function(_0x5eb581,_0x2efdc2){_0x5eb581=_0x5eb581-0x0;var _0x523691=_0x6dc0[_0x5eb581];return _0x523691;};'use strict';var _=require(_0x06dc('0x0'));var util=require('util');var logger=require(_0x06dc('0x1'))(_0x06dc('0x2'));var moment=require(_0x06dc('0x3'));var BPromise=require(_0x06dc('0x4'));var rp=require(_0x06dc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x06dc('0x6'));var attributes=require(_0x06dc('0x7'));module['exports']=function(_0x45a093,_0x26b287){return _0x45a093['define'](_0x06dc('0x8'),attributes,{'tableName':'chat_groups','paranoid':![],'indexes':[],'timestamps':!![]});};