Built motion from commit (unavailable).|2.5.24
[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 _0xc367=['path','rimraf','../../config/environment','define','DashboardItem','dashboard_items','util','../../config/logger','api','request-promise'];(function(_0x529abc,_0x17b97e){var _0x453afa=function(_0x536263){while(--_0x536263){_0x529abc['push'](_0x529abc['shift']());}};_0x453afa(++_0x17b97e);}(_0xc367,0x132));var _0x7c36=function(_0x12546e,_0x49a072){_0x12546e=_0x12546e-0x0;var _0x5173d9=_0xc367[_0x12546e];return _0x5173d9;};'use strict';var _=require('lodash');var util=require(_0x7c36('0x0'));var logger=require(_0x7c36('0x1'))(_0x7c36('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x7c36('0x3'));var fs=require('fs');var path=require(_0x7c36('0x4'));var rimraf=require(_0x7c36('0x5'));var config=require(_0x7c36('0x6'));var attributes=require('./dashboardItem.attributes');module['exports']=function(_0x2e7211,_0x22e221){return _0x2e7211[_0x7c36('0x7')](_0x7c36('0x8'),attributes,{'tableName':_0x7c36('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};