9eb9345dfb6ddc60938b91fc11a1c2b3bba6041e
[motion2.git] / server / api / dashboardItem / dashboardItem.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 _0x724f=['bluebird','request-promise','path','../../config/environment','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','moment'];(function(_0x4fde08,_0x463a36){var _0x12e725=function(_0x2670c5){while(--_0x2670c5){_0x4fde08['push'](_0x4fde08['shift']());}};_0x12e725(++_0x463a36);}(_0x724f,0x1ea));var _0xf724=function(_0x395c5c,_0x356449){_0x395c5c=_0x395c5c-0x0;var _0x12cf5b=_0x724f[_0x395c5c];return _0x12cf5b;};'use strict';var _=require(_0xf724('0x0'));var util=require(_0xf724('0x1'));var logger=require(_0xf724('0x2'))(_0xf724('0x3'));var moment=require(_0xf724('0x4'));var BPromise=require(_0xf724('0x5'));var rp=require(_0xf724('0x6'));var fs=require('fs');var path=require(_0xf724('0x7'));var rimraf=require('rimraf');var config=require(_0xf724('0x8'));var attributes=require('./dashboardItem.attributes');module['exports']=function(_0x48bcb6,_0x285835){return _0x48bcb6['define'](_0xf724('0x9'),attributes,{'tableName':_0xf724('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};