193fbff726a58d0c8b552013f171bf9749d97167
[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 _0xce3a=['api','moment','bluebird','request-promise','path','exports','define','JscriptyQuestionReport','../../config/logger'];(function(_0x6fba43,_0x4af89f){var _0x48fe20=function(_0x2666cf){while(--_0x2666cf){_0x6fba43['push'](_0x6fba43['shift']());}};_0x48fe20(++_0x4af89f);}(_0xce3a,0x8f));var _0xace3=function(_0x17bd3e,_0x3086a3){_0x17bd3e=_0x17bd3e-0x0;var _0x47086d=_0xce3a[_0x17bd3e];return _0x47086d;};'use strict';var _=require('lodash');var util=require('util');var logger=require(_0xace3('0x0'))(_0xace3('0x1'));var moment=require(_0xace3('0x2'));var BPromise=require(_0xace3('0x3'));var rp=require(_0xace3('0x4'));var fs=require('fs');var path=require(_0xace3('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require('./jscriptyQuestionReport.attributes');module[_0xace3('0x6')]=function(_0x3cf08f,_0x20a3be){return _0x3cf08f[_0xace3('0x7')](_0xace3('0x8'),attributes,{'tableName':'report_jscripty_questions','paranoid':![],'indexes':[],'timestamps':!![]});};