ef058b695777cb02cd5bec02a6e3a290ec29b475
[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 _0x95fb=['define','DashboardItem','dashboard_items','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes'];(function(_0x8f9c49,_0x1c7520){var _0x49e938=function(_0x2448f9){while(--_0x2448f9){_0x8f9c49['push'](_0x8f9c49['shift']());}};_0x49e938(++_0x1c7520);}(_0x95fb,0x1d7));var _0xb95f=function(_0x32c022,_0x53de13){_0x32c022=_0x32c022-0x0;var _0x2918bb=_0x95fb[_0x32c022];return _0x2918bb;};'use strict';var _=require(_0xb95f('0x0'));var util=require(_0xb95f('0x1'));var logger=require(_0xb95f('0x2'))(_0xb95f('0x3'));var moment=require('moment');var BPromise=require(_0xb95f('0x4'));var rp=require(_0xb95f('0x5'));var fs=require('fs');var path=require(_0xb95f('0x6'));var rimraf=require(_0xb95f('0x7'));var config=require(_0xb95f('0x8'));var attributes=require(_0xb95f('0x9'));module['exports']=function(_0x41b5ab,_0x3db2e4){return _0x41b5ab[_0xb95f('0xa')](_0xb95f('0xb'),attributes,{'tableName':_0xb95f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};