ed8de45ee9b722d7b6bccfec4c3c579fda04fcdc
[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 _0xef3a=['path','rimraf','../../config/environment','./userNotification.attributes','define','userNotifications','utf8mb4_unicode_ci','util','../../config/logger','moment','bluebird','request-promise'];(function(_0x3d2183,_0x76a00f){var _0x297b3e=function(_0x197c92){while(--_0x197c92){_0x3d2183['push'](_0x3d2183['shift']());}};_0x297b3e(++_0x76a00f);}(_0xef3a,0x157));var _0xaef3=function(_0x200aa5,_0x197802){_0x200aa5=_0x200aa5-0x0;var _0x458200=_0xef3a[_0x200aa5];return _0x458200;};'use strict';var _=require('lodash');var util=require(_0xaef3('0x0'));var logger=require(_0xaef3('0x1'))('api');var moment=require(_0xaef3('0x2'));var BPromise=require(_0xaef3('0x3'));var rp=require(_0xaef3('0x4'));var fs=require('fs');var path=require(_0xaef3('0x5'));var rimraf=require(_0xaef3('0x6'));var config=require(_0xaef3('0x7'));var attributes=require(_0xaef3('0x8'));module['exports']=function(_0x340aa6,_0xf95191){return _0x340aa6[_0xaef3('0x9')]('UserNotification',attributes,{'tableName':_0xaef3('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0xaef3('0xb')});};