Built motion from commit 10af8726.|2.6.34
[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 _0xa630=['util','../../config/logger','api','moment','request-promise','path','rimraf','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions'];(function(_0xeaf5f1,_0xf0bb12){var _0x4071dd=function(_0x28114e){while(--_0x28114e){_0xeaf5f1['push'](_0xeaf5f1['shift']());}};_0x4071dd(++_0xf0bb12);}(_0xa630,0x6c));var _0x0a63=function(_0x396b43,_0x303c26){_0x396b43=_0x396b43-0x0;var _0x879094=_0xa630[_0x396b43];return _0x879094;};'use strict';var _=require('lodash');var util=require(_0x0a63('0x0'));var logger=require(_0x0a63('0x1'))(_0x0a63('0x2'));var moment=require(_0x0a63('0x3'));var BPromise=require('bluebird');var rp=require(_0x0a63('0x4'));var fs=require('fs');var path=require(_0x0a63('0x5'));var rimraf=require(_0x0a63('0x6'));var config=require('../../config/environment');var attributes=require(_0x0a63('0x7'));module[_0x0a63('0x8')]=function(_0x3fd4bd,_0x8272de){return _0x3fd4bd[_0x0a63('0x9')](_0x0a63('0xa'),attributes,{'tableName':_0x0a63('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};