Built motion from commit (unavailable).|2.5.8
[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 _0x5101=['lodash','util','../../config/logger','api','request-promise','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions'];(function(_0x3d70b3,_0x38f7dd){var _0x4a2b5a=function(_0x4660cb){while(--_0x4660cb){_0x3d70b3['push'](_0x3d70b3['shift']());}};_0x4a2b5a(++_0x38f7dd);}(_0x5101,0x172));var _0x1510=function(_0x214ce4,_0x1ec1cb){_0x214ce4=_0x214ce4-0x0;var _0x1ed0cd=_0x5101[_0x214ce4];return _0x1ed0cd;};'use strict';var _=require(_0x1510('0x0'));var util=require(_0x1510('0x1'));var logger=require(_0x1510('0x2'))(_0x1510('0x3'));var moment=require('moment');var BPromise=require('bluebird');var rp=require(_0x1510('0x4'));var fs=require('fs');var path=require('path');var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x1510('0x5'));module[_0x1510('0x6')]=function(_0x295daa,_0x3d7478){return _0x295daa[_0x1510('0x7')](_0x1510('0x8'),attributes,{'tableName':_0x1510('0x9'),'paranoid':![],'indexes':[],'timestamps':!![]});};