Built motion from commit (unavailable).|2.2.1
[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 _0x9151=['chat_groups','lodash','util','../../config/logger','api','exports','ChatGroup'];(function(_0xc4eb40,_0x1095b4){var _0x249265=function(_0x5760a9){while(--_0x5760a9){_0xc4eb40['push'](_0xc4eb40['shift']());}};_0x249265(++_0x1095b4);}(_0x9151,0xa9));var _0x1915=function(_0x5c365f,_0x3b40ed){_0x5c365f=_0x5c365f-0x0;var _0x295e1b=_0x9151[_0x5c365f];return _0x295e1b;};'use strict';var _=require(_0x1915('0x0'));var util=require(_0x1915('0x1'));var logger=require(_0x1915('0x2'))(_0x1915('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var attributes=require('./chatGroup.attributes');module[_0x1915('0x4')]=function(_0x5a7632,_0x2d542f){return _0x5a7632['define'](_0x1915('0x5'),attributes,{'tableName':_0x1915('0x6'),'paranoid':![],'indexes':[],'timestamps':!![]});};