Built motion from commit 44b1f254.|2.6.26
[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 _0x947e=['dashboard_items','lodash','util','../../config/logger','api','moment','bluebird','rimraf','../../config/environment','./dashboardItem.attributes','exports'];(function(_0x5f2108,_0x2e2cd5){var _0x10ef49=function(_0xd286b4){while(--_0xd286b4){_0x5f2108['push'](_0x5f2108['shift']());}};_0x10ef49(++_0x2e2cd5);}(_0x947e,0x9b));var _0xe947=function(_0x9cea07,_0x58eca2){_0x9cea07=_0x9cea07-0x0;var _0x1194dc=_0x947e[_0x9cea07];return _0x1194dc;};'use strict';var _=require(_0xe947('0x0'));var util=require(_0xe947('0x1'));var logger=require(_0xe947('0x2'))(_0xe947('0x3'));var moment=require(_0xe947('0x4'));var BPromise=require(_0xe947('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xe947('0x6'));var config=require(_0xe947('0x7'));var attributes=require(_0xe947('0x8'));module[_0xe947('0x9')]=function(_0x175cc6,_0x1de1c1){return _0x175cc6['define']('DashboardItem',attributes,{'tableName':_0xe947('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};