Built motion from commit da24aabd.|2.6.20
[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 _0xcfc3=['JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger','api','moment','request-promise','rimraf','../../config/environment','./jscriptyAnswerReport.attributes','exports','define'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0xcfc3,0x1f0));var _0x3cfc=function(_0x38356a,_0x5ca333){_0x38356a=_0x38356a-0x0;var _0x1655b1=_0xcfc3[_0x38356a];return _0x1655b1;};'use strict';var _=require(_0x3cfc('0x0'));var util=require(_0x3cfc('0x1'));var logger=require(_0x3cfc('0x2'))(_0x3cfc('0x3'));var moment=require(_0x3cfc('0x4'));var BPromise=require('bluebird');var rp=require(_0x3cfc('0x5'));var fs=require('fs');var path=require('path');var rimraf=require(_0x3cfc('0x6'));var config=require(_0x3cfc('0x7'));var attributes=require(_0x3cfc('0x8'));module[_0x3cfc('0x9')]=function(_0x3e0800,_0x4b55d4){return _0x3e0800[_0x3cfc('0xa')](_0x3cfc('0xb'),attributes,{'tableName':_0x3cfc('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};