Built motion from commit e0fa946e.|2.6.5
[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 _0xccdd=['rimraf','../../config/environment','./dashboardItem.attributes','exports','dashboard_items','lodash','../../config/logger','api','moment','bluebird','request-promise','path'];(function(_0x19ef8e,_0x198c77){var _0x1963eb=function(_0x2b7d65){while(--_0x2b7d65){_0x19ef8e['push'](_0x19ef8e['shift']());}};_0x1963eb(++_0x198c77);}(_0xccdd,0x71));var _0xdccd=function(_0x53abe5,_0x33a9e5){_0x53abe5=_0x53abe5-0x0;var _0xc1c37e=_0xccdd[_0x53abe5];return _0xc1c37e;};'use strict';var _=require(_0xdccd('0x0'));var util=require('util');var logger=require(_0xdccd('0x1'))(_0xdccd('0x2'));var moment=require(_0xdccd('0x3'));var BPromise=require(_0xdccd('0x4'));var rp=require(_0xdccd('0x5'));var fs=require('fs');var path=require(_0xdccd('0x6'));var rimraf=require(_0xdccd('0x7'));var config=require(_0xdccd('0x8'));var attributes=require(_0xdccd('0x9'));module[_0xdccd('0xa')]=function(_0x3e9c,_0xa9f927){return _0x3e9c['define']('DashboardItem',attributes,{'tableName':_0xdccd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};