Built motion from commit 1fa89557.|2.6.10
[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 _0xd4ae=['../../config/environment','./jscriptyQuestionReport.attributes','exports','define','JscriptyQuestionReport','report_jscripty_questions','util','../../config/logger','api','moment','bluebird','rimraf'];(function(_0x295bc0,_0x1903af){var _0x300115=function(_0x3e8f8e){while(--_0x3e8f8e){_0x295bc0['push'](_0x295bc0['shift']());}};_0x300115(++_0x1903af);}(_0xd4ae,0x126));var _0xed4a=function(_0x4b13f0,_0x1273df){_0x4b13f0=_0x4b13f0-0x0;var _0x2a1955=_0xd4ae[_0x4b13f0];return _0x2a1955;};'use strict';var _=require('lodash');var util=require(_0xed4a('0x0'));var logger=require(_0xed4a('0x1'))(_0xed4a('0x2'));var moment=require(_0xed4a('0x3'));var BPromise=require(_0xed4a('0x4'));var rp=require('request-promise');var fs=require('fs');var path=require('path');var rimraf=require(_0xed4a('0x5'));var config=require(_0xed4a('0x6'));var attributes=require(_0xed4a('0x7'));module[_0xed4a('0x8')]=function(_0x4e9f63,_0x148609){return _0x4e9f63[_0xed4a('0x9')](_0xed4a('0xa'),attributes,{'tableName':_0xed4a('0xb'),'paranoid':![],'indexes':[],'timestamps':!![]});};