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 _0x6a85=['rimraf','../../config/environment','./chatOfflineMessage.attributes','define','ChatOfflineMessage','utf8mb4','lodash','util','../../config/logger','moment','request-promise','path'];(function(_0x45ff3e,_0x2d5827){var _0x5166bd=function(_0x1fd1a1){while(--_0x1fd1a1){_0x45ff3e['push'](_0x45ff3e['shift']());}};_0x5166bd(++_0x2d5827);}(_0x6a85,0xae));var _0x56a8=function(_0x16e57d,_0x2cb7ba){_0x16e57d=_0x16e57d-0x0;var _0x40239c=_0x6a85[_0x16e57d];return _0x40239c;};'use strict';var _=require(_0x56a8('0x0'));var util=require(_0x56a8('0x1'));var logger=require(_0x56a8('0x2'))('api');var moment=require(_0x56a8('0x3'));var BPromise=require('bluebird');var rp=require(_0x56a8('0x4'));var fs=require('fs');var path=require(_0x56a8('0x5'));var rimraf=require(_0x56a8('0x6'));var config=require(_0x56a8('0x7'));var attributes=require(_0x56a8('0x8'));module['exports']=function(_0x2cb474,_0x2cebbd){return _0x2cb474[_0x56a8('0x9')](_0x56a8('0xa'),attributes,{'tableName':'chat_offline_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x56a8('0xb'),'collate':'utf8mb4_unicode_ci'});};