Built motion from commit (unavailable).|2.5.14
[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 _0xbca7=['define','DashboardItem','dashboard_items','lodash','api','moment','bluebird','request-promise','path','rimraf','./dashboardItem.attributes'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xbca7,0x179));var _0x7bca=function(_0x1b349a,_0x22222c){_0x1b349a=_0x1b349a-0x0;var _0x5d1f7c=_0xbca7[_0x1b349a];return _0x5d1f7c;};'use strict';var _=require(_0x7bca('0x0'));var util=require('util');var logger=require('../../config/logger')(_0x7bca('0x1'));var moment=require(_0x7bca('0x2'));var BPromise=require(_0x7bca('0x3'));var rp=require(_0x7bca('0x4'));var fs=require('fs');var path=require(_0x7bca('0x5'));var rimraf=require(_0x7bca('0x6'));var config=require('../../config/environment');var attributes=require(_0x7bca('0x7'));module['exports']=function(_0x3b12ef,_0xeeaac7){return _0x3b12ef[_0x7bca('0x8')](_0x7bca('0x9'),attributes,{'tableName':_0x7bca('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};