db1dcb9fb58c262fa75830f3920a8e41c39274f9
[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 _0x9c05=['dashboard_items','util','../../config/logger','moment','request-promise','./dashboardItem.attributes','exports','define'];(function(_0x2f42e8,_0x550990){var _0x58d14a=function(_0x3d031a){while(--_0x3d031a){_0x2f42e8['push'](_0x2f42e8['shift']());}};_0x58d14a(++_0x550990);}(_0x9c05,0x119));var _0x59c0=function(_0x555834,_0x2ce447){_0x555834=_0x555834-0x0;var _0xc59b6d=_0x9c05[_0x555834];return _0xc59b6d;};'use strict';var _=require('lodash');var util=require(_0x59c0('0x0'));var logger=require(_0x59c0('0x1'))('api');var moment=require(_0x59c0('0x2'));var BPromise=require('bluebird');var rp=require(_0x59c0('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x59c0('0x4'));module[_0x59c0('0x5')]=function(_0x5d7825,_0x3cea98){return _0x5d7825[_0x59c0('0x6')]('DashboardItem',attributes,{'tableName':_0x59c0('0x7'),'paranoid':![],'indexes':[],'timestamps':!![]});};