1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xfb8f=['util','moment','bluebird','request-promise','path','rimraf','./chatGroup.attributes','exports','chat_groups'];(function(_0x19eaf0,_0x40bced){var _0x35865f=function(_0x1ec882){while(--_0x1ec882){_0x19eaf0['push'](_0x19eaf0['shift']());}};_0x35865f(++_0x40bced);}(_0xfb8f,0x18c));var _0xffb8=function(_0x42fb47,_0x535cdd){_0x42fb47=_0x42fb47-0x0;var _0xde0481=_0xfb8f[_0x42fb47];return _0xde0481;};'use strict';var _=require('lodash');var util=require(_0xffb8('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xffb8('0x1'));var BPromise=require(_0xffb8('0x2'));var rp=require(_0xffb8('0x3'));var fs=require('fs');var path=require(_0xffb8('0x4'));var rimraf=require(_0xffb8('0x5'));var config=require('../../config/environment');var attributes=require(_0xffb8('0x6'));module[_0xffb8('0x7')]=function(_0x463cfb,_0x47b1e5){return _0x463cfb['define']('ChatGroup',attributes,{'tableName':_0xffb8('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};