74c93cc0f1f0f285f0e7e567604218951d4b99a8
[motion2.git] / server / api / chatInternalMessage / chatInternalMessage.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 _0xcfe5=['../../config/environment','./chatInternalMessage.attributes','exports','ChatInternalMessage','chat_internal_messages','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird','request-promise','rimraf'];(function(_0x48d64c,_0x1342b7){var _0x201c70=function(_0x2e290e){while(--_0x2e290e){_0x48d64c['push'](_0x48d64c['shift']());}};_0x201c70(++_0x1342b7);}(_0xcfe5,0xf5));var _0x5cfe=function(_0x17e2e7,_0xe9e1d0){_0x17e2e7=_0x17e2e7-0x0;var _0x2ed751=_0xcfe5[_0x17e2e7];return _0x2ed751;};'use strict';var _=require(_0x5cfe('0x0'));var util=require(_0x5cfe('0x1'));var logger=require('../../config/logger')(_0x5cfe('0x2'));var moment=require(_0x5cfe('0x3'));var BPromise=require(_0x5cfe('0x4'));var rp=require(_0x5cfe('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x5cfe('0x6'));var config=require(_0x5cfe('0x7'));var attributes=require(_0x5cfe('0x8'));module[_0x5cfe('0x9')]=function(_0x3869ef,_0xf56d0a){return _0x3869ef['define'](_0x5cfe('0xa'),attributes,{'tableName':_0x5cfe('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x5cfe('0xc'),'collate':_0x5cfe('0xd')});};