Built motion from commit (unavailable).|2.5.27
[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 _0x5ea4=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','dashboard_items','lodash','util','../../config/logger','api'];(function(_0x135fab,_0x2c0e24){var _0x2b7ab1=function(_0xf94b9b){while(--_0xf94b9b){_0x135fab['push'](_0x135fab['shift']());}};_0x2b7ab1(++_0x2c0e24);}(_0x5ea4,0x130));var _0x45ea=function(_0x3ca874,_0x1e07c1){_0x3ca874=_0x3ca874-0x0;var _0xd8d930=_0x5ea4[_0x3ca874];return _0xd8d930;};'use strict';var _=require(_0x45ea('0x0'));var util=require(_0x45ea('0x1'));var logger=require(_0x45ea('0x2'))(_0x45ea('0x3'));var moment=require(_0x45ea('0x4'));var BPromise=require(_0x45ea('0x5'));var rp=require(_0x45ea('0x6'));var fs=require('fs');var path=require(_0x45ea('0x7'));var rimraf=require(_0x45ea('0x8'));var config=require(_0x45ea('0x9'));var attributes=require(_0x45ea('0xa'));module[_0x45ea('0xb')]=function(_0xe83f2a,_0x3ff257){return _0xe83f2a[_0x45ea('0xc')]('DashboardItem',attributes,{'tableName':_0x45ea('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};