976ea07d323240e075a96c9a8d97ea998509ddc9
[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 _0xe50e=['exports','define','DashboardItem','lodash','../../config/logger','moment','bluebird','path','rimraf','./dashboardItem.attributes'];(function(_0x4fdcc0,_0x560a01){var _0xc0ce94=function(_0x36ea12){while(--_0x36ea12){_0x4fdcc0['push'](_0x4fdcc0['shift']());}};_0xc0ce94(++_0x560a01);}(_0xe50e,0x1c5));var _0xee50=function(_0x29c229,_0x347a28){_0x29c229=_0x29c229-0x0;var _0xfc4f8c=_0xe50e[_0x29c229];return _0xfc4f8c;};'use strict';var _=require(_0xee50('0x0'));var util=require('util');var logger=require(_0xee50('0x1'))('api');var moment=require(_0xee50('0x2'));var BPromise=require(_0xee50('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xee50('0x4'));var rimraf=require(_0xee50('0x5'));var config=require('../../config/environment');var attributes=require(_0xee50('0x6'));module[_0xee50('0x7')]=function(_0x48452f,_0x2cf1eb){return _0x48452f[_0xee50('0x8')](_0xee50('0x9'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};