Built motion from commit (unavailable).|2.5.6
[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 _0xf325=['exports','define','report_jscripty_answers','util','api','moment','path','rimraf','../../config/environment','./jscriptyAnswerReport.attributes'];(function(_0x4f9b18,_0x2cb5ca){var _0x29f20c=function(_0x268b3d){while(--_0x268b3d){_0x4f9b18['push'](_0x4f9b18['shift']());}};_0x29f20c(++_0x2cb5ca);}(_0xf325,0x1c5));var _0x5f32=function(_0x8a969d,_0x339d9f){_0x8a969d=_0x8a969d-0x0;var _0x1d8dc7=_0xf325[_0x8a969d];return _0x1d8dc7;};'use strict';var _=require('lodash');var util=require(_0x5f32('0x0'));var logger=require('../../config/logger')(_0x5f32('0x1'));var moment=require(_0x5f32('0x2'));var BPromise=require('bluebird');var rp=require('request-promise');var fs=require('fs');var path=require(_0x5f32('0x3'));var rimraf=require(_0x5f32('0x4'));var config=require(_0x5f32('0x5'));var attributes=require(_0x5f32('0x6'));module[_0x5f32('0x7')]=function(_0x3a5040,_0xb0cd9c){return _0x3a5040[_0x5f32('0x8')]('JscriptyAnswerReport',attributes,{'tableName':_0x5f32('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};