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 _0xb96f=['moment','bluebird','request-promise','path','rimraf','./chatInternalMessage.attributes','exports','define','chat_internal_messages','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api'];(function(_0xd97a89,_0x3b2fdd){var _0x2968c2=function(_0x1752dc){while(--_0x1752dc){_0xd97a89['push'](_0xd97a89['shift']());}};_0x2968c2(++_0x3b2fdd);}(_0xb96f,0x97));var _0xfb96=function(_0x4f1a15,_0x1fc6b9){_0x4f1a15=_0x4f1a15-0x0;var _0x51ec1a=_0xb96f[_0x4f1a15];return _0x51ec1a;};'use strict';var _=require(_0xfb96('0x0'));var util=require('util');var logger=require(_0xfb96('0x1'))(_0xfb96('0x2'));var moment=require(_0xfb96('0x3'));var BPromise=require(_0xfb96('0x4'));var rp=require(_0xfb96('0x5'));var fs=require('fs');var path=require(_0xfb96('0x6'));var rimraf=require(_0xfb96('0x7'));var config=require('../../config/environment');var attributes=require(_0xfb96('0x8'));module[_0xfb96('0x9')]=function(_0x34ad9e,_0x18c87a){return _0x34ad9e[_0xfb96('0xa')]('ChatInternalMessage',attributes,{'tableName':_0xfb96('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xfb96('0xc'),'collate':_0xfb96('0xd')});};