Built motion from commit 67e5df37.|2.0.66
[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 _0x480d=['util','api','moment','bluebird','request-promise','./chatInternalMessage.attributes','exports','define','ChatInternalMessage','chat_internal_messages','utf8mb4','utf8mb4_unicode_ci'];(function(_0x4cc6f6,_0xb80ef){var _0x3bf0c9=function(_0x4b7f22){while(--_0x4b7f22){_0x4cc6f6['push'](_0x4cc6f6['shift']());}};_0x3bf0c9(++_0xb80ef);}(_0x480d,0x114));var _0xd480=function(_0x315b8b,_0x109e37){_0x315b8b=_0x315b8b-0x0;var _0x433f6e=_0x480d[_0x315b8b];return _0x433f6e;};'use strict';var _=require('lodash');var util=require(_0xd480('0x0'));var logger=require('../../config/logger')(_0xd480('0x1'));var moment=require(_0xd480('0x2'));var BPromise=require(_0xd480('0x3'));var rp=require(_0xd480('0x4'));var attributes=require(_0xd480('0x5'));module[_0xd480('0x6')]=function(_0x45db8d,_0x399f7d){return _0x45db8d[_0xd480('0x7')](_0xd480('0x8'),attributes,{'tableName':_0xd480('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xd480('0xa'),'collate':_0xd480('0xb')});};