Built motion from commit 96f8de6d.|2.6.3
[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 _0x628a=['request-promise','path','rimraf','./userNotification.attributes','exports','UserNotification','userNotifications','utf8mb4','utf8mb4_unicode_ci','lodash','util','api','moment','bluebird'];(function(_0x1e8ad7,_0x1e4171){var _0x157ebb=function(_0x206975){while(--_0x206975){_0x1e8ad7['push'](_0x1e8ad7['shift']());}};_0x157ebb(++_0x1e4171);}(_0x628a,0x1bb));var _0xa628=function(_0x2ade8f,_0x4b65f1){_0x2ade8f=_0x2ade8f-0x0;var _0x153c70=_0x628a[_0x2ade8f];return _0x153c70;};'use strict';var _=require(_0xa628('0x0'));var util=require(_0xa628('0x1'));var logger=require('../../config/logger')(_0xa628('0x2'));var moment=require(_0xa628('0x3'));var BPromise=require(_0xa628('0x4'));var rp=require(_0xa628('0x5'));var fs=require('fs');var path=require(_0xa628('0x6'));var rimraf=require(_0xa628('0x7'));var config=require('../../config/environment');var attributes=require(_0xa628('0x8'));module[_0xa628('0x9')]=function(_0x1ce648,_0x4afbae){return _0x1ce648['define'](_0xa628('0xa'),attributes,{'tableName':_0xa628('0xb'),'paranoid':![],'indexes':[],'timestamps':!![],'charset':_0xa628('0xc'),'collate':_0xa628('0xd')});};