Built motion from commit (unavailable).|2.4.20
[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 _0x1830=['request-promise','path','../../config/environment','./dashboardItem.attributes','exports','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','bluebird'];(function(_0x92c450,_0x41f1e3){var _0x2a9599=function(_0x4f27df){while(--_0x4f27df){_0x92c450['push'](_0x92c450['shift']());}};_0x2a9599(++_0x41f1e3);}(_0x1830,0x8b));var _0x0183=function(_0x502c7d,_0x2f1285){_0x502c7d=_0x502c7d-0x0;var _0x30b7ed=_0x1830[_0x502c7d];return _0x30b7ed;};'use strict';var _=require(_0x0183('0x0'));var util=require(_0x0183('0x1'));var logger=require(_0x0183('0x2'))(_0x0183('0x3'));var moment=require('moment');var BPromise=require(_0x0183('0x4'));var rp=require(_0x0183('0x5'));var fs=require('fs');var path=require(_0x0183('0x6'));var rimraf=require('rimraf');var config=require(_0x0183('0x7'));var attributes=require(_0x0183('0x8'));module[_0x0183('0x9')]=function(_0xd90061,_0x49c476){return _0xd90061['define'](_0x0183('0xa'),attributes,{'tableName':_0x0183('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};