Built motion from commit (unavailable).|2.5.9
[motion2.git] / server / api / dashboard / dashboard.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 _0x3d7d=['exports','dashboards','util','api','moment','bluebird','request-promise','path','rimraf','./dashboard.attributes'];(function(_0x220556,_0x16e363){var _0x5b0a38=function(_0x48f5fe){while(--_0x48f5fe){_0x220556['push'](_0x220556['shift']());}};_0x5b0a38(++_0x16e363);}(_0x3d7d,0xfc));var _0xd3d7=function(_0x42cae2,_0x284ef8){_0x42cae2=_0x42cae2-0x0;var _0x5f256f=_0x3d7d[_0x42cae2];return _0x5f256f;};'use strict';var _=require('lodash');var util=require(_0xd3d7('0x0'));var logger=require('../../config/logger')(_0xd3d7('0x1'));var moment=require(_0xd3d7('0x2'));var BPromise=require(_0xd3d7('0x3'));var rp=require(_0xd3d7('0x4'));var fs=require('fs');var path=require(_0xd3d7('0x5'));var rimraf=require(_0xd3d7('0x6'));var config=require('../../config/environment');var attributes=require(_0xd3d7('0x7'));module[_0xd3d7('0x8')]=function(_0x40ed5f,_0x45c845){return _0x40ed5f['define']('Dashboard',attributes,{'tableName':_0xd3d7('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};