c80206d7b053f199430ba0219cce8db12a3a5918
[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 _0xa63c=['path','rimraf','../../config/environment','./integrationReport.attributes','define','IntegrationReport','report_integration','lodash','../../config/logger','moment','bluebird','request-promise'];(function(_0x8bf294,_0x1ca4ae){var _0x596021=function(_0x2d1e15){while(--_0x2d1e15){_0x8bf294['push'](_0x8bf294['shift']());}};_0x596021(++_0x1ca4ae);}(_0xa63c,0x67));var _0xca63=function(_0x1035c1,_0x2d8583){_0x1035c1=_0x1035c1-0x0;var _0x308d67=_0xa63c[_0x1035c1];return _0x308d67;};'use strict';var _=require(_0xca63('0x0'));var util=require('util');var logger=require(_0xca63('0x1'))('api');var moment=require(_0xca63('0x2'));var BPromise=require(_0xca63('0x3'));var rp=require(_0xca63('0x4'));var fs=require('fs');var path=require(_0xca63('0x5'));var rimraf=require(_0xca63('0x6'));var config=require(_0xca63('0x7'));var attributes=require(_0xca63('0x8'));module['exports']=function(_0x46f434,_0x205f5c){return _0x46f434[_0xca63('0x9')](_0xca63('0xa'),attributes,{'tableName':_0xca63('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};