Built motion from commit a8c4dd89.|2.6.33
[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 _0x84ca=['rimraf','../../config/environment','./chatInternalMessage.attributes','exports','define','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird','request-promise'];(function(_0x33acc2,_0x198db3){var _0x29f09d=function(_0x3c527e){while(--_0x3c527e){_0x33acc2['push'](_0x33acc2['shift']());}};_0x29f09d(++_0x198db3);}(_0x84ca,0xca));var _0xa84c=function(_0x5ec57a,_0x4fb107){_0x5ec57a=_0x5ec57a-0x0;var _0x2b717b=_0x84ca[_0x5ec57a];return _0x2b717b;};'use strict';var _=require(_0xa84c('0x0'));var util=require(_0xa84c('0x1'));var logger=require('../../config/logger')(_0xa84c('0x2'));var moment=require(_0xa84c('0x3'));var BPromise=require(_0xa84c('0x4'));var rp=require(_0xa84c('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa84c('0x6'));var config=require(_0xa84c('0x7'));var attributes=require(_0xa84c('0x8'));module[_0xa84c('0x9')]=function(_0x522894,_0x13b07c){return _0x522894[_0xa84c('0xa')]('ChatInternalMessage',attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xa84c('0xb'),'collate':_0xa84c('0xc')});};