Built motion from commit 1fd437e9.|2.6.19
[motion2.git] / server / api / jscriptyAnswerReport / jscriptyAnswerReport.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 _0x022e=['bluebird','request-promise','path','rimraf','./jscriptyAnswerReport.attributes','exports','define','JscriptyAnswerReport','report_jscripty_answers','lodash','util','../../config/logger','api'];(function(_0x38bda1,_0x5472be){var _0x57dc98=function(_0x574cad){while(--_0x574cad){_0x38bda1['push'](_0x38bda1['shift']());}};_0x57dc98(++_0x5472be);}(_0x022e,0x11a));var _0xe022=function(_0x4c6d6f,_0x291557){_0x4c6d6f=_0x4c6d6f-0x0;var _0x2d4478=_0x022e[_0x4c6d6f];return _0x2d4478;};'use strict';var _=require(_0xe022('0x0'));var util=require(_0xe022('0x1'));var logger=require(_0xe022('0x2'))(_0xe022('0x3'));var moment=require('moment');var BPromise=require(_0xe022('0x4'));var rp=require(_0xe022('0x5'));var fs=require('fs');var path=require(_0xe022('0x6'));var rimraf=require(_0xe022('0x7'));var config=require('../../config/environment');var attributes=require(_0xe022('0x8'));module[_0xe022('0x9')]=function(_0x2be152,_0x2141e0){return _0x2be152[_0xe022('0xa')](_0xe022('0xb'),attributes,{'tableName':_0xe022('0xc'),'paranoid':![],'indexes':[],'timestamps':!![]});};