7a40ef83104b61a139aefddc40ca703e9cd1f05c
[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 _0x6afb=['moment','bluebird','path','rimraf','../../config/environment','./dashboardItem.attributes','exports','define','DashboardItem','lodash','util','../../config/logger','api'];(function(_0x2669bc,_0x2d8323){var _0x25b6d6=function(_0x2f688b){while(--_0x2f688b){_0x2669bc['push'](_0x2669bc['shift']());}};_0x25b6d6(++_0x2d8323);}(_0x6afb,0x71));var _0xb6af=function(_0x3b5d45,_0x597509){_0x3b5d45=_0x3b5d45-0x0;var _0x3cbc78=_0x6afb[_0x3b5d45];return _0x3cbc78;};'use strict';var _=require(_0xb6af('0x0'));var util=require(_0xb6af('0x1'));var logger=require(_0xb6af('0x2'))(_0xb6af('0x3'));var moment=require(_0xb6af('0x4'));var BPromise=require(_0xb6af('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xb6af('0x6'));var rimraf=require(_0xb6af('0x7'));var config=require(_0xb6af('0x8'));var attributes=require(_0xb6af('0x9'));module[_0xb6af('0xa')]=function(_0x5bb713,_0x24a537){return _0x5bb713[_0xb6af('0xb')](_0xb6af('0xc'),attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};