be54c0dd706a403ff6d81da272a80ee3eef46281
[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 _0x535a=['../../config/environment','./integrationReport.attributes','exports','define','report_integration','lodash','../../config/logger','moment','bluebird','request-promise','path','rimraf'];(function(_0x30fc6d,_0x1ccd9f){var _0x538a68=function(_0x367108){while(--_0x367108){_0x30fc6d['push'](_0x30fc6d['shift']());}};_0x538a68(++_0x1ccd9f);}(_0x535a,0x131));var _0xa535=function(_0x44bd70,_0x5a2f80){_0x44bd70=_0x44bd70-0x0;var _0xf09da9=_0x535a[_0x44bd70];return _0xf09da9;};'use strict';var _=require(_0xa535('0x0'));var util=require('util');var logger=require(_0xa535('0x1'))('api');var moment=require(_0xa535('0x2'));var BPromise=require(_0xa535('0x3'));var rp=require(_0xa535('0x4'));var fs=require('fs');var path=require(_0xa535('0x5'));var rimraf=require(_0xa535('0x6'));var config=require(_0xa535('0x7'));var attributes=require(_0xa535('0x8'));module[_0xa535('0x9')]=function(_0x554025,_0x13b0cb){return _0x554025[_0xa535('0xa')]('IntegrationReport',attributes,{'tableName':_0xa535('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};