1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x13f6=['rimraf','../../config/environment','./userNotification.attributes','utf8mb4_unicode_ci','lodash','util','moment','bluebird','request-promise'];(function(_0x3c119d,_0x3a9657){var _0x40581d=function(_0x250459){while(--_0x250459){_0x3c119d['push'](_0x3c119d['shift']());}};_0x40581d(++_0x3a9657);}(_0x13f6,0x124));var _0x613f=function(_0x489037,_0x33b120){_0x489037=_0x489037-0x0;var _0x380d49=_0x13f6[_0x489037];return _0x380d49;};'use strict';var _=require(_0x613f('0x0'));var util=require(_0x613f('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x613f('0x2'));var BPromise=require(_0x613f('0x3'));var rp=require(_0x613f('0x4'));var fs=require('fs');var path=require('path');var rimraf=require(_0x613f('0x5'));var config=require(_0x613f('0x6'));var attributes=require(_0x613f('0x7'));module['exports']=function(_0x3f3525,_0x2367b3){return _0x3f3525['define']('UserNotification',attributes,{'tableName':'userNotifications','paranoid':![],'indexes':[],'timestamps':!![],'charset':'utf8mb4','collate':_0x613f('0x8')});};