Built motion from commit e1760111.|2.6.18
[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 _0x8c91=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','lodash','util','../../config/logger'];(function(_0x139c3e,_0x584ed6){var _0x1fe091=function(_0xb73a13){while(--_0xb73a13){_0x139c3e['push'](_0x139c3e['shift']());}};_0x1fe091(++_0x584ed6);}(_0x8c91,0x169));var _0x18c9=function(_0x3cdf83,_0x43f5bf){_0x3cdf83=_0x3cdf83-0x0;var _0xd1c42a=_0x8c91[_0x3cdf83];return _0xd1c42a;};'use strict';var _=require(_0x18c9('0x0'));var util=require(_0x18c9('0x1'));var logger=require(_0x18c9('0x2'))('api');var moment=require(_0x18c9('0x3'));var BPromise=require(_0x18c9('0x4'));var rp=require(_0x18c9('0x5'));var fs=require('fs');var path=require(_0x18c9('0x6'));var rimraf=require(_0x18c9('0x7'));var config=require(_0x18c9('0x8'));var attributes=require(_0x18c9('0x9'));module[_0x18c9('0xa')]=function(_0x513820,_0x48cd1b){return _0x513820[_0x18c9('0xb')](_0x18c9('0xc'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};