Built motion from commit e02f907f.|2.6.14
[motion2.git] / server / api / integrationReport / integrationReport.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 _0x1d3f=['util','../../config/logger','moment','bluebird','request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','exports','define','report_integration'];(function(_0x32acfd,_0x7d216d){var _0x5820d7=function(_0x262a01){while(--_0x262a01){_0x32acfd['push'](_0x32acfd['shift']());}};_0x5820d7(++_0x7d216d);}(_0x1d3f,0x1a4));var _0xf1d3=function(_0x8153ce,_0xcb6429){_0x8153ce=_0x8153ce-0x0;var _0x3294bc=_0x1d3f[_0x8153ce];return _0x3294bc;};'use strict';var _=require('lodash');var util=require(_0xf1d3('0x0'));var logger=require(_0xf1d3('0x1'))('api');var moment=require(_0xf1d3('0x2'));var BPromise=require(_0xf1d3('0x3'));var rp=require(_0xf1d3('0x4'));var fs=require('fs');var path=require(_0xf1d3('0x5'));var rimraf=require(_0xf1d3('0x6'));var config=require(_0xf1d3('0x7'));var attributes=require(_0xf1d3('0x8'));module[_0xf1d3('0x9')]=function(_0x168307,_0x573bb3){return _0x168307[_0xf1d3('0xa')]('IntegrationReport',attributes,{'tableName':_0xf1d3('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};