b6d50b6c021ffc3e6b7c04a7cf708c4dedaa918b
[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 _0x5d3a=['request-promise','rimraf','../../config/environment','./jscriptyQuestionReport.attributes','exports','JscriptyQuestionReport','report_jscripty_questions','util','moment'];(function(_0x104275,_0x26df62){var _0x36ec39=function(_0x52454b){while(--_0x52454b){_0x104275['push'](_0x104275['shift']());}};_0x36ec39(++_0x26df62);}(_0x5d3a,0x11e));var _0xa5d3=function(_0x1d1779,_0x284147){_0x1d1779=_0x1d1779-0x0;var _0x2377e9=_0x5d3a[_0x1d1779];return _0x2377e9;};'use strict';var _=require('lodash');var util=require(_0xa5d3('0x0'));var logger=require('../../config/logger')('api');var moment=require(_0xa5d3('0x1'));var BPromise=require('bluebird');var rp=require(_0xa5d3('0x2'));var fs=require('fs');var path=require('path');var rimraf=require(_0xa5d3('0x3'));var config=require(_0xa5d3('0x4'));var attributes=require(_0xa5d3('0x5'));module[_0xa5d3('0x6')]=function(_0x224d80,_0x5092d5){return _0x224d80['define'](_0xa5d3('0x7'),attributes,{'tableName':_0xa5d3('0x8'),'paranoid':![],'indexes':[],'timestamps':!![]});};