Built motion from commit (unavailable).|2.5.23
[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 _0x366a=['../../config/environment','define','DashboardItem','dashboard_items','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x172e18,_0x182566){var _0x5b5007=function(_0x3c9459){while(--_0x3c9459){_0x172e18['push'](_0x172e18['shift']());}};_0x5b5007(++_0x182566);}(_0x366a,0x1e8));var _0xa366=function(_0x29aefc,_0x4dcf53){_0x29aefc=_0x29aefc-0x0;var _0x11be36=_0x366a[_0x29aefc];return _0x11be36;};'use strict';var _=require('lodash');var util=require(_0xa366('0x0'));var logger=require(_0xa366('0x1'))(_0xa366('0x2'));var moment=require(_0xa366('0x3'));var BPromise=require(_0xa366('0x4'));var rp=require(_0xa366('0x5'));var fs=require('fs');var path=require(_0xa366('0x6'));var rimraf=require('rimraf');var config=require(_0xa366('0x7'));var attributes=require('./dashboardItem.attributes');module['exports']=function(_0x4bc522,_0x9f2c68){return _0x4bc522[_0xa366('0x8')](_0xa366('0x9'),attributes,{'tableName':_0xa366('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};