Built motion from commit (unavailable).|2.3.1
[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 _0xd0ca=['request-promise','./chatInternalMessage.attributes','exports','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','api','bluebird'];(function(_0x5b5424,_0xb34e70){var _0x1278e5=function(_0x10f0cc){while(--_0x10f0cc){_0x5b5424['push'](_0x5b5424['shift']());}};_0x1278e5(++_0xb34e70);}(_0xd0ca,0xf8));var _0xad0c=function(_0x32fb40,_0x459813){_0x32fb40=_0x32fb40-0x0;var _0x52cef8=_0xd0ca[_0x32fb40];return _0x52cef8;};'use strict';var _=require(_0xad0c('0x0'));var util=require('util');var logger=require(_0xad0c('0x1'))(_0xad0c('0x2'));var moment=require('moment');var BPromise=require(_0xad0c('0x3'));var rp=require(_0xad0c('0x4'));var attributes=require(_0xad0c('0x5'));module[_0xad0c('0x6')]=function(_0x9f7e6b,_0xb22622){return _0x9f7e6b['define']('ChatInternalMessage',attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xad0c('0x7'),'collate':_0xad0c('0x8')});};