Built motion from commit 43538d75.|2.5.35
[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 _0x5c94=['rimraf','./chatInternalMessage.attributes','utf8mb4','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x4edb68,_0x58a318){var _0x1449f8=function(_0x4dcbd4){while(--_0x4dcbd4){_0x4edb68['push'](_0x4edb68['shift']());}};_0x1449f8(++_0x58a318);}(_0x5c94,0xfd));var _0x45c9=function(_0x48b0b8,_0x4ad52f){_0x48b0b8=_0x48b0b8-0x0;var _0x38b4ab=_0x5c94[_0x48b0b8];return _0x38b4ab;};'use strict';var _=require('lodash');var util=require(_0x45c9('0x0'));var logger=require(_0x45c9('0x1'))(_0x45c9('0x2'));var moment=require(_0x45c9('0x3'));var BPromise=require(_0x45c9('0x4'));var rp=require(_0x45c9('0x5'));var fs=require('fs');var path=require(_0x45c9('0x6'));var rimraf=require(_0x45c9('0x7'));var config=require('../../config/environment');var attributes=require(_0x45c9('0x8'));module['exports']=function(_0x4cad30,_0x509ad7){return _0x4cad30['define']('ChatInternalMessage',attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x45c9('0x9'),'collate':'utf8mb4_unicode_ci'});};