Built motion from commit 97153652.|2.6.26
[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 _0xbe96=['request-promise','path','rimraf','../../config/environment','./userNotification.attributes','exports','userNotifications','utf8mb4_unicode_ci','lodash','util','../../config/logger'];(function(_0x152220,_0x38a858){var _0xcb20e2=function(_0x49cfdc){while(--_0x49cfdc){_0x152220['push'](_0x152220['shift']());}};_0xcb20e2(++_0x38a858);}(_0xbe96,0x1ec));var _0x6be9=function(_0x39a048,_0x865cc3){_0x39a048=_0x39a048-0x0;var _0xae44b9=_0xbe96[_0x39a048];return _0xae44b9;};'use strict';var _=require(_0x6be9('0x0'));var util=require(_0x6be9('0x1'));var logger=require(_0x6be9('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x6be9('0x3'));var fs=require('fs');var path=require(_0x6be9('0x4'));var rimraf=require(_0x6be9('0x5'));var config=require(_0x6be9('0x6'));var attributes=require(_0x6be9('0x7'));module[_0x6be9('0x8')]=function(_0x1f0e15,_0x5beb55){return _0x1f0e15['define']('UserNotification',attributes,{'tableName':_0x6be9('0x9'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x6be9('0xa')});};