Built motion from commit b5413ace.|2.6.9
[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 _0x211a=['dashboard_items','lodash','util','../../config/logger','moment','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','define'];(function(_0x5b19e6,_0xd95c5a){var _0x24f286=function(_0x585c87){while(--_0x585c87){_0x5b19e6['push'](_0x5b19e6['shift']());}};_0x24f286(++_0xd95c5a);}(_0x211a,0x64));var _0xa211=function(_0x58dbee,_0x4be613){_0x58dbee=_0x58dbee-0x0;var _0x3fdc98=_0x211a[_0x58dbee];return _0x3fdc98;};'use strict';var _=require(_0xa211('0x0'));var util=require(_0xa211('0x1'));var logger=require(_0xa211('0x2'))('api');var moment=require(_0xa211('0x3'));var BPromise=require('bluebird');var rp=require(_0xa211('0x4'));var fs=require('fs');var path=require(_0xa211('0x5'));var rimraf=require(_0xa211('0x6'));var config=require(_0xa211('0x7'));var attributes=require(_0xa211('0x8'));module['exports']=function(_0x515097,_0x39913a){return _0x515097[_0xa211('0x9')]('DashboardItem',attributes,{'tableName':_0xa211('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};