Built motion from commit 616d3211.|2.6.4
[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 _0x9f9d=['exports','IntegrationReport','lodash','util','api','bluebird','path','../../config/environment','./integrationReport.attributes'];(function(_0x2bab07,_0x32e047){var _0x2f58ed=function(_0x448250){while(--_0x448250){_0x2bab07['push'](_0x2bab07['shift']());}};_0x2f58ed(++_0x32e047);}(_0x9f9d,0x185));var _0xd9f9=function(_0x428377,_0xf1d70d){_0x428377=_0x428377-0x0;var _0x143839=_0x9f9d[_0x428377];return _0x143839;};'use strict';var _=require(_0xd9f9('0x0'));var util=require(_0xd9f9('0x1'));var logger=require('../../config/logger')(_0xd9f9('0x2'));var moment=require('moment');var BPromise=require(_0xd9f9('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xd9f9('0x4'));var rimraf=require('rimraf');var config=require(_0xd9f9('0x5'));var attributes=require(_0xd9f9('0x6'));module[_0xd9f9('0x7')]=function(_0x3dc45d,_0x54acbc){return _0x3dc45d['define'](_0xd9f9('0x8'),attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};