Built motion from commit (unavailable).|2.5.21
[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 _0xd56e=['moment','bluebird','path','rimraf','../../config/environment','./jscriptyQuestionReport.attributes','exports','JscriptyQuestionReport','report_jscripty_questions','util','api'];(function(_0x4ad6e4,_0x103161){var _0x11e62a=function(_0x10dc1e){while(--_0x10dc1e){_0x4ad6e4['push'](_0x4ad6e4['shift']());}};_0x11e62a(++_0x103161);}(_0xd56e,0x1cc));var _0xed56=function(_0x38f152,_0xced7dc){_0x38f152=_0x38f152-0x0;var _0x4eb0ba=_0xd56e[_0x38f152];return _0x4eb0ba;};'use strict';var _=require('lodash');var util=require(_0xed56('0x0'));var logger=require('../../config/logger')(_0xed56('0x1'));var moment=require(_0xed56('0x2'));var BPromise=require(_0xed56('0x3'));var rp=require('request-promise');var fs=require('fs');var path=require(_0xed56('0x4'));var rimraf=require(_0xed56('0x5'));var config=require(_0xed56('0x6'));var attributes=require(_0xed56('0x7'));module[_0xed56('0x8')]=function(_0xc8b307,_0x2a90f0){return _0xc8b307['define'](_0xed56('0x9'),attributes,{'tableName':_0xed56('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};