Built motion from commit 47436d59.|2.6.7
[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 _0x9958=['rimraf','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','../../config/logger','moment','bluebird','request-promise','path'];(function(_0x60df74,_0x458e29){var _0x5ee872=function(_0x356888){while(--_0x356888){_0x60df74['push'](_0x60df74['shift']());}};_0x5ee872(++_0x458e29);}(_0x9958,0x89));var _0x8995=function(_0x488d33,_0x530a1f){_0x488d33=_0x488d33-0x0;var _0x101752=_0x9958[_0x488d33];return _0x101752;};'use strict';var _=require(_0x8995('0x0'));var util=require('util');var logger=require(_0x8995('0x1'))('api');var moment=require(_0x8995('0x2'));var BPromise=require(_0x8995('0x3'));var rp=require(_0x8995('0x4'));var fs=require('fs');var path=require(_0x8995('0x5'));var rimraf=require(_0x8995('0x6'));var config=require('../../config/environment');var attributes=require('./jscriptyQuestionReport.attributes');module[_0x8995('0x7')]=function(_0x16a0e9,_0x2ad2c3){return _0x16a0e9[_0x8995('0x8')](_0x8995('0x9'),attributes,{'tableName':_0x8995('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};