Built motion from commit (unavailable).|2.5.14
[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 _0xd1aa=['bluebird','request-promise','path','../../config/environment','./dashboardItem.attributes','DashboardItem','dashboard_items','util','../../config/logger','api','moment'];(function(_0x571840,_0x43897e){var _0x1915d7=function(_0x2dafd1){while(--_0x2dafd1){_0x571840['push'](_0x571840['shift']());}};_0x1915d7(++_0x43897e);}(_0xd1aa,0x1ca));var _0xad1a=function(_0x199b1f,_0x4ed849){_0x199b1f=_0x199b1f-0x0;var _0x267ac9=_0xd1aa[_0x199b1f];return _0x267ac9;};'use strict';var _=require('lodash');var util=require(_0xad1a('0x0'));var logger=require(_0xad1a('0x1'))(_0xad1a('0x2'));var moment=require(_0xad1a('0x3'));var BPromise=require(_0xad1a('0x4'));var rp=require(_0xad1a('0x5'));var fs=require('fs');var path=require(_0xad1a('0x6'));var rimraf=require('rimraf');var config=require(_0xad1a('0x7'));var attributes=require(_0xad1a('0x8'));module['exports']=function(_0x181f77,_0x263c19){return _0x181f77['define'](_0xad1a('0x9'),attributes,{'tableName':_0xad1a('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};