e88fe44b65befc0bafef096a0d82a4d22506e788
[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 _0xcc79=['./dashboardItem.attributes','define','DashboardItem','dashboard_items','util','../../config/logger','api','moment','bluebird','path','rimraf','../../config/environment'];(function(_0x22b014,_0x22d070){var _0x331fd6=function(_0x7e62a0){while(--_0x7e62a0){_0x22b014['push'](_0x22b014['shift']());}};_0x331fd6(++_0x22d070);}(_0xcc79,0xb8));var _0x9cc7=function(_0x3d9d5f,_0x2ceb3d){_0x3d9d5f=_0x3d9d5f-0x0;var _0x335ef3=_0xcc79[_0x3d9d5f];return _0x335ef3;};'use strict';var _=require('lodash');var util=require(_0x9cc7('0x0'));var logger=require(_0x9cc7('0x1'))(_0x9cc7('0x2'));var moment=require(_0x9cc7('0x3'));var BPromise=require(_0x9cc7('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0x9cc7('0x5'));var rimraf=require(_0x9cc7('0x6'));var config=require(_0x9cc7('0x7'));var attributes=require(_0x9cc7('0x8'));module['exports']=function(_0x3f2149,_0x211d34){return _0x3f2149[_0x9cc7('0x9')](_0x9cc7('0xa'),attributes,{'tableName':_0x9cc7('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};