a5907fc4fa4e232af681904c7ec6e9872f4c0277
[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 _0xcb2d=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./userNotification.attributes','userNotifications','lodash','../../config/logger'];(function(_0x5c468f,_0x2e5c25){var _0x2136b0=function(_0x56b8a4){while(--_0x56b8a4){_0x5c468f['push'](_0x5c468f['shift']());}};_0x2136b0(++_0x2e5c25);}(_0xcb2d,0x106));var _0xdcb2=function(_0x41fb42,_0x365de7){_0x41fb42=_0x41fb42-0x0;var _0x3a9ac1=_0xcb2d[_0x41fb42];return _0x3a9ac1;};'use strict';var _=require(_0xdcb2('0x0'));var util=require('util');var logger=require(_0xdcb2('0x1'))(_0xdcb2('0x2'));var moment=require(_0xdcb2('0x3'));var BPromise=require(_0xdcb2('0x4'));var rp=require(_0xdcb2('0x5'));var fs=require('fs');var path=require(_0xdcb2('0x6'));var rimraf=require(_0xdcb2('0x7'));var config=require(_0xdcb2('0x8'));var attributes=require(_0xdcb2('0x9'));module['exports']=function(_0xdc1ed6,_0x5e6b5b){return _0xdc1ed6['define']('UserNotification',attributes,{'tableName':_0xdcb2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':'utf8mb4_unicode_ci'});};