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 _0xabc8=['../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment','./chatInternalMessage.attributes','exports','utf8mb4','utf8mb4_unicode_ci','util'];(function(_0xc694ff,_0x1498ad){var _0x59dba2=function(_0x4c3ccd){while(--_0x4c3ccd){_0xc694ff['push'](_0xc694ff['shift']());}};_0x59dba2(++_0x1498ad);}(_0xabc8,0xe6));var _0x8abc=function(_0xbbfe59,_0x46067f){_0xbbfe59=_0xbbfe59-0x0;var _0x28a2a4=_0xabc8[_0xbbfe59];return _0x28a2a4;};'use strict';var _=require('lodash');var util=require(_0x8abc('0x0'));var logger=require(_0x8abc('0x1'))('api');var moment=require(_0x8abc('0x2'));var BPromise=require(_0x8abc('0x3'));var rp=require(_0x8abc('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x8abc('0x5'));var config=require(_0x8abc('0x6'));var attributes=require(_0x8abc('0x7'));module[_0x8abc('0x8')]=function(_0x5a4ecd,_0x5724bb){return _0x5a4ecd['define']('ChatInternalMessage',attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x8abc('0x9'),'collate':_0x8abc('0xa')});};