f7b34379d5862cb67bdfcda886e123ca7986b392
[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 _0x8cd9=['request-promise','path','rimraf','../../config/environment','./dashboardItem.attributes','define','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x4243a3,_0x447337){var _0x1b2a33=function(_0x6a8200){while(--_0x6a8200){_0x4243a3['push'](_0x4243a3['shift']());}};_0x1b2a33(++_0x447337);}(_0x8cd9,0x186));var _0x98cd=function(_0x2de68b,_0x3ccf8f){_0x2de68b=_0x2de68b-0x0;var _0x45018d=_0x8cd9[_0x2de68b];return _0x45018d;};'use strict';var _=require(_0x98cd('0x0'));var util=require(_0x98cd('0x1'));var logger=require(_0x98cd('0x2'))(_0x98cd('0x3'));var moment=require(_0x98cd('0x4'));var BPromise=require(_0x98cd('0x5'));var rp=require(_0x98cd('0x6'));var fs=require('fs');var path=require(_0x98cd('0x7'));var rimraf=require(_0x98cd('0x8'));var config=require(_0x98cd('0x9'));var attributes=require(_0x98cd('0xa'));module['exports']=function(_0x1379b8,_0x59e346){return _0x1379b8[_0x98cd('0xb')]('DashboardItem',attributes,{'tableName':'dashboard_items','paranoid':![],'indexes':[],'timestamps':!![]});};