e099d2aa25c2a0b3f09dfbbcb57b02040b66ae98
[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 _0xc422=['../../config/logger','api','moment','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','lodash','util'];(function(_0xbfcd0c,_0x9a83a5){var _0x4c239c=function(_0x445f41){while(--_0x445f41){_0xbfcd0c['push'](_0xbfcd0c['shift']());}};_0x4c239c(++_0x9a83a5);}(_0xc422,0x124));var _0x2c42=function(_0x5c3faf,_0x48b8f3){_0x5c3faf=_0x5c3faf-0x0;var _0xf0b719=_0xc422[_0x5c3faf];return _0xf0b719;};'use strict';var _=require(_0x2c42('0x0'));var util=require(_0x2c42('0x1'));var logger=require(_0x2c42('0x2'))(_0x2c42('0x3'));var moment=require(_0x2c42('0x4'));var BPromise=require(_0x2c42('0x5'));var rp=require(_0x2c42('0x6'));var fs=require('fs');var path=require(_0x2c42('0x7'));var rimraf=require(_0x2c42('0x8'));var config=require(_0x2c42('0x9'));var attributes=require(_0x2c42('0xa'));module[_0x2c42('0xb')]=function(_0x57d2cc,_0x260a04){return _0x57d2cc[_0x2c42('0xc')](_0x2c42('0xd'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};