bdf13598c34013f8c8117fcda5751e871db9fdcc
[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 _0xabab=['api','moment','request-promise','rimraf','../../config/environment','./integrationReport.attributes','exports','IntegrationReport','report_integration','lodash','util','../../config/logger'];(function(_0x122ef9,_0x451d2a){var _0x42fba0=function(_0x17c9d3){while(--_0x17c9d3){_0x122ef9['push'](_0x122ef9['shift']());}};_0x42fba0(++_0x451d2a);}(_0xabab,0x81));var _0xbaba=function(_0x210c1e,_0x4d5349){_0x210c1e=_0x210c1e-0x0;var _0xf8e022=_0xabab[_0x210c1e];return _0xf8e022;};'use strict';var _=require(_0xbaba('0x0'));var util=require(_0xbaba('0x1'));var logger=require(_0xbaba('0x2'))(_0xbaba('0x3'));var moment=require(_0xbaba('0x4'));var BPromise=require('bluebird');var rp=require(_0xbaba('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0xbaba('0x6'));var config=require(_0xbaba('0x7'));var attributes=require(_0xbaba('0x8'));module[_0xbaba('0x9')]=function(_0x5701e9,_0x48b719){return _0x5701e9['define'](_0xbaba('0xa'),attributes,{'tableName':_0xbaba('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};