ce8bbda092529ff080e5d9e7bf63c43017f9814e
[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 _0x1050=['lodash','util','../../config/logger','api','bluebird','path','rimraf','../../config/environment','define','DashboardItem','dashboard_items'];(function(_0x2ec89c,_0x6cbc7){var _0x69e03c=function(_0x54ed95){while(--_0x54ed95){_0x2ec89c['push'](_0x2ec89c['shift']());}};_0x69e03c(++_0x6cbc7);}(_0x1050,0x1ef));var _0x0105=function(_0x282c86,_0x39ecc2){_0x282c86=_0x282c86-0x0;var _0x5ebf64=_0x1050[_0x282c86];return _0x5ebf64;};'use strict';var _=require(_0x0105('0x0'));var util=require(_0x0105('0x1'));var logger=require(_0x0105('0x2'))(_0x0105('0x3'));var moment=require('moment');var BPromise=require(_0x0105('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x0105('0x5'));var rimraf=require(_0x0105('0x6'));var config=require(_0x0105('0x7'));var attributes=require('./dashboardItem.attributes');module['exports']=function(_0x2c5699,_0x27e2ec){return _0x2c5699[_0x0105('0x8')](_0x0105('0x9'),attributes,{'tableName':_0x0105('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};