Built motion from commit (unavailable).|2.3.4
[motion2.git] / server / api / chatOfflineMessage / chatOfflineMessage.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 _0xb0ea=['moment','request-promise','ChatOfflineMessage','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api'];(function(_0x2cfd8b,_0x4ee0ec){var _0x52277e=function(_0x514a8d){while(--_0x514a8d){_0x2cfd8b['push'](_0x2cfd8b['shift']());}};_0x52277e(++_0x4ee0ec);}(_0xb0ea,0x176));var _0xab0e=function(_0xef8e69,_0xbc78ff){_0xef8e69=_0xef8e69-0x0;var _0x463ee6=_0xb0ea[_0xef8e69];return _0x463ee6;};'use strict';var _=require(_0xab0e('0x0'));var util=require(_0xab0e('0x1'));var logger=require(_0xab0e('0x2'))(_0xab0e('0x3'));var moment=require(_0xab0e('0x4'));var BPromise=require('bluebird');var rp=require(_0xab0e('0x5'));var attributes=require('./chatOfflineMessage.attributes');module['exports']=function(_0x1dc722,_0x250f3e){return _0x1dc722['define'](_0xab0e('0x6'),attributes,{'tableName':'chat_offline_messages','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xab0e('0x7'),'collate':_0xab0e('0x8')});};