Built motion from commit (unavailable).|2.5.29
[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 _0xb32a=['../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','bluebird','request-promise','rimraf'];(function(_0x207db1,_0x19c38c){var _0x3744e1=function(_0x1cd678){while(--_0x1cd678){_0x207db1['push'](_0x207db1['shift']());}};_0x3744e1(++_0x19c38c);}(_0xb32a,0xf0));var _0xab32=function(_0x2b8859,_0x558e8e){_0x2b8859=_0x2b8859-0x0;var _0x2f1c85=_0xb32a[_0x2b8859];return _0x2f1c85;};'use strict';var _=require(_0xab32('0x0'));var util=require(_0xab32('0x1'));var logger=require(_0xab32('0x2'))(_0xab32('0x3'));var moment=require('moment');var BPromise=require(_0xab32('0x4'));var rp=require(_0xab32('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xab32('0x6'));var config=require(_0xab32('0x7'));var attributes=require(_0xab32('0x8'));module[_0xab32('0x9')]=function(_0x2c71d8,_0x54cfd2){return _0x2c71d8[_0xab32('0xa')](_0xab32('0xb'),attributes,{'tableName':_0xab32('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};