1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xedd5=['request-promise','path','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','util','../../config/logger','api','moment'];(function(_0x2f036f,_0x54d2f6){var _0x92affb=function(_0xcded42){while(--_0xcded42){_0x2f036f['push'](_0x2f036f['shift']());}};_0x92affb(++_0x54d2f6);}(_0xedd5,0x1c4));var _0x5edd=function(_0x3d5df9,_0x5b3623){_0x3d5df9=_0x3d5df9-0x0;var _0x50ba39=_0xedd5[_0x3d5df9];return _0x50ba39;};'use strict';var _=require('lodash');var util=require(_0x5edd('0x0'));var logger=require(_0x5edd('0x1'))(_0x5edd('0x2'));var moment=require(_0x5edd('0x3'));var BPromise=require('bluebird');var rp=require(_0x5edd('0x4'));var fs=require('fs');var path=require(_0x5edd('0x5'));var rimraf=require('rimraf');var config=require(_0x5edd('0x6'));var attributes=require(_0x5edd('0x7'));module[_0x5edd('0x8')]=function(_0xef81d5,_0x30bc1){return _0xef81d5[_0x5edd('0x9')](_0x5edd('0xa'),attributes,{'tableName':_0x5edd('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};