Built motion from commit 9d1906d1.|2.5.40
[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 _0x9ca3=['lodash','util','../../config/logger','api','bluebird','request-promise','rimraf','../../config/environment','./chatInternalMessage.attributes','define','ChatInternalMessage','utf8mb4_unicode_ci'];(function(_0xa39512,_0xcf9ccc){var _0x28744a=function(_0x54d01e){while(--_0x54d01e){_0xa39512['push'](_0xa39512['shift']());}};_0x28744a(++_0xcf9ccc);}(_0x9ca3,0x150));var _0x39ca=function(_0x23a9a8,_0x32fd3a){_0x23a9a8=_0x23a9a8-0x0;var _0x8d62d=_0x9ca3[_0x23a9a8];return _0x8d62d;};'use strict';var _=require(_0x39ca('0x0'));var util=require(_0x39ca('0x1'));var logger=require(_0x39ca('0x2'))(_0x39ca('0x3'));var moment=require('moment');var BPromise=require(_0x39ca('0x4'));var rp=require(_0x39ca('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x39ca('0x6'));var config=require(_0x39ca('0x7'));var attributes=require(_0x39ca('0x8'));module['exports']=function(_0x2b6335,_0x36b56e){return _0x2b6335[_0x39ca('0x9')](_0x39ca('0xa'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x39ca('0xb')});};