d934dc4340a26f1ffdda02acf0b52ed1eff6659a
[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 _0xd463=['../../config/environment','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','../../config/logger','bluebird','request-promise','path','rimraf'];(function(_0x100cd0,_0x5b4781){var _0x5ef79e=function(_0x4f83f1){while(--_0x4f83f1){_0x100cd0['push'](_0x100cd0['shift']());}};_0x5ef79e(++_0x5b4781);}(_0xd463,0x1a7));var _0x3d46=function(_0x37e307,_0x378e6c){_0x37e307=_0x37e307-0x0;var _0x44a38c=_0xd463[_0x37e307];return _0x44a38c;};'use strict';var _=require(_0x3d46('0x0'));var util=require('util');var logger=require(_0x3d46('0x1'))('api');var moment=require('moment');var BPromise=require(_0x3d46('0x2'));var rp=require(_0x3d46('0x3'));var fs=require('fs');var path=require(_0x3d46('0x4'));var rimraf=require(_0x3d46('0x5'));var config=require(_0x3d46('0x6'));var attributes=require('./jscriptyQuestionReport.attributes');module[_0x3d46('0x7')]=function(_0x1f99b7,_0x146772){return _0x1f99b7[_0x3d46('0x8')](_0x3d46('0x9'),attributes,{'tableName':_0x3d46('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};