Built motion from commit 9d0783e6.|2.6.13
[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 _0xb2e3=['DashboardItem','dashboard_items','lodash','util','../../config/logger','api','moment','bluebird','request-promise','rimraf','../../config/environment','./dashboardItem.attributes','exports'];(function(_0x457162,_0x2afd4c){var _0xa6a7d4=function(_0x420049){while(--_0x420049){_0x457162['push'](_0x457162['shift']());}};_0xa6a7d4(++_0x2afd4c);}(_0xb2e3,0xf9));var _0x3b2e=function(_0x3bf83f,_0x181cac){_0x3bf83f=_0x3bf83f-0x0;var _0x22c4a9=_0xb2e3[_0x3bf83f];return _0x22c4a9;};'use strict';var _=require(_0x3b2e('0x0'));var util=require(_0x3b2e('0x1'));var logger=require(_0x3b2e('0x2'))(_0x3b2e('0x3'));var moment=require(_0x3b2e('0x4'));var BPromise=require(_0x3b2e('0x5'));var rp=require(_0x3b2e('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3b2e('0x7'));var config=require(_0x3b2e('0x8'));var attributes=require(_0x3b2e('0x9'));module[_0x3b2e('0xa')]=function(_0x1c0672,_0x44a2f2){return _0x1c0672['define'](_0x3b2e('0xb'),attributes,{'tableName':_0x3b2e('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};