Built motion from commit (unavailable).|2.5.6
[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 _0x1272=['path','rimraf','../../config/environment','exports','define','dashboard_items','../../config/logger','api','moment','request-promise'];(function(_0x2085f3,_0x50105b){var _0x384e3c=function(_0x235fa0){while(--_0x235fa0){_0x2085f3['push'](_0x2085f3['shift']());}};_0x384e3c(++_0x50105b);}(_0x1272,0x1c8));var _0x2127=function(_0x33832e,_0x3fa9c4){_0x33832e=_0x33832e-0x0;var _0x24130d=_0x1272[_0x33832e];return _0x24130d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x2127('0x0'))(_0x2127('0x1'));var moment=require(_0x2127('0x2'));var BPromise=require('bluebird');var rp=require(_0x2127('0x3'));var fs=require('fs');var path=require(_0x2127('0x4'));var rimraf=require(_0x2127('0x5'));var config=require(_0x2127('0x6'));var attributes=require('./dashboardItem.attributes');module[_0x2127('0x7')]=function(_0x253321,_0x51c7f3){return _0x253321[_0x2127('0x8')]('DashboardItem',attributes,{'tableName':_0x2127('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};