Built motion from commit 10af8726.|2.6.34
[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 _0xf8e3=['request-promise','path','rimraf','../../config/environment','./chatInternalMessage.attributes','exports','define','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','moment','bluebird'];(function(_0x1c9eeb,_0x1c260b){var _0x2cc1ed=function(_0x226561){while(--_0x226561){_0x1c9eeb['push'](_0x1c9eeb['shift']());}};_0x2cc1ed(++_0x1c260b);}(_0xf8e3,0x159));var _0x3f8e=function(_0x3d55a4,_0x57d61b){_0x3d55a4=_0x3d55a4-0x0;var _0x38c5c4=_0xf8e3[_0x3d55a4];return _0x38c5c4;};'use strict';var _=require(_0x3f8e('0x0'));var util=require(_0x3f8e('0x1'));var logger=require(_0x3f8e('0x2'))('api');var moment=require(_0x3f8e('0x3'));var BPromise=require(_0x3f8e('0x4'));var rp=require(_0x3f8e('0x5'));var fs=require('fs');var path=require(_0x3f8e('0x6'));var rimraf=require(_0x3f8e('0x7'));var config=require(_0x3f8e('0x8'));var attributes=require(_0x3f8e('0x9'));module[_0x3f8e('0xa')]=function(_0x47a548,_0x3ca6f7){return _0x47a548[_0x3f8e('0xb')]('ChatInternalMessage',attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x3f8e('0xc'),'collate':_0x3f8e('0xd')});};