Built motion from commit 092f8824.|2.5.49
[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 _0xe748=['JscriptyQuestionReport','report_jscripty_questions','util','../../config/logger','api','bluebird','request-promise','path','./jscriptyQuestionReport.attributes','exports','define'];(function(_0x3e847e,_0x221d43){var _0x41abc1=function(_0x2e183e){while(--_0x2e183e){_0x3e847e['push'](_0x3e847e['shift']());}};_0x41abc1(++_0x221d43);}(_0xe748,0x12b));var _0x8e74=function(_0x312db1,_0x5e3903){_0x312db1=_0x312db1-0x0;var _0x5c6c7e=_0xe748[_0x312db1];return _0x5c6c7e;};'use strict';var _=require('lodash');var util=require(_0x8e74('0x0'));var logger=require(_0x8e74('0x1'))(_0x8e74('0x2'));var moment=require('moment');var BPromise=require(_0x8e74('0x3'));var rp=require(_0x8e74('0x4'));var fs=require('fs');var path=require(_0x8e74('0x5'));var rimraf=require('rimraf');var config=require('../../config/environment');var attributes=require(_0x8e74('0x6'));module[_0x8e74('0x7')]=function(_0x1702ec,_0x339c5f){return _0x1702ec[_0x8e74('0x8')](_0x8e74('0x9'),attributes,{'tableName':_0x8e74('0xa'),'paranoid':![],'indexes':[],'timestamps':!![]});};