683d6812ad2756eaa93c7c03a8603c01b4d445a4
[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 _0x23f4=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./integrationReport.attributes','exports','define','IntegrationReport','util'];(function(_0xed7723,_0x27de1e){var _0x2f4aaa=function(_0x15a3a4){while(--_0x15a3a4){_0xed7723['push'](_0xed7723['shift']());}};_0x2f4aaa(++_0x27de1e);}(_0x23f4,0x1ee));var _0x423f=function(_0x324bac,_0x2f31d7){_0x324bac=_0x324bac-0x0;var _0x29f568=_0x23f4[_0x324bac];return _0x29f568;};'use strict';var _=require('lodash');var util=require(_0x423f('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x423f('0x1'));var BPromise=require(_0x423f('0x2'));var rp=require(_0x423f('0x3'));var fs=require('fs');var path=require(_0x423f('0x4'));var rimraf=require(_0x423f('0x5'));var config=require(_0x423f('0x6'));var attributes=require(_0x423f('0x7'));module[_0x423f('0x8')]=function(_0x34a2d9,_0x51066b){return _0x34a2d9[_0x423f('0x9')](_0x423f('0xa'),attributes,{'tableName':'report_integration','paranoid':![],'indexes':[],'timestamps':!![]});};