813c8eaa3a1831665e1a407409719ff23e63f7e6
[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 _0x5cf1=['bluebird','request-promise','path','rimraf','../../config/environment','exports','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api'];(function(_0x8f7cb6,_0xf929c8){var _0xf4d3a1=function(_0x3e3d31){while(--_0x3e3d31){_0x8f7cb6['push'](_0x8f7cb6['shift']());}};_0xf4d3a1(++_0xf929c8);}(_0x5cf1,0x1a0));var _0x15cf=function(_0x3af7b7,_0x208014){_0x3af7b7=_0x3af7b7-0x0;var _0x8408b5=_0x5cf1[_0x3af7b7];return _0x8408b5;};'use strict';var _=require(_0x15cf('0x0'));var util=require(_0x15cf('0x1'));var logger=require(_0x15cf('0x2'))(_0x15cf('0x3'));var moment=require('moment');var BPromise=require(_0x15cf('0x4'));var rp=require(_0x15cf('0x5'));var fs=require('fs');var path=require(_0x15cf('0x6'));var rimraf=require(_0x15cf('0x7'));var config=require(_0x15cf('0x8'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0x15cf('0x9')]=function(_0x21224b,_0x200787){return _0x21224b['define'](_0x15cf('0xa'),attributes,{'tableName':_0x15cf('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};