Built motion from commit (unavailable).|2.5.13
[motion2.git] / server / api / notification / notification.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 _0xf15b=['./notification.attributes','exports','define','Notification','notifications','utf8mb4','utf8mb4_unicode_ci','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf'];(function(_0x465a0c,_0x19d4d5){var _0x1e202e=function(_0x27bd8a){while(--_0x27bd8a){_0x465a0c['push'](_0x465a0c['shift']());}};_0x1e202e(++_0x19d4d5);}(_0xf15b,0x1c9));var _0xbf15=function(_0xc7d00e,_0x53faef){_0xc7d00e=_0xc7d00e-0x0;var _0x39bf39=_0xf15b[_0xc7d00e];return _0x39bf39;};'use strict';var _=require(_0xbf15('0x0'));var util=require(_0xbf15('0x1'));var logger=require(_0xbf15('0x2'))(_0xbf15('0x3'));var moment=require(_0xbf15('0x4'));var BPromise=require(_0xbf15('0x5'));var rp=require(_0xbf15('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbf15('0x7'));var config=require('../../config/environment');var attributes=require(_0xbf15('0x8'));module[_0xbf15('0x9')]=function(_0x4a4844,_0x47cb5d){return _0x4a4844[_0xbf15('0xa')](_0xbf15('0xb'),attributes,{'tableName':_0xbf15('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xbf15('0xd'),'collate':_0xbf15('0xe')});};