6f6cc71fe9afa7db09b20bb8c6054d581c02f4d1
[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 _0xde52=['request-promise','rimraf','../../config/environment','./userNotification.attributes','exports','define','UserNotification','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird'];(function(_0x35b195,_0x8893d5){var _0x2433bf=function(_0x22be07){while(--_0x22be07){_0x35b195['push'](_0x35b195['shift']());}};_0x2433bf(++_0x8893d5);}(_0xde52,0x1c9));var _0x2de5=function(_0x367577,_0x3c0484){_0x367577=_0x367577-0x0;var _0x1865c6=_0xde52[_0x367577];return _0x1865c6;};'use strict';var _=require(_0x2de5('0x0'));var util=require(_0x2de5('0x1'));var logger=require('../../config/logger')(_0x2de5('0x2'));var moment=require(_0x2de5('0x3'));var BPromise=require(_0x2de5('0x4'));var rp=require(_0x2de5('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x2de5('0x6'));var config=require(_0x2de5('0x7'));var attributes=require(_0x2de5('0x8'));module[_0x2de5('0x9')]=function(_0x103d62,_0x1a5acc){return _0x103d62[_0x2de5('0xa')](_0x2de5('0xb'),attributes,{'tableName':'userNotifications','paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x2de5('0xc'),'collate':_0x2de5('0xd')});};