Built motion from commit (unavailable).|2.4.18
[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 _0x12dc=['request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','moment'];(function(_0x17db0f,_0xf01f63){var _0x241191=function(_0x368495){while(--_0x368495){_0x17db0f['push'](_0x17db0f['shift']());}};_0x241191(++_0xf01f63);}(_0x12dc,0x167));var _0xc12d=function(_0x5a88db,_0x14e49a){_0x5a88db=_0x5a88db-0x0;var _0x5442d2=_0x12dc[_0x5a88db];return _0x5442d2;};'use strict';var _=require(_0xc12d('0x0'));var util=require(_0xc12d('0x1'));var logger=require(_0xc12d('0x2'))(_0xc12d('0x3'));var moment=require(_0xc12d('0x4'));var BPromise=require('bluebird');var rp=require(_0xc12d('0x5'));var fs=require('fs');var path=require(_0xc12d('0x6'));var rimraf=require(_0xc12d('0x7'));var config=require(_0xc12d('0x8'));var attributes=require(_0xc12d('0x9'));module[_0xc12d('0xa')]=function(_0x5e4095,_0x524df9){return _0x5e4095[_0xc12d('0xb')](_0xc12d('0xc'),attributes,{'tableName':_0xc12d('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};