Built motion from commit 47436d59.|2.6.7
[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 _0x503f=['./userNotification.attributes','exports','define','UserNotification','userNotifications','utf8mb4','utf8mb4_unicode_ci','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment'];(function(_0x40e60f,_0x5365e1){var _0x35511f=function(_0x41df2d){while(--_0x41df2d){_0x40e60f['push'](_0x40e60f['shift']());}};_0x35511f(++_0x5365e1);}(_0x503f,0x18d));var _0xf503=function(_0x51fb1e,_0x48904f){_0x51fb1e=_0x51fb1e-0x0;var _0x4b28b7=_0x503f[_0x51fb1e];return _0x4b28b7;};'use strict';var _=require(_0xf503('0x0'));var util=require('util');var logger=require(_0xf503('0x1'))('api');var moment=require(_0xf503('0x2'));var BPromise=require(_0xf503('0x3'));var rp=require(_0xf503('0x4'));var fs=require('fs');var path=require(_0xf503('0x5'));var rimraf=require(_0xf503('0x6'));var config=require(_0xf503('0x7'));var attributes=require(_0xf503('0x8'));module[_0xf503('0x9')]=function(_0x55fdff,_0x397088){return _0x55fdff[_0xf503('0xa')](_0xf503('0xb'),attributes,{'tableName':_0xf503('0xc'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xf503('0xd'),'collate':_0xf503('0xe')});};