9e82b7498bdfcc4e9e0d94959fc7dd6ccba17356
[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 _0xf3e0=['lodash','util','api','bluebird','request-promise','path','../../config/environment','./jscriptyAnswerReport.attributes','exports','define','report_jscripty_answers'];(function(_0x3648f4,_0x96e9b){var _0x1d8e48=function(_0xefdb30){while(--_0xefdb30){_0x3648f4['push'](_0x3648f4['shift']());}};_0x1d8e48(++_0x96e9b);}(_0xf3e0,0xfd));var _0x0f3e=function(_0x5a95fa,_0x4a2fc9){_0x5a95fa=_0x5a95fa-0x0;var _0x1a61b8=_0xf3e0[_0x5a95fa];return _0x1a61b8;};'use strict';var _=require(_0x0f3e('0x0'));var util=require(_0x0f3e('0x1'));var logger=require('../../config/logger')(_0x0f3e('0x2'));var moment=require('moment');var BPromise=require(_0x0f3e('0x3'));var rp=require(_0x0f3e('0x4'));var fs=require('fs');var path=require(_0x0f3e('0x5'));var rimraf=require('rimraf');var config=require(_0x0f3e('0x6'));var attributes=require(_0x0f3e('0x7'));module[_0x0f3e('0x8')]=function(_0x53f081,_0x18d5a9){return _0x53f081[_0x0f3e('0x9')]('JscriptyAnswerReport',attributes,{'tableName':_0x0f3e('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};