Built motion from commit d5e4af8c.|2.6.23
[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 _0x6941=['utf8mb4','lodash','../../config/logger','api','moment','bluebird','request-promise','path','rimraf','./chatInternalMessage.attributes','exports','define','ChatInternalMessage'];(function(_0x3cb93a,_0x5048cf){var _0x49b7b7=function(_0x2bb13d){while(--_0x2bb13d){_0x3cb93a['push'](_0x3cb93a['shift']());}};_0x49b7b7(++_0x5048cf);}(_0x6941,0xaa));var _0x1694=function(_0x5b561d,_0x422b7c){_0x5b561d=_0x5b561d-0x0;var _0x431060=_0x6941[_0x5b561d];return _0x431060;};'use strict';var _=require(_0x1694('0x0'));var util=require('util');var logger=require(_0x1694('0x1'))(_0x1694('0x2'));var moment=require(_0x1694('0x3'));var BPromise=require(_0x1694('0x4'));var rp=require(_0x1694('0x5'));var fs=require('fs');var path=require(_0x1694('0x6'));var rimraf=require(_0x1694('0x7'));var config=require('../../config/environment');var attributes=require(_0x1694('0x8'));module[_0x1694('0x9')]=function(_0x5273e6,_0x447d63){return _0x5273e6[_0x1694('0xa')](_0x1694('0xb'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x1694('0xc'),'collate':'utf8mb4_unicode_ci'});};