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 _0xd29d=['path','./chatGroup.attributes','define','ChatGroup','chat_groups','lodash','../../config/logger','moment','bluebird'];(function(_0x372433,_0xb55d02){var _0x375ac3=function(_0x1c1d22){while(--_0x1c1d22){_0x372433['push'](_0x372433['shift']());}};_0x375ac3(++_0xb55d02);}(_0xd29d,0xcb));var _0xdd29=function(_0x481860,_0x50900b){_0x481860=_0x481860-0x0;var _0x4e67da=_0xd29d[_0x481860];return _0x4e67da;};'use strict';var _=require(_0xdd29('0x0'));var util=require('util');var logger=require(_0xdd29('0x1'))('api');var moment=require(_0xdd29('0x2'));var BPromise=require(_0xdd29('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xdd29('0x4'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0xdd29('0x5'));module['exports']=function(_0x18c3b0,_0x10aec7){return _0x18c3b0[_0xdd29('0x6')](_0xdd29('0x7'),attributes,{'tableName':_0xdd29('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};