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 _0xa09c=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./chatInternalMessage.attributes','exports','define','chat_internal_messages','utf8mb4'];(function(_0x43a08b,_0x20c760){var _0x2557a3=function(_0x289954){while(--_0x289954){_0x43a08b['push'](_0x43a08b['shift']());}};_0x2557a3(++_0x20c760);}(_0xa09c,0x159));var _0xca09=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0xa09c[_0x2dafbe];return _0x58a45a;};'use strict';var _=require(_0xca09('0x0'));var util=require(_0xca09('0x1'));var logger=require(_0xca09('0x2'))(_0xca09('0x3'));var moment=require(_0xca09('0x4'));var BPromise=require(_0xca09('0x5'));var rp=require(_0xca09('0x6'));var fs=require('fs');var path=require(_0xca09('0x7'));var rimraf=require(_0xca09('0x8'));var config=require(_0xca09('0x9'));var attributes=require(_0xca09('0xa'));module[_0xca09('0xb')]=function(_0xdbd467,_0x72800a){return _0xdbd467[_0xca09('0xc')]('ChatInternalMessage',attributes,{'tableName':_0xca09('0xd'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xca09('0xe'),'collate':'utf8mb4_unicode_ci'});};