Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / jscriptyAnswerReport / jscriptyAnswerReport.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 _0x80f3=['lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers'];(function(_0x52ad5c,_0x41677){var _0x10651c=function(_0x4af37e){while(--_0x4af37e){_0x52ad5c['push'](_0x52ad5c['shift']());}};_0x10651c(++_0x41677);}(_0x80f3,0x1ee));var _0x380f=function(_0x59c301,_0x359c50){_0x59c301=_0x59c301-0x0;var _0x3866b9=_0x80f3[_0x59c301];return _0x3866b9;};'use strict';var _=require(_0x380f('0x0'));var util=require(_0x380f('0x1'));var logger=require(_0x380f('0x2'))(_0x380f('0x3'));var moment=require(_0x380f('0x4'));var BPromise=require('bluebird');var rp=require(_0x380f('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x380f('0x6'));var config=require(_0x380f('0x7'));var attributes=require(_0x380f('0x8'));module[_0x380f('0x9')]=function(_0x14ac7f,_0x233381){return _0x14ac7f[_0x380f('0xa')](_0x380f('0xb'),attributes,{'tableName':_0x380f('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};