Built motion from commit 3c2ce842.|2.6.31
[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 _0x9abf=['util','../../config/logger','request-promise','rimraf','../../config/environment','./dashboardItem.attributes','exports','DashboardItem','lodash'];(function(_0x9db5d3,_0x4eea5e){var _0x477a81=function(_0x28e774){while(--_0x28e774){_0x9db5d3['push'](_0x9db5d3['shift']());}};_0x477a81(++_0x4eea5e);}(_0x9abf,0xd7));var _0xf9ab=function(_0x57b54c,_0x54ce0d){_0x57b54c=_0x57b54c-0x0;var _0x59cc19=_0x9abf[_0x57b54c];return _0x59cc19;};'use strict';var _=require(_0xf9ab('0x0'));var util=require(_0xf9ab('0x1'));var logger=require(_0xf9ab('0x2'))('api');var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0xf9ab('0x3'));var fs=require('fs');var path=require('path');var rimraf=require(_0xf9ab('0x4'));var config=require(_0xf9ab('0x5'));var attributes=require(_0xf9ab('0x6'));module[_0xf9ab('0x7')]=function(_0x4ee567,_0x415cc5){return _0x4ee567['define'](_0xf9ab('0x8'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};