Built motion from commit (unavailable).|2.3.3
[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 _0xb6a1=['define','ChatGroup','lodash','util','../../config/logger','api','bluebird','request-promise'];(function(_0x4aa73f,_0x5ca115){var _0x3627f0=function(_0x310bdf){while(--_0x310bdf){_0x4aa73f['push'](_0x4aa73f['shift']());}};_0x3627f0(++_0x5ca115);}(_0xb6a1,0x14a));var _0x1b6a=function(_0x173441,_0x26b0d9){_0x173441=_0x173441-0x0;var _0x2423a8=_0xb6a1[_0x173441];return _0x2423a8;};'use strict';var _=require(_0x1b6a('0x0'));var util=require(_0x1b6a('0x1'));var logger=require(_0x1b6a('0x2'))(_0x1b6a('0x3'));var moment=require('moment');var BPromise=require(_0x1b6a('0x4'));var rp=require(_0x1b6a('0x5'));var attributes=require('./chatGroup.attributes');module['exports']=function(_0x13e07c,_0x155315){return _0x13e07c[_0x1b6a('0x6')](_0x1b6a('0x7'),attributes,{'tableName':'chat_groups','paranoid':![],'indexes':[],'timestamps':!![]});};