35630ee6d65c798962ebe75940ee60c626f5f2fe
[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 _0x9931=['define','UserNotification','userNotifications','utf8mb4','utf8mb4_unicode_ci','util','../../config/logger','api','moment','bluebird','request-promise','path','./userNotification.attributes'];(function(_0x6cbed8,_0x4168df){var _0x1a07c3=function(_0xaa8ffc){while(--_0xaa8ffc){_0x6cbed8['push'](_0x6cbed8['shift']());}};_0x1a07c3(++_0x4168df);}(_0x9931,0x116));var _0x1993=function(_0x7b0525,_0x2d543c){_0x7b0525=_0x7b0525-0x0;var _0x4aec09=_0x9931[_0x7b0525];return _0x4aec09;};'use strict';var _=require('lodash');var util=require(_0x1993('0x0'));var logger=require(_0x1993('0x1'))(_0x1993('0x2'));var moment=require(_0x1993('0x3'));var BPromise=require(_0x1993('0x4'));var rp=require(_0x1993('0x5'));var fs=require('fs');var path=require(_0x1993('0x6'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x1993('0x7'));module['exports']=function(_0x5940ce,_0x432da3){return _0x5940ce[_0x1993('0x8')](_0x1993('0x9'),attributes,{'tableName':_0x1993('0xa'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0x1993('0xb'),'collate':_0x1993('0xc')});};