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 _0x3f33=['rimraf','../../config/environment','./chatInternalMessage.attributes','exports','define','ChatInternalMessage','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger'];(function(_0x42c126,_0x1fdb0c){var _0x5db17d=function(_0x2cbb7f){while(--_0x2cbb7f){_0x42c126['push'](_0x42c126['shift']());}};_0x5db17d(++_0x1fdb0c);}(_0x3f33,0x1aa));var _0x33f3=function(_0x11f893,_0x259935){_0x11f893=_0x11f893-0x0;var _0x400fa8=_0x3f33[_0x11f893];return _0x400fa8;};'use strict';var _=require(_0x33f3('0x0'));var util=require(_0x33f3('0x1'));var logger=require(_0x33f3('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x33f3('0x3'));var config=require(_0x33f3('0x4'));var attributes=require(_0x33f3('0x5'));module[_0x33f3('0x6')]=function(_0x89c5e8,_0x4a793a){return _0x89c5e8[_0x33f3('0x7')](_0x33f3('0x8'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x33f3('0x9'),'collate':_0x33f3('0xa')});};