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 _0x0cc8=['rimraf','../../config/environment','./chatGroup.attributes','exports','ChatGroup','lodash','moment','bluebird'];(function(_0x5c29d7,_0xb16bd4){var _0xcb40af=function(_0x88206f){while(--_0x88206f){_0x5c29d7['push'](_0x5c29d7['shift']());}};_0xcb40af(++_0xb16bd4);}(_0x0cc8,0x14d));var _0x80cc=function(_0x172747,_0x1732bd){_0x172747=_0x172747-0x0;var _0x509692=_0x0cc8[_0x172747];return _0x509692;};'use strict';var _=require(_0x80cc('0x0'));var util=require('util');var logger=require('../../config/logger')('api');var moment=require(_0x80cc('0x1'));var BPromise=require(_0x80cc('0x2'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x80cc('0x3'));var config=require(_0x80cc('0x4'));var attributes=require(_0x80cc('0x5'));module[_0x80cc('0x6')]=function(_0x105557,_0x44b913){return _0x105557['define'](_0x80cc('0x7'),attributes,{'tableName':'chat_groups','paranoid':![],'indexes':[],'timestamps':!![]});};