3aec383aacaaf229c56b6ac5ba4f96d3ec13ed80
[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 _0x1baf=['lodash','util','../../config/logger','api','moment','bluebird','request-promise','path','../../config/environment','./dashboardItem.attributes','exports','define','dashboard_items'];(function(_0x1d669e,_0x4921c9){var _0x1d1ec7=function(_0x332a50){while(--_0x332a50){_0x1d669e['push'](_0x1d669e['shift']());}};_0x1d1ec7(++_0x4921c9);}(_0x1baf,0x111));var _0xf1ba=function(_0x245e4d,_0x5efed5){_0x245e4d=_0x245e4d-0x0;var _0x419464=_0x1baf[_0x245e4d];return _0x419464;};'use strict';var _=require(_0xf1ba('0x0'));var util=require(_0xf1ba('0x1'));var logger=require(_0xf1ba('0x2'))(_0xf1ba('0x3'));var moment=require(_0xf1ba('0x4'));var BPromise=require(_0xf1ba('0x5'));var rp=require(_0xf1ba('0x6'));var fs=require('fs');var path=require(_0xf1ba('0x7'));var rimraf=require('rimraf');var config=require(_0xf1ba('0x8'));var attributes=require(_0xf1ba('0x9'));module[_0xf1ba('0xa')]=function(_0x283d17,_0xd06682){return _0x283d17[_0xf1ba('0xb')]('DashboardItem',attributes,{'tableName':_0xf1ba('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};