b1a9b0232b897a43cc55bdb7935f06447b01c94e
[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 _0xd5dd=['DashboardItem','dashboard_items','lodash','util','../../config/logger','api','path','../../config/environment','./dashboardItem.attributes','exports'];(function(_0x53c80d,_0x34fbfd){var _0x4adb48=function(_0x6f8a75){while(--_0x6f8a75){_0x53c80d['push'](_0x53c80d['shift']());}};_0x4adb48(++_0x34fbfd);}(_0xd5dd,0xd4));var _0xdd5d=function(_0x4a8310,_0x387758){_0x4a8310=_0x4a8310-0x0;var _0x52aaaf=_0xd5dd[_0x4a8310];return _0x52aaaf;};'use strict';var _=require(_0xdd5d('0x0'));var util=require(_0xdd5d('0x1'));var logger=require(_0xdd5d('0x2'))(_0xdd5d('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0xdd5d('0x4'));var rimraf=require('rimraf');var config=require(_0xdd5d('0x5'));var attributes=require(_0xdd5d('0x6'));module[_0xdd5d('0x7')]=function(_0xdc772,_0x1eb977){return _0xdc772['define'](_0xdd5d('0x8'),attributes,{'tableName':_0xdd5d('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};