fef112d12baf5b98a0a62cf5d01516deaa1909ef
[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 _0x7a22=['request-promise','rimraf','exports','define','report_jscripty_answers','lodash','util','../../config/logger','api','moment','bluebird'];(function(_0x282e1c,_0x4c9316){var _0x1326ab=function(_0x3774ff){while(--_0x3774ff){_0x282e1c['push'](_0x282e1c['shift']());}};_0x1326ab(++_0x4c9316);}(_0x7a22,0x1b2));var _0x27a2=function(_0x51ef43,_0x3b2e0b){_0x51ef43=_0x51ef43-0x0;var _0x3d7aa0=_0x7a22[_0x51ef43];return _0x3d7aa0;};'use strict';var _=require(_0x27a2('0x0'));var util=require(_0x27a2('0x1'));var logger=require(_0x27a2('0x2'))(_0x27a2('0x3'));var moment=require(_0x27a2('0x4'));var BPromise=require(_0x27a2('0x5'));var rp=require(_0x27a2('0x6'));var fs=require('fs');var path=require('path');var rimraf=require(_0x27a2('0x7'));var config=require('../../config/environment');var attributes=require('./jscriptyAnswerReport.attributes');module[_0x27a2('0x8')]=function(_0x3e17bb,_0xe25ea8){return _0x3e17bb[_0x27a2('0x9')]('JscriptyAnswerReport',attributes,{'tableName':_0x27a2('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};