d12065e71115f5c93b9bee86cc4e93b0c21edded
[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 _0x28c8=['dashboard_items','util','../../config/logger','api','moment','path','../../config/environment','./dashboardItem.attributes','exports','define'];(function(_0x3dc089,_0x5ccb0d){var _0x34d9d3=function(_0x4556bf){while(--_0x4556bf){_0x3dc089['push'](_0x3dc089['shift']());}};_0x34d9d3(++_0x5ccb0d);}(_0x28c8,0x97));var _0x828c=function(_0x4e170e,_0x207e58){_0x4e170e=_0x4e170e-0x0;var _0x338291=_0x28c8[_0x4e170e];return _0x338291;};'use strict';var _=require('lodash');var util=require(_0x828c('0x0'));var logger=require(_0x828c('0x1'))(_0x828c('0x2'));var moment=require(_0x828c('0x3'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x828c('0x4'));var rimraf=require('rimraf');var config=require(_0x828c('0x5'));var attributes=require(_0x828c('0x6'));module[_0x828c('0x7')]=function(_0x3154a0,_0x447206){return _0x3154a0[_0x828c('0x8')]('DashboardItem',attributes,{'tableName':_0x828c('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};