Built motion from commit (unavailable).|2.5.30
[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 _0x25c4=['../../config/environment','exports','define','util','../../config/logger','moment','request-promise','path','rimraf'];(function(_0x29048d,_0x3617a2){var _0x4c0050=function(_0x4f2033){while(--_0x4f2033){_0x29048d['push'](_0x29048d['shift']());}};_0x4c0050(++_0x3617a2);}(_0x25c4,0x1aa));var _0x425c=function(_0x35181c,_0x82694a){_0x35181c=_0x35181c-0x0;var _0xe14bf9=_0x25c4[_0x35181c];return _0xe14bf9;};'use strict';var _=require('lodash');var util=require(_0x425c('0x0'));var logger=require(_0x425c('0x1'))('api');var moment=require(_0x425c('0x2'));var BPromise=require('bluebird');var rp=require(_0x425c('0x3'));var fs=require('fs');var path=require(_0x425c('0x4'));var rimraf=require(_0x425c('0x5'));var config=require(_0x425c('0x6'));var attributes=require('./dashboardItem.attributes');module[_0x425c('0x7')]=function(_0x256509,_0x1f4177){return _0x256509[_0x425c('0x8')]('DashboardItem',attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};