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 _0x2a24=['./chatInternalMessage.attributes','exports','ChatInternalMessage','utf8mb4_unicode_ci','lodash','../../config/logger','moment','bluebird','request-promise','rimraf','../../config/environment'];(function(_0x50dcd8,_0x7c96d1){var _0x2bdc68=function(_0x175198){while(--_0x175198){_0x50dcd8['push'](_0x50dcd8['shift']());}};_0x2bdc68(++_0x7c96d1);}(_0x2a24,0xe0));var _0x42a2=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0x2a24[_0x3bf83f];return _0x22c4a9;};'use strict';var _=require(_0x42a2('0x0'));var util=require('util');var logger=require(_0x42a2('0x1'))('api');var moment=require(_0x42a2('0x2'));var BPromise=require(_0x42a2('0x3'));var rp=require(_0x42a2('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x42a2('0x5'));var config=require(_0x42a2('0x6'));var attributes=require(_0x42a2('0x7'));module[_0x42a2('0x8')]=function(_0x4be38a,_0x1e1cdd){return _0x4be38a['define'](_0x42a2('0x9'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x42a2('0xa')});};