40e7be39edd1d839046a38d1aeb2291e1e6d6d26
[motion2.git] / server / api / jscriptyQuestionReport / jscriptyQuestionReport.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 _0xcc16=['../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','util','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x45b2db,_0x7a24cd){var _0xcf6de2=function(_0x9b03f4){while(--_0x9b03f4){_0x45b2db['push'](_0x45b2db['shift']());}};_0xcf6de2(++_0x7a24cd);}(_0xcc16,0x14a));var _0x6cc1=function(_0x20a9b7,_0x508010){_0x20a9b7=_0x20a9b7-0x0;var _0x936702=_0xcc16[_0x20a9b7];return _0x936702;};'use strict';var _=require('lodash');var util=require(_0x6cc1('0x0'));var logger=require(_0x6cc1('0x1'))('api');var moment=require('moment');var BPromise=require(_0x6cc1('0x2'));var rp=require(_0x6cc1('0x3'));var fs=require('fs');var path=require(_0x6cc1('0x4'));var rimraf=require(_0x6cc1('0x5'));var config=require(_0x6cc1('0x6'));var attributes=require(_0x6cc1('0x7'));module[_0x6cc1('0x8')]=function(_0xb9b0bd,_0xa54075){return _0xb9b0bd[_0x6cc1('0x9')](_0x6cc1('0xa'),attributes,{'tableName':_0x6cc1('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};