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 _0x6dc7=['moment','bluebird','request-promise','path','../../config/environment','./chatOfflineMessage.attributes','exports','ChatOfflineMessage','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger'];(function(_0x96cb45,_0x3cb473){var _0x3047ae=function(_0x537a50){while(--_0x537a50){_0x96cb45['push'](_0x96cb45['shift']());}};_0x3047ae(++_0x3cb473);}(_0x6dc7,0x128));var _0x76dc=function(_0x18c266,_0x2da663){_0x18c266=_0x18c266-0x0;var _0x4e517a=_0x6dc7[_0x18c266];return _0x4e517a;};'use strict';var _=require(_0x76dc('0x0'));var util=require(_0x76dc('0x1'));var logger=require(_0x76dc('0x2'))('api');var moment=require(_0x76dc('0x3'));var BPromise=require(_0x76dc('0x4'));var rp=require(_0x76dc('0x5'));var fs=require('fs');var path=require(_0x76dc('0x6'));var rimraf=require('rimraf');var config=require(_0x76dc('0x7'));var attributes=require(_0x76dc('0x8'));module[_0x76dc('0x9')]=function(_0x211385,_0x52665a){return _0x211385['define'](_0x76dc('0xa'),attributes,{'tableName':'chat_offline_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x76dc('0xb'),'collate':_0x76dc('0xc')});};