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 _0x02bf=['moment','bluebird','path','../../config/environment','./chatInternalMessage.attributes','exports','define','chat_internal_messages','utf8mb4','util','api'];(function(_0xdd8443,_0x121139){var _0x33431b=function(_0x2a8e0e){while(--_0x2a8e0e){_0xdd8443['push'](_0xdd8443['shift']());}};_0x33431b(++_0x121139);}(_0x02bf,0xe5));var _0xf02b=function(_0x514c15,_0x486901){_0x514c15=_0x514c15-0x0;var _0x16283e=_0x02bf[_0x514c15];return _0x16283e;};'use strict';var _=require('lodash');var util=require(_0xf02b('0x0'));var logger=require('../../config/logger')(_0xf02b('0x1'));var moment=require(_0xf02b('0x2'));var BPromise=require(_0xf02b('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xf02b('0x4'));var rimraf=require('rimraf');var config=require(_0xf02b('0x5'));var attributes=require(_0xf02b('0x6'));module[_0xf02b('0x7')]=function(_0x3f7124,_0x3ca4e5){return _0x3f7124[_0xf02b('0x8')]('ChatInternalMessage',attributes,{'tableName':_0xf02b('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xf02b('0xa'),'collate':'utf8mb4_unicode_ci'});};