Built motion from commit (unavailable).|2.5.16
[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 _0x0177=['api','moment','bluebird','request-promise','path','rimraf','../../config/environment','exports','define','DashboardItem','dashboard_items','lodash','../../config/logger'];(function(_0x498649,_0x2347a2){var _0x54639d=function(_0x1f9d1c){while(--_0x1f9d1c){_0x498649['push'](_0x498649['shift']());}};_0x54639d(++_0x2347a2);}(_0x0177,0x1d2));var _0x7017=function(_0x1fd78c,_0x510179){_0x1fd78c=_0x1fd78c-0x0;var _0x5846d8=_0x0177[_0x1fd78c];return _0x5846d8;};'use strict';var _=require(_0x7017('0x0'));var util=require('util');var logger=require(_0x7017('0x1'))(_0x7017('0x2'));var moment=require(_0x7017('0x3'));var BPromise=require(_0x7017('0x4'));var rp=require(_0x7017('0x5'));var fs=require('fs');var path=require(_0x7017('0x6'));var rimraf=require(_0x7017('0x7'));var config=require(_0x7017('0x8'));var attributes=require('./dashboardItem.attributes');module[_0x7017('0x9')]=function(_0x3f884f,_0x2ed030){return _0x3f884f[_0x7017('0xa')](_0x7017('0xb'),attributes,{'tableName':_0x7017('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};