Built motion from commit (unavailable).|2.5.0
[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 _0x28e5=['../../config/environment','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','util','moment','bluebird','request-promise','path','rimraf'];(function(_0x498e3e,_0x5cf823){var _0x247afb=function(_0x14e634){while(--_0x14e634){_0x498e3e['push'](_0x498e3e['shift']());}};_0x247afb(++_0x5cf823);}(_0x28e5,0xd2));var _0x528e=function(_0x1c2605,_0x2365fb){_0x1c2605=_0x1c2605-0x0;var _0x5535c1=_0x28e5[_0x1c2605];return _0x5535c1;};'use strict';var _=require('lodash');var util=require(_0x528e('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0x528e('0x1'));var BPromise=require(_0x528e('0x2'));var rp=require(_0x528e('0x3'));var fs=require('fs');var path=require(_0x528e('0x4'));var rimraf=require(_0x528e('0x5'));var config=require(_0x528e('0x6'));var attributes=require(_0x528e('0x7'));module[_0x528e('0x8')]=function(_0x172b4f,_0x279bcb){return _0x172b4f[_0x528e('0x9')](_0x528e('0xa'),attributes,{'tableName':_0x528e('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};