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 _0xf826=['utf8mb4','lodash','util','../../config/logger','moment','request-promise','../../config/environment','./chatInternalMessage.attributes','exports','ChatInternalMessage'];(function(_0x574d9b,_0x2063da){var _0x31d2a5=function(_0x97ce4c){while(--_0x97ce4c){_0x574d9b['push'](_0x574d9b['shift']());}};_0x31d2a5(++_0x2063da);}(_0xf826,0x1c3));var _0x6f82=function(_0x45a230,_0x4823ad){_0x45a230=_0x45a230-0x0;var _0x41779d=_0xf826[_0x45a230];return _0x41779d;};'use strict';var _=require(_0x6f82('0x0'));var util=require(_0x6f82('0x1'));var logger=require(_0x6f82('0x2'))('api');var moment=require(_0x6f82('0x3'));var BPromise=require('bluebird');var rp=require(_0x6f82('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x6f82('0x5'));var attributes=require(_0x6f82('0x6'));module[_0x6f82('0x7')]=function(_0x5c699b,_0x2b8d2e){return _0x5c699b['define'](_0x6f82('0x8'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x6f82('0x9'),'collate':'utf8mb4_unicode_ci'});};