Built motion from commit 936e8062.|2.5.33
[motion2.git] / server / api / chatOfflineMessage / chatOfflineMessage.model.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xfc24=['util','../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./chatOfflineMessage.attributes','exports','define','chat_offline_messages','utf8mb4','utf8mb4_unicode_ci','lodash'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xfc24,0x13a));var _0x4fc2=function(_0x599f41,_0x4db732){_0x599f41=_0x599f41-0x0;var _0x2e4d58=_0xfc24[_0x599f41];return _0x2e4d58;};'use strict';var _=require(_0x4fc2('0x0'));var util=require(_0x4fc2('0x1'));var logger=require(_0x4fc2('0x2'))(_0x4fc2('0x3'));var moment=require(_0x4fc2('0x4'));var BPromise=require('bluebird');var rp=require(_0x4fc2('0x5'));var fs=require('fs');var path=require(_0x4fc2('0x6'));var rimraf=require(_0x4fc2('0x7'));var config=require(_0x4fc2('0x8'));var attributes=require(_0x4fc2('0x9'));module[_0x4fc2('0xa')]=function(_0x369790,_0x42e45d){return _0x369790[_0x4fc2('0xb')]('ChatOfflineMessage',attributes,{'tableName':_0x4fc2('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x4fc2('0xd'),'collate':_0x4fc2('0xe')});};