60adf0f32f0f3d9eddcfec6826f6302f5c41c9bd
[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 _0x44ee=['moment','bluebird','request-promise','path','rimraf','../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','api'];(function(_0x557741,_0x43d009){var _0x4cd544=function(_0xde56cc){while(--_0xde56cc){_0x557741['push'](_0x557741['shift']());}};_0x4cd544(++_0x43d009);}(_0x44ee,0x1e7));var _0xe44e=function(_0x4a31fe,_0x3fe820){_0x4a31fe=_0x4a31fe-0x0;var _0x357444=_0x44ee[_0x4a31fe];return _0x357444;};'use strict';var _=require(_0xe44e('0x0'));var util=require(_0xe44e('0x1'));var logger=require('../../config/logger')(_0xe44e('0x2'));var moment=require(_0xe44e('0x3'));var BPromise=require(_0xe44e('0x4'));var rp=require(_0xe44e('0x5'));var fs=require('fs');var path=require(_0xe44e('0x6'));var rimraf=require(_0xe44e('0x7'));var config=require(_0xe44e('0x8'));var attributes=require(_0xe44e('0x9'));module[_0xe44e('0xa')]=function(_0x402e8d,_0x156d1a){return _0x402e8d[_0xe44e('0xb')](_0xe44e('0xc'),attributes,{'tableName':_0xe44e('0xd'),'paranoid':![],'indexes':[],'timestamps':!![]});};