Built motion from commit (unavailable).|2.3.0
[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 _0x3879=['bluebird','exports','define','chat_internal_messages','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api'];(function(_0x3786e6,_0x571868){var _0x23005b=function(_0x145a45){while(--_0x145a45){_0x3786e6['push'](_0x3786e6['shift']());}};_0x23005b(++_0x571868);}(_0x3879,0x1aa));var _0x9387=function(_0x3342cd,_0x17242d){_0x3342cd=_0x3342cd-0x0;var _0xedf311=_0x3879[_0x3342cd];return _0xedf311;};'use strict';var _=require(_0x9387('0x0'));var util=require(_0x9387('0x1'));var logger=require(_0x9387('0x2'))(_0x9387('0x3'));var moment=require('moment');var BPromise=require(_0x9387('0x4'));var rp=require('request-promise');var attributes=require('./chatInternalMessage.attributes');module[_0x9387('0x5')]=function(_0x5ec350,_0x134ddd){return _0x5ec350[_0x9387('0x6')]('ChatInternalMessage',attributes,{'tableName':_0x9387('0x7'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x9387('0x8'),'collate':_0x9387('0x9')});};