Built motion from commit eddce310.|2.6.12
[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 _0xea20=['rimraf','lodash','../../config/logger','api','moment','bluebird'];(function(_0x37ae8e,_0x25821e){var _0x1bc5a2=function(_0x196ab3){while(--_0x196ab3){_0x37ae8e['push'](_0x37ae8e['shift']());}};_0x1bc5a2(++_0x25821e);}(_0xea20,0x85));var _0x0ea2=function(_0x22c800,_0x441cb8){_0x22c800=_0x22c800-0x0;var _0x5abf20=_0xea20[_0x22c800];return _0x5abf20;};'use strict';var _=require(_0x0ea2('0x0'));var util=require('util');var logger=require(_0x0ea2('0x1'))(_0x0ea2('0x2'));var moment=require(_0x0ea2('0x3'));var BPromise=require(_0x0ea2('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0x0ea2('0x5'));var config=require('../../config/environment');var attributes=require('./integrationReport.attributes');module['exports']=function(_0x328ea0,_0x1be372){return _0x328ea0['define']('IntegrationReport',attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};