61ac256fc9ea2e80b0b18068f4e1e5208d159517
[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 _0x2aef=['./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','lodash','util','../../config/logger','api','bluebird','request-promise','path','rimraf'];(function(_0x4e5412,_0x451785){var _0x85b5bd=function(_0x394d10){while(--_0x394d10){_0x4e5412['push'](_0x4e5412['shift']());}};_0x85b5bd(++_0x451785);}(_0x2aef,0x1e6));var _0xf2ae=function(_0x4d54a0,_0x5a9aae){_0x4d54a0=_0x4d54a0-0x0;var _0x4cc7c2=_0x2aef[_0x4d54a0];return _0x4cc7c2;};'use strict';var _=require(_0xf2ae('0x0'));var util=require(_0xf2ae('0x1'));var logger=require(_0xf2ae('0x2'))(_0xf2ae('0x3'));var moment=require('moment');var BPromise=require(_0xf2ae('0x4'));var rp=require(_0xf2ae('0x5'));var fs=require('fs');var path=require(_0xf2ae('0x6'));var rimraf=require(_0xf2ae('0x7'));var config=require('../../config/environment');var attributes=require(_0xf2ae('0x8'));module[_0xf2ae('0x9')]=function(_0x45ee49,_0x3470c0){return _0x45ee49[_0xf2ae('0xa')](_0xf2ae('0xb'),attributes,{'tableName':_0xf2ae('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};