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 _0x52f5=['request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','dashboard_items','util','../../config/logger','api','moment','bluebird'];(function(_0x12254f,_0x100cfe){var _0x3a4fa2=function(_0x1ce891){while(--_0x1ce891){_0x12254f['push'](_0x12254f['shift']());}};_0x3a4fa2(++_0x100cfe);}(_0x52f5,0x183));var _0x552f=function(_0x4a9a93,_0x4576b3){_0x4a9a93=_0x4a9a93-0x0;var _0x4a8bee=_0x52f5[_0x4a9a93];return _0x4a8bee;};'use strict';var _=require('lodash');var util=require(_0x552f('0x0'));var logger=require(_0x552f('0x1'))(_0x552f('0x2'));var moment=require(_0x552f('0x3'));var BPromise=require(_0x552f('0x4'));var rp=require(_0x552f('0x5'));var fs=require('fs');var path=require(_0x552f('0x6'));var rimraf=require(_0x552f('0x7'));var config=require(_0x552f('0x8'));var attributes=require(_0x552f('0x9'));module[_0x552f('0xa')]=function(_0x11ab10,_0x46839b){return _0x11ab10[_0x552f('0xb')](_0x552f('0xc'),attributes,{'tableName':_0x552f('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};