Built motion from commit 753c950e.|2.5.42
[motion2.git] / server / api / userNotification / userNotification.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 _0xf186=['bluebird','request-promise','path','rimraf','../../config/environment','./userNotification.attributes','exports','UserNotification','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment'];(function(_0x2c5315,_0x2ce9bc){var _0x4e10f2=function(_0x169dd8){while(--_0x169dd8){_0x2c5315['push'](_0x2c5315['shift']());}};_0x4e10f2(++_0x2ce9bc);}(_0xf186,0xb2));var _0x6f18=function(_0x3fdb80,_0x4ddbb4){_0x3fdb80=_0x3fdb80-0x0;var _0x164a38=_0xf186[_0x3fdb80];return _0x164a38;};'use strict';var _=require(_0x6f18('0x0'));var util=require(_0x6f18('0x1'));var logger=require('../../config/logger')(_0x6f18('0x2'));var moment=require(_0x6f18('0x3'));var BPromise=require(_0x6f18('0x4'));var rp=require(_0x6f18('0x5'));var fs=require('fs');var path=require(_0x6f18('0x6'));var rimraf=require(_0x6f18('0x7'));var config=require(_0x6f18('0x8'));var attributes=require(_0x6f18('0x9'));module[_0x6f18('0xa')]=function(_0x5030d9,_0x599705){return _0x5030d9['define'](_0x6f18('0xb'),attributes,{'tableName':'userNotifications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x6f18('0xc'),'collate':_0x6f18('0xd')});};