fa8f636f821726f5694cb4214da39e0aa4245751
[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 _0xf7a4=['request-promise','path','rimraf','../../config/environment','exports','define','lodash','../../config/logger','api'];(function(_0x2685b2,_0x513f32){var _0x54b54e=function(_0x57ff7e){while(--_0x57ff7e){_0x2685b2['push'](_0x2685b2['shift']());}};_0x54b54e(++_0x513f32);}(_0xf7a4,0xde));var _0x4f7a=function(_0x4ae829,_0x2c842c){_0x4ae829=_0x4ae829-0x0;var _0x256b31=_0xf7a4[_0x4ae829];return _0x256b31;};'use strict';var _=require(_0x4f7a('0x0'));var util=require('util');var logger=require(_0x4f7a('0x1'))(_0x4f7a('0x2'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x4f7a('0x3'));var fs=require('fs');var path=require(_0x4f7a('0x4'));var rimraf=require(_0x4f7a('0x5'));var config=require(_0x4f7a('0x6'));var attributes=require('./integrationReport.attributes');module[_0x4f7a('0x7')]=function(_0x596509,_0x3792a1){return _0x596509[_0x4f7a('0x8')]('IntegrationReport',attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};