3420d3574b5bc46af598d567cd95d21175b314e8
[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 _0x600c=['exports','JscriptyQuestionReport','report_jscripty_questions','lodash','util','api','moment','bluebird','path','rimraf','./jscriptyQuestionReport.attributes'];(function(_0x316cf6,_0x1ddc5b){var _0x2968f2=function(_0x52492a){while(--_0x52492a){_0x316cf6['push'](_0x316cf6['shift']());}};_0x2968f2(++_0x1ddc5b);}(_0x600c,0x7c));var _0xc600=function(_0x4ae6ef,_0xc2af80){_0x4ae6ef=_0x4ae6ef-0x0;var _0x3cbb4e=_0x600c[_0x4ae6ef];return _0x3cbb4e;};'use strict';var _=require(_0xc600('0x0'));var util=require(_0xc600('0x1'));var logger=require('../../config/logger')(_0xc600('0x2'));var moment=require(_0xc600('0x3'));var BPromise=require(_0xc600('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xc600('0x5'));var rimraf=require(_0xc600('0x6'));var config=require('../../config/environment');var attributes=require(_0xc600('0x7'));module[_0xc600('0x8')]=function(_0x735ccd,_0x4625f7){return _0x735ccd['define'](_0xc600('0x9'),attributes,{'tableName':_0xc600('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};