Built motion from commit (unavailable).|2.5.3
[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 _0x77da=['rimraf','./dashboardItem.attributes','exports','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x2ffbc3,_0x49e0ed){var _0x4f2550=function(_0x62e36f){while(--_0x62e36f){_0x2ffbc3['push'](_0x2ffbc3['shift']());}};_0x4f2550(++_0x49e0ed);}(_0x77da,0x1d9));var _0xa77d=function(_0x5e7499,_0x50d24e){_0x5e7499=_0x5e7499-0x0;var _0x111cd2=_0x77da[_0x5e7499];return _0x111cd2;};'use strict';var _=require(_0xa77d('0x0'));var util=require(_0xa77d('0x1'));var logger=require(_0xa77d('0x2'))(_0xa77d('0x3'));var moment=require(_0xa77d('0x4'));var BPromise=require(_0xa77d('0x5'));var rp=require(_0xa77d('0x6'));var fs=require('fs');var path=require(_0xa77d('0x7'));var rimraf=require(_0xa77d('0x8'));var config=require('../../config/environment');var attributes=require(_0xa77d('0x9'));module[_0xa77d('0xa')]=function(_0xeaab3c,_0x234663){return _0xeaab3c['define'](_0xa77d('0xb'),attributes,{'tableName':_0xa77d('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};