Built motion from commit (unavailable).|2.5.15
[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 _0x0fe6=['moment','request-promise','../../config/environment','./dashboardItem.attributes','exports','DashboardItem','dashboard_items','../../config/logger','api'];(function(_0xc9277d,_0x4ebefe){var _0x5a6335=function(_0x36165e){while(--_0x36165e){_0xc9277d['push'](_0xc9277d['shift']());}};_0x5a6335(++_0x4ebefe);}(_0x0fe6,0x127));var _0x60fe=function(_0x307fdc,_0x4eba97){_0x307fdc=_0x307fdc-0x0;var _0x27501b=_0x0fe6[_0x307fdc];return _0x27501b;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0x60fe('0x0'))(_0x60fe('0x1'));var moment=require(_0x60fe('0x2'));var BPromise=require('bluebird');var rp=require(_0x60fe('0x3'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x60fe('0x4'));var attributes=require(_0x60fe('0x5'));module[_0x60fe('0x6')]=function(_0x27a8bc,_0x306c11){return _0x27a8bc['define'](_0x60fe('0x7'),attributes,{'tableName':_0x60fe('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};