Built motion from commit (unavailable).|2.5.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 _0x134a=['../../config/logger','api','moment','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','util'];(function(_0x53aef4,_0x128d00){var _0x54188e=function(_0x4385ee){while(--_0x4385ee){_0x53aef4['push'](_0x53aef4['shift']());}};_0x54188e(++_0x128d00);}(_0x134a,0x77));var _0xa134=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x134a[_0x20a584];return _0x4b41a8;};'use strict';var _=require('lodash');var util=require(_0xa134('0x0'));var logger=require(_0xa134('0x1'))(_0xa134('0x2'));var moment=require(_0xa134('0x3'));var BPromise=require('bluebird');var rp=require(_0xa134('0x4'));var fs=require('fs');var path=require(_0xa134('0x5'));var rimraf=require(_0xa134('0x6'));var config=require(_0xa134('0x7'));var attributes=require(_0xa134('0x8'));module[_0xa134('0x9')]=function(_0x114ca4,_0x5c7dfe){return _0x114ca4[_0xa134('0xa')](_0xa134('0xb'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};