Built motion from commit efa66e19.|2.6.22
[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 _0xfa58=['../../config/environment','./integrationReport.attributes','exports','define','report_integration','lodash','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x424f60,_0x5a137f){var _0x2d727b=function(_0x3da83b){while(--_0x3da83b){_0x424f60['push'](_0x424f60['shift']());}};_0x2d727b(++_0x5a137f);}(_0xfa58,0x170));var _0x8fa5=function(_0x561771,_0x554760){_0x561771=_0x561771-0x0;var _0x54d16e=_0xfa58[_0x561771];return _0x54d16e;};'use strict';var _=require(_0x8fa5('0x0'));var util=require('util');var logger=require(_0x8fa5('0x1'))('api');var moment=require(_0x8fa5('0x2'));var BPromise=require(_0x8fa5('0x3'));var rp=require(_0x8fa5('0x4'));var fs=require('fs');var path=require(_0x8fa5('0x5'));var rimraf=require('rimraf');var config=require(_0x8fa5('0x6'));var attributes=require(_0x8fa5('0x7'));module[_0x8fa5('0x8')]=function(_0x22c951,_0x2a58cd){return _0x22c951[_0x8fa5('0x9')]('IntegrationReport',attributes,{'tableName':_0x8fa5('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};