26f128b71d5e64556cb39b3a254a81f686ffd4fe
[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 _0xa97c=['bluebird','path','rimraf','../../config/environment','./integrationReport.attributes','IntegrationReport','report_integration','lodash','util','../../config/logger','api','moment'];(function(_0x2c3eca,_0x39afa4){var _0x53860d=function(_0x2ad3cd){while(--_0x2ad3cd){_0x2c3eca['push'](_0x2c3eca['shift']());}};_0x53860d(++_0x39afa4);}(_0xa97c,0x16f));var _0xca97=function(_0x5b1560,_0x2d66cc){_0x5b1560=_0x5b1560-0x0;var _0x10aec5=_0xa97c[_0x5b1560];return _0x10aec5;};'use strict';var _=require(_0xca97('0x0'));var util=require(_0xca97('0x1'));var logger=require(_0xca97('0x2'))(_0xca97('0x3'));var moment=require(_0xca97('0x4'));var BPromise=require(_0xca97('0x5'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xca97('0x6'));var rimraf=require(_0xca97('0x7'));var config=require(_0xca97('0x8'));var attributes=require(_0xca97('0x9'));module['exports']=function(_0x4942e6,_0x4ac9cb){return _0x4942e6['define'](_0xca97('0xa'),attributes,{'tableName':_0xca97('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};