Built motion from commit (unavailable).|2.3.6
[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 _0x78ad=['bluebird','./chatInternalMessage.attributes','exports','define','ChatInternalMessage','utf8mb4_unicode_ci','lodash','util'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0x78ad,0xd6));var _0xd78a=function(_0xcc848f,_0x4ae517){_0xcc848f=_0xcc848f-0x0;var _0x6c52d4=_0x78ad[_0xcc848f];return _0x6c52d4;};'use strict';var _=require(_0xd78a('0x0'));var util=require(_0xd78a('0x1'));var logger=require('../../config/logger')('api');var moment=require('moment');var BPromise=require(_0xd78a('0x2'));var rp=require('request-promise');var attributes=require(_0xd78a('0x3'));module[_0xd78a('0x4')]=function(_0x576888,_0x34c062){return _0x576888[_0xd78a('0x5')](_0xd78a('0x6'),attributes,{'tableName':'chat_internal_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xd78a('0x7')});};