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 _0xaf7c=['utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','exports','chat_internal_messages'];(function(_0x16771d,_0x224c60){var _0x386f11=function(_0x3d7a87){while(--_0x3d7a87){_0x16771d['push'](_0x16771d['shift']());}};_0x386f11(++_0x224c60);}(_0xaf7c,0xf2));var _0xcaf7=function(_0x5baa6d,_0x32779d){_0x5baa6d=_0x5baa6d-0x0;var _0xef22e2=_0xaf7c[_0x5baa6d];return _0xef22e2;};'use strict';var _=require('lodash');var util=require(_0xcaf7('0x0'));var logger=require(_0xcaf7('0x1'))(_0xcaf7('0x2'));var moment=require(_0xcaf7('0x3'));var BPromise=require(_0xcaf7('0x4'));var rp=require(_0xcaf7('0x5'));var fs=require('fs');var path=require(_0xcaf7('0x6'));var rimraf=require('rimraf');var config=require(_0xcaf7('0x7'));var attributes=require('./chatInternalMessage.attributes');module[_0xcaf7('0x8')]=function(_0x327082,_0xc2a410){return _0x327082['define']('ChatInternalMessage',attributes,{'tableName':_0xcaf7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xcaf7('0xa'),'collate':_0xcaf7('0xb')});};