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 _0xa169=['moment','bluebird','../../config/environment','./jscriptyAnswerReport.attributes','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util'];(function(_0x209431,_0x4e42e9){var _0xb8c2a1=function(_0x16411e){while(--_0x16411e){_0x209431['push'](_0x209431['shift']());}};_0xb8c2a1(++_0x4e42e9);}(_0xa169,0x1ed));var _0x9a16=function(_0x5ce94b,_0x4e19aa){_0x5ce94b=_0x5ce94b-0x0;var _0x242cf5=_0xa169[_0x5ce94b];return _0x242cf5;};'use strict';var _=require(_0x9a16('0x0'));var util=require(_0x9a16('0x1'));var logger=require('../../config/logger')('api');var moment=require(_0x9a16('0x2'));var BPromise=require(_0x9a16('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require(_0x9a16('0x4'));var attributes=require(_0x9a16('0x5'));module['exports']=function(_0x3c775f,_0x515526){return _0x3c775f[_0x9a16('0x6')](_0x9a16('0x7'),attributes,{'tableName':_0x9a16('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};